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 computationFri, 29 Aug 2008 06:51:32 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Aug/29/t12200142940gzbjpsqsbxy87z.htm/, Retrieved Thu, 16 May 2024 00:51:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14285, Retrieved Thu, 16 May 2024 00:51:07 +0000
QR Codes:

Original text written by user:no comments
IsPrivate?No (this computation is public)
User-defined keywordskey1,key2
Estimated Impact269
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [R console] [my R test (array ...] [2008-08-29 12:51:32] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
-0.555887240938178
0.860351713083122
-0.337790654522138
-0.505135892451404
-2.04630563515489
0.61709309475881
-0.95690916694389
2.22394299710535
0.238926557736385
-0.562579252016353
Dataseries Y:
NA
NA
NA
Dataseries Z:
NA
NA
NA
> first_number = 5

> second_number = 7

> strpar = 'hello'

> {
+     myfun <- function(x, y) {
+             x + y
+         }
+ 
+     print(myfun(first_number, second_number))
+     print(strpar)
+     print .... [TRUNCATED] 
[1] 12
[1] 'hello'
           [,1]       [,2]
[1,] -0.5558872  0.6170931
[2,]  0.8603517 -0.9569092
[3,] -0.3377907  2.2239430
[4,] -0.5051359  0.2389266
[5,] -2.0463056 -0.5625793
Parameters (Session):
par1 = 5 ; par2 = 7 ; par3 = hello ;
Parameters (R input):
R code (body of R function):
{
myfun <- function(x, y) {
x + y
}
print(myfun(par1, par2))
print(par3)
print(x)
}