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:58 -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/t1219931519hsc2fgsrvav2d1r.htm/, Retrieved Tue, 14 May 2024 12:06:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14276, Retrieved Tue, 14 May 2024 12:06:29 +0000
QR Codes:

Original text written by user:no comments
IsPrivate?No (this computation is public)
User-defined keywordskey1,key2
Estimated Impact249
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:58] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.104595845899446
-2.10708068462813
-0.629466376451522
-0.704690086905989
-0.445248535293034
-1.59575466670341
-0.756620664381132
-0.399818732235939
-0.499598446330554
-0.363334237442663
Dataseries Y:
0.955798844341189
0.593559897039086
0.574072397546843
0.127942199120298
0.557252597995102
0.085375614464283
0.524733632337302
0.229880137369037
0.595152465160936
0.434195396956056
Dataseries Z:
0.843195007549582
0.313872129333011
-0.780005457164369
1.22049966928023
-0.600857784510175
1.93718549134827
1.36341374827420
-0.49755339738707
1.14033457498719
1.33425144440530
> 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.3504974
[1] -0.1821784
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))
}