Skip to content

Commit

Permalink
Merge pull request #2 from fguillen/patch-2
Browse files Browse the repository at this point in the history
Update README.txt
  • Loading branch information
cole-christensen committed Dec 20, 2013
2 parents f681f4e + cc3cb43 commit 49a537f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Below is a simple example of RinRuby usage for simple linear regression. The sim
R.x = (1..n).entries
R.eval <<EOF
set.seed(#{seed})
y <- {beta_0} + {beta_1}*x + rnorm({n})
y <- #{beta_0} + #{beta_1}*x + rnorm(#{n})
fit <- lm( y ~ x )
est <- round(coef(fit),3)
pvalue <- summary(fit)$coefficients[2,4]
Expand Down

0 comments on commit 49a537f

Please sign in to comment.