Displaying 6 results from an estimated 6 matches for "mefa".
Did you mean:
defa
2011 Aug 02
1
'data.frame' method for base::rep()
...gth
[1] 1.4
$Petal.Width
[1] 0.2
$Species
[1] setosa
Levels: setosa versicolor virginica
$Sepal.Length
[1] 5.1
$Sepal.Width
[1] 3.5
$Petal.Length
[1] 1.4
$Petal.Width
[1] 0.2
$Species
[1] setosa
Levels: setosa versicolor virginica
I found a 'rep.data.frame' function in package 'mefa' [2], but I think
it would be nice to have it in base R. In any case, the code used by
the method is very simple.
> require(mefa)
Loading required package: mefa
mefa 3.2-1 2011-05-13
> mefa:::rep.data.frame
function (x, ...)
as.data.frame(lapply(x, rep, ...))
<environment: namespace:...
2009 Feb 25
0
mefa 3.0-0
Dear R Community,
I am pleased to announce that a new version of the mefa R package is
available at the CRAN.
mefa is a package for multivariate data handling in ecology and
biogeography. It provides object classes to represent the data coded
by samples, taxa and segments (i.e., subpopulations, repeated
measures). It supports easy processing of the data along with
relat...
2009 Feb 25
0
mefa 3.0-0
Dear R Community,
I am pleased to announce that a new version of the mefa R package is
available at the CRAN.
mefa is a package for multivariate data handling in ecology and
biogeography. It provides object classes to represent the data coded
by samples, taxa and segments (i.e., subpopulations, repeated
measures). It supports easy processing of the data along with
relat...
2012 Aug 08
3
Outer product from matrix by row and a vector
...e when applying the outer product with a matrix by rows.
What I have is a rather big matrix, which I would like to convert into a different matrix by doing something like
outer(matrix_row, vector, function(x,y) x[1]+5*x[4]/y)
In order to get there, I tried to get the matrix into a list using the mefa package, as subsetting the original data appears too complicated. However, if I apply the following code I always get a dimensional error, as the unlist() function is applied to the whole list.
library(mefa)
a<-matrix(c(1:6),ncol=3)
b<-c(1,2,3,4)
a<-mat2list(a,MARGIN=1)
outer(a,b,functio...
2011 Jul 21
0
add label attribute to objects?
....4 1.3 1.5 1.4 1.7 1.4 1.5 1.4 1.5 ...
$ Petal.Width : num 0.2 0.2 0.2 0.2 0.2 0.4 0.3 0.2 0.2 0.1 ...
$ Species : Factor w/ 3 levels "setosa","versicolor",..: 1 1 1 1
1 1 1 1 1 1 ...
- attr(*, "label")= chr "some random comment"
I've also found mefa::label(), which actually does what it advertises,
but as 'label' in Hmisc it has one significant drawback: "Inheritance
is not implemented, so by any transformation of the object into
another one, the label is lost."
> #works fine on vectors, but loses the label upon conversion...
2009 Sep 27
3
CRAN (and crantastic) updates this week
...), dirmult (0.1.2), DoE.base (0.9-4), earth
(2.3-4), epicalc (2.9.2.2), fields (6.01), fishmethods (1.0-1),
Formula (0.2-0), frontier (0.995-2), frontier (0.995-6), GWAF (1.1),
HyperbolicDist (0.6-2), impute (1.18.0), integrOmics (2.4), klaR
(0.6-0), languageR (0.955), mboost (1.1-3), mcmc (0.7-2), mefa
(3.1-2), mhsmm (0.3.1), MLCM (0.0-3), MNP (2.6-1), modTempEff (1.1),
mstate (0.2.2), NeatMap (0.3.1), nFactors (2.3), nplplot (4.4),
OAIHarvester (0.0-6), OjaNP (0.9-3), party (0.9-999), pcalg (0.1-9),
phmm (0.6.1), plm (1.2-0), pomp (0.25-4), QCA (0.6-2), qpcR (1.2-2),
R.huge (0.1.9), RcmdrPlugin....