search for: listdata

Displaying 4 results from an estimated 4 matches for "listdata".

Did you mean: lastdata
2009 Jul 23
3
How to perform a calculation in each element of my list?
Hi R-helpers, I have a list containing 10 elements, each of which is a dataframe. I wish to add a new column to each list element (dataframe) containing the product of the last two columns of each dataframe. I'd appreciate any pointers, thanks! Mark Na [[alternative HTML version deleted]]
2006 Feb 12
1
R: mean from list
great!! thanks very much, mean(unlist(lapply(listdata, function(z) z$c))) works well. and what about getting the average table $a (displaying the average elements across all 1000 matrix)? could you please help me? I am struggling with this... thanks in advance Roberto mean(unlist(lapply(x, function(z) z$d))) should do the trick On Sun, 12 Feb 200...
2013 Feb 06
0
slotName defined in object, present in instance, but inaccessible [SCL:4]
...<- occupancy(pooledMethSegs) R> plotOccupancy(foo) Error in slot(object, "states") : no slot of name "states" for this object of class "Occupancy" R> slotNames(foo) [1] "states" "rownames" "nrows" "listData" [5] "elementType" "elementMetadata" "metadata" R> foo@states Error: no slot of name "states" for this object of class "Occupancy" Any ideas as to what's going on here? R> sessionInfo() R Under development (unstable) (2013-01-...
2013 Feb 06
0
slotName defined in object, present in instance, but inaccessible [SCL:4]
...<- occupancy(pooledMethSegs) R> plotOccupancy(foo) Error in slot(object, "states") : no slot of name "states" for this object of class "Occupancy" R> slotNames(foo) [1] "states" "rownames" "nrows" "listData" [5] "elementType" "elementMetadata" "metadata" R> foo@states Error: no slot of name "states" for this object of class "Occupancy" Any ideas as to what's going on here? R> sessionInfo() R Under development (unstable) (2013-01-...