Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software ModuleRscript (source code is shown below)
Title produced by softwareR console
Date of computationThu, 25 Aug 2011 04:19:33 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Aug/25/t1314260373q58p0v0646i1a09.htm/, Retrieved Wed, 15 May 2024 10:07:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=124241, Retrieved Wed, 15 May 2024 10:07:49 +0000
QR Codes:

Original text written by user:this is a test for UI teaching
IsPrivate?No (this computation is public)
User-defined keywordsUI blog test
Estimated Impact234
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F       [R console] [UI test phase 01] [2011-08-25 08:19:33] [256f657a32c6b2b7628dddcfa9a822d0] [Current]
Feedback Forum
2011-08-25 08:28:17 [ UseR user] [reply
This function looks tidy and very helpful indeed... bla bla bla... testmessage

Post a new message
> x
 [1]  1  2  3  4  5  6  7  8  9 10


> {
+     for (i in 1:length(x)) {
+         if (i > 5) 
+             print('sorry, x must be smaller than 5')
+         else print('well done, you h ...' ... [TRUNCATED] 
[1] 'well done, you hit the nail on its head'
[1] 'well done, you hit the nail on its head'
[1] 'well done, you hit the nail on its head'
[1] 'well done, you hit the nail on its head'
[1] 'well done, you hit the nail on its head'
[1] 'sorry, x must be smaller than 5'
[1] 'sorry, x must be smaller than 5'
[1] 'sorry, x must be smaller than 5'
[1] 'sorry, x must be smaller than 5'
[1] 'sorry, x must be smaller than 5'

Parameters (Session):
par1 = NA ;
Parameters (R input):
R code (body of R function):
{
for (i in 1:length(par1)) {
if (i > 5)
print("sorry, par1 must be smaller than 5")
else print("well done, you hit the nail on its head")
}
}