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:47:10 -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/t12199312322mjdvmjjjew7n8i.htm/, Retrieved Tue, 14 May 2024 15:09:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14271, Retrieved Tue, 14 May 2024 15:09:55 +0000
QR Codes:

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

Post a new message
Dataseries X:
0.772324676351221
-0.118285731886581
-0.489668945339893
0.339124156051952
0.876969891766763
-1.52070460452425
0.332668919022689
-0.390569342278359
-0.469844929764946
1.2467601601567
Dataseries Y:
0.694287692429498
0.0803641909733415
0.191098025534302
0.481206205440685
0.305449392879382
0.0390733082313091
0.361321421107277
0.277079441584647
0.895677434280515
0.734503590967506
Dataseries Z:
0.295488822972784
-1.12146096182602
-0.0594779716048076
-0.394598589646151
-1.42404883034815
-1.68051068975964
1.18348893119889
-0.0365913615480989
-0.108804784146589
-1.45659697274568
> 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.5046931
[1] 0.07143462
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))
}