search for: transfortm

Displaying 1 result from an estimated 1 matches for "transfortm".

Did you mean: transform
2002 Jun 13
2
Summary: recursion over list
...s with comments: - lapply allows the user to apply a function on all the items of a list, supposing this is a list with a unique depth (like: mylist<-list(a=1,b=1:2,c=1:100,d=rnorm(10))). You can't use lapply for deepest lists. - unlist basically turns any list into a vector, trying to transfortm any element into atomics then concatenating all those elements (according to my understanding). The option "recursive' can be set to false so that only first rank (depth) objects are treated this way. This function wasn't suiting me, as it turns matrix into vectors. - John Fox sen...