Displaying 2 results from an estimated 2 matches for "listofmatrices".
2012 Jan 27
1
repeat function for entire list of matrices
...package. my
problem is that i have a list of 10,000 matrices and i want the output to be
a vector of the nested() function on each of the 10,000 matrices (so i can
use these numbers in a statistical test).
here is what i'm working with currently:
#to store 10,000 matrices of null.distr() in listofmatrices
listofmatrices <- null.distr(10000,matrix_here,distr="lognormal")
#to select nth matrix from listofmatrices
nested(listofmatrices [[n]],method="binmatnest2")
so this give me an output for that one matrix i selected. i want to
calculate the nested() value for ALL the matric...
2008 Sep 10
6
request: most repeated component of a list
Dear R community
I have stored the results of arrays in a list consist of J-components (say 200 components). Each component containing same no of columns but may be different no of rows. e.g
[[1]]
[,1] [,2] [,3] [,4] [,5]
[1,] 4 0 0 0 0
[2,] 4 3 4 0 0
[3,] 4 3 4 0 0
[4,] 4 3 0 0 0
[[2]]
[,1] [,2] [,3] [,4] [,5]