Skip to content

Commit 2515984

Browse files
Error in README.md example code
1 parent 8ff82c1 commit 2515984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Below is a simple example of RinRuby usage for simple linear regression. The sim
3939
est <- round(coef(fit),3)
4040
pvalue <- summary(fit)$coefficients[2,4]
4141
EOF
42-
puts "E(y|x) ~= {R.est[0]} + {R.est[1]} * x"
42+
puts "E(y|x) ~= #{R.est[0]} + #{R.est[1]} * x"
4343
if R.pvalue < alpha
4444
puts "Reject the null hypothesis and conclude that x and y are related."
4545
else

0 commit comments

Comments
 (0)