Dear R members,
I have a quite large of function that are named like that
f11,f12,...f15
f21,f22,...f25
..
f51,f52,...f52
These are static (hard-coded) functions that the only common they have is that
they take the same number and type of input fij(a,b,c,d). As you might
understand this is
Seems funny to me:
f - list (mean, sd, median, sum)
dim (f) - c (2, 2)
or in one line:
f - structure (.Data=list (mean, sd, median, sum), dim = c(2,2))
f
[,1] [,2]
[1,] ??
[2,] ??
f [1,1]
[[1]]
function (x, ...)
UseMethod(mean)
environment: namespace:base
f [[1,1]] (1:3)
[1]
2011 16:33
To: R-help@r-project.org
Subject: [R] Matrix' with Functions
Dear R members,
I have a quite large of function that are named like that
f11,f12,...f15
f21,f22,...f25
..
f51,f52,...f52
These are static (hard-coded) functions that the only common they have is that
they take the same number
-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Alaios
Sent: 03 February 2011 16:33
To: R-help@r-project.org
Subject: [R] Matrix' with Functions
Dear R members,
I have a quite large of function that are named like that
f11,f12,...f15
f21,f22,...f25
To: R-help@r-project.org
Subject: [R] Matrix' with Functions
Dear R members,
I have a quite large of function that are named like that
f11,f12,...f15
f21,f22,...f25
..
f51,f52,...f52
These are static (hard-coded) functions that the only common they have is
that they take the same number
Dear all,
I would like to thank you for your contribution.
I think I got more that one good solutions to work on.
Best Regards
Alex
--- On Thu, 2/3/11, Bert Gunter gunter.ber...@gene.com wrote:
From: Bert Gunter gunter.ber...@gene.com
Subject: Re: [R] Matrix' with Functions
To: Samuel Le samuel
6 matches
Mail list logo