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 05:25:29 -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/t12200091303fxdef63s330i5w.htm/, Retrieved Wed, 15 May 2024 03:55:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14283, Retrieved Wed, 15 May 2024 03:55:07 +0000
QR Codes:

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

Post a new message
Dataseries X:
-0.119874656752865
-1.12834063700115
0.583724027206254
1.73695930016974
0.586699072198714
0.475732293906341
-0.670009961987214
2.05292234196236
0.346841776336768
-0.914111023084948
Dataseries Y:
0.359578809235245
0.459966105641797
0.55174800590612
0.627527702366933
0.946774590294808
0.0988155771046877
0.734290529740974
0.715541974175721
0.67445228737779
0.910161515930668
Dataseries Z:
1.71325062387524
1.341291174324
-0.637000139024174
0.162395518189918
0.920691952976967
-0.399394638578958
0.0465811482842244
0.269252464210224
0.339776945563065
-0.0101194017044254
> 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.1198747 -1.1283406  0.5837240  1.7369593  0.5866991  0.4757323
 [7] -0.6700100  2.0529223  0.3468418 -0.9141110
[1] 0.01564473
[1] -0.2724288
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)
print(cor(x, y))
print(cor(x, z))
}