Skip to content

Commit

Permalink
Remove codewriter
Browse files Browse the repository at this point in the history
  • Loading branch information
rbotafogo committed Mar 14, 2016
1 parent b669578 commit 0398dff
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions test/test_matrix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@

require '../config' if @platform == nil
require 'scicom'
require '../../CodeWriter/lib/codewriter'

class SciComTest < Test::Unit::TestCase
include Markdown

context "R environment" do

Expand All @@ -43,7 +41,7 @@ class SciComTest < Test::Unit::TestCase
#--------------------------------------------------------------------------------------

setup do
set_output

end

#--------------------------------------------------------------------------------------
Expand All @@ -52,12 +50,9 @@ class SciComTest < Test::Unit::TestCase

should "create matrix with the matrix function" do

body(<<-EOT)
R provides numeric row and column names (e.g., [1,] is the first row, [,4] is the
fourth column, but it is useful to label the rows and columns to make the rows
(subjects) and columns (variables) distinction more obvious.
EOT

# R provides numeric row and column names (e.g., [1,] is the first row, [,4] is the
# fourth column, but it is useful to label the rows and columns to make the rows
# (subjects) and columns (variables) distinction more obvious.
xij = R.matrix(R.seq(1..40), ncol: 4)

# method fassign is used whenever in R there would be a function assignment such as,
Expand Down

0 comments on commit 0398dff

Please sign in to comment.