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:49: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/t1219931399vyq2ftdtzn3br6x.htm/, Retrieved Tue, 14 May 2024 13:14:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14272, Retrieved Tue, 14 May 2024 13:14:11 +0000
QR Codes:

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

Post a new message
Dataseries X:
-0.721766818370886
-0.299073828613873
-1.82589989788284
0.489249791819161
0.237204623239042
1.43677004797215
-0.619947573324573
-1.31509444144395
1.18178435551311
-2.02729226378099
Dataseries Y:
0.273386010667309
0.927892854204401
0.982429224997759
0.189532818738371
0.40787949715741
0.0306004239246249
0.215772019699216
0.548593695973977
0.637147127185017
0.575897062662989
Dataseries Z:
0.315878554814958
-0.826206093466453
0.563196107306315
0.402957158189398
-0.194749408091723
-0.227784361807344
-0.860567547711328
-2.08545173048121
-0.206349107828602
0.674455514603517
> 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.4875602
[1] -0.04091096
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))
}