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, 28 Aug 2008 07:51:05 -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/28/t12199314669lt656eww85spu8.htm/, Retrieved Tue, 14 May 2024 00:25:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14274, Retrieved Tue, 14 May 2024 00:25:38 +0000
QR Codes:

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

Post a new message
Dataseries X:
-1.40629267910039
0.185992944217821
0.270402882550215
0.358651647009858
0.774411548942888
0.907686092023382
0.847524358815349
0.948409716995237
-1.04193280119247
-0.493303012978494
Dataseries Y:
0.763717761263251
0.995251145912334
0.550940311979502
0.775394849246368
0.811024195048958
0.125608870992437
0.0114035799633712
0.910601081326604
0.000581508968025446
0.699264174792916
Dataseries Z:
-1.25542991632764
1.15430561019942
0.232414947921509
0.468204198503875
-1.01598283145060
0.133451542773246
-0.489744392434325
1.01147645574277
1.31670318906833
1.57724918265546
> 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] 0.01575758
[1] -0.06470377
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(cor(x, y))
print(cor(x, z))
}