[R] Simple question on replace a matrix row

David Winsemius dwinsemius at comcast.net
Sat Jan 30 01:00:10 CET 2010


On Jan 29, 2010, at 6:53 PM, anna wrote:

>
> Well I just tried to convert it with data.frame and then data.matrix  
> and it
> returned me a numeric vector but I am not done yet, let's see if it  
> works,
> if it doesn't I will try sapply. I think I didn't use sapply because  
> the
> vectors I am using in lapply are of different lengths.

You really ought to make an effort to test you data structures and  
operations with compact, simple examples first.

>
> -----
> Anna Lippel
> -- 


David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-help mailing list