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 computationSat, 30 Aug 2008 05:59:40 -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/30/t1220097582cd8kgkeoyje4i0s.htm/, Retrieved Wed, 15 May 2024 11:09:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14292, Retrieved Wed, 15 May 2024 11:09:34 +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 (plot 1...] [2008-08-30 11:59:40] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
-0.399554488609473	0.295223545985601
1.90001333734246	-0.46913596631342
-0.816769722259723	-0.123957264563073
1.51802443338371	-1.55210636856672
0.50768499386623	0.537321686442488
> 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]       [,2]
[1,] -0.3995545  0.2952235
[2,]  1.9000133 -0.4691360
[3,] -0.8167697 -0.1239573
[4,]  1.5180244 -1.5521064
[5,]  0.5076850  0.5373217
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)
plot(x)
}