From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Jonathan Greenberg
> Sent: Thursday, January 28, 2010 2:03 PM
> To: r-help
> Subject: [R] Data frame of different sized lists in a function call
>
> I'm hoping to get some "best pra
On Jan 28, 2010, at 4:03 PM, Jonathan Greenberg wrote:
list1=c(1:10) # neither of which really are lists
list2=c(2:4)
lists = list(list1,list2) $ a list of two vectors.
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
__
R-help@r-proj
I'm hoping to get some "best practice" feedback for constructing a
function call which takes an undefined set of DIFFERENT length vectors
-- e.g. say we have two lists:
list1=c(1:10)
list2=c(2:4)
lists = data.frame(list1,list2) coerces those two to be the same length
(recycling list2 to fill
3 matches
Mail list logo