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 computationSun, 31 Aug 2008 10:27:17 -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/31/t1220200038fae5nkesjd36s0u.htm/, Retrieved Tue, 14 May 2024 23:24:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14298, Retrieved Tue, 14 May 2024 23:24:29 +0000
QR Codes:

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

Post a new message
Dataseries X:
1.54543899298254	-1.10005879321768
-1.74576422473763	0.181860311443919
-1.18834585046649	-0.552528180976819
1.62183867079856	-1.15442126459426
-0.59449330616851	1.64015480032560
> 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,]  1.5454390 -1.1000588
[2,] -1.7457642  0.1818603
[3,] -1.1883459 -0.5525282
[4,]  1.6218387 -1.1544213
[5,] -0.5944933  1.6401548
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, main = "main title", xlab = "my xlab",
ylab = "my ylab")
}