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:36 -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/t1219931498vl8giz24cxifl95.htm/, Retrieved Tue, 14 May 2024 21:42:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14275, Retrieved Tue, 14 May 2024 21:42:46 +0000
QR Codes:

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

Post a new message
Dataseries X:
0.716808353056098
0.433180690406132
1.20240531833976
0.847710591003034
0.962337016063063
-0.122714785211401
1.55717013925592
-0.245611367931599
0.63838920366601
-0.596748876828619
Dataseries Y:
0.706486533395946
0.556398828048259
0.145150447031483
0.00180082046426833
0.864171338500455
0.276629209052771
0.996717209229246
0.647386235650629
0.431456605438143
0.91297718603164
Dataseries Z:
-0.435544628432565
-1.08462832834659
-0.149402588292441
0.920588995104971
-1.53961101041626
0.873691745851105
-0.532573161608128
-0.393069965858393
-0.478908815555656
0.644026631321589
> 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.06933054
[1] -0.4056099
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))
}