Re: [R] struggling with pairlists

2009-03-20 Thread Wacek Kusnierczyk
mau...@alice.it wrote: > I would like to create a vector of pairlist (flag, binary_value) like: > > (variable ="TrendOff", value = 0) > (variable ="MOdwt",value = 1) > (variable ? "ZeroPadding", value =1) > > > I tried the followin

Re: [R] struggling with pairlists

2009-03-20 Thread jim holtman
It was not clear what you were asking for. Did you want a 'list' of 'lists' pairs? What are you going to use the data for? How are you expecting to access it? This will create a list similar to: z <- list(list(variable="TrendOff", value=0), list(... > flags_val <- c( 0,1,1,1,4,1,1,1,4,1,

[R] struggling with pairlists

2009-03-20 Thread mauede
I would like to create a vector of pairlist (flag, binary_value) like: (variable ="TrendOff", value = 0) (variable ="MOdwt",value = 1) (variable ? "ZeroPadding", value =1) I tried the following syntax but the emcompassing list (t