Skip to content
Prev 260197 / 398502 Next

subsetting a list of dataframes

On May 17, 2011, at 7:13 PM, Lara Poplarski wrote:

            
Read the lapply( ...)  call as:

"For every element in the object named `data`, send that element to a  
function that returns TRUE if its first dimension is greater than one,  
returns FALSE if its first dimension is one, and return nothing  
(actually a vector with zero elements) if it doesn't have a (first)  
"dim" attribute, and finally return the ordered collection of those  
values as a list which is assigned the name 'entries.with.nrows'. "
David Winsemius, MD
Heritage Laboratories
West Hartford, CT