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 07:00:12 -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/t1220014813vdlhsnfcy6tov1b.htm/, Retrieved Thu, 16 May 2024 01:47:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14286, Retrieved Thu, 16 May 2024 01:47:42 +0000
QR Codes:

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

Post a new message
Dataseries X:
0.769812008574325
-0.570965305627558
-1.60042433547903
-1.41897496620881
0.232351205575535
2.31615441297124
0.429177077432713
-0.213201341312549
-2.10321797565043
0.608910752556689
Dataseries Y:
NA
NA
NA
Dataseries Z:
NA
NA
NA
> 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.7698120  2.3161544
[2,] -0.5709653  0.4291771
[3,] -1.6004243 -0.2132013
[4,] -1.4189750 -2.1032180
[5,]  0.2323512  0.6089108
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)
}