Dear all I have wrote the following line
return(as.vector(lapply(as.data.frame(data),min,simplify=TRUE)));
I want the lapply to return a vector as it returns a list with elements as
shown below
List of 30001
$ V1: num -131
$ V2: num -131
$ V3: num -137
$ V4: num -129
$ V5
do.call(rbind, lapply(...))
HTH,
D.
On Sat, Oct 22, 2011 at 1:44 AM, Alaios ala...@yahoo.com wrote:
Dear all I have wrote the following line
return(as.vector(lapply(as.data.frame(data),min,simplify=TRUE)));
I want the lapply to return a vector as it returns a list with elements as
shown
2 matches
Mail list logo