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

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

Post a new message
Dataseries X:
-1.02664700129383
0.199514067328658
-1.05583751661380
-0.482429676401859
-0.465099731658896
1.37546482886012
1.52457328791081
0.130188680124243
-0.320466391822800
1.02491262226725
Dataseries Y:
0.826828035060316
0.0852710583712906
0.89692272990942
0.219960328191519
0.791030331049114
0.0836610624101013
0.435006609652191
0.781526442850009
0.0229994505643845
0.440148478839546
Dataseries Z:
-0.62413728217697
0.0975413290723946
0.153842602074936
-2.32596823305562
1.15174235630683
1.02624018993694
0.967908048688467
-0.997021000056694
-0.184821586645282
0.436948327121925
> 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.4602845
[1] 0.4817814
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))
}