search for: ld_stratanew

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

2009 Dec 08
2
could not find function lapply<-
R-help, I have a list whose elements are data frames. I want to change the colnames attribute in each element of this list but an error message comes up: > lapply(LD_strataNew,function(x) dimnames(x)[[2]][-1]) <- as.roman(1:9)[-6] Error in lapply(LD_strataNew, function(x) dimnames(x)[[2]][-1]) <- as.roman(1:9)[-6] : could not find function "lapply<-" > lapply(LD_strataNew,function(x) dimnames(x)[[2]]) $`1996` [1] "lgdcm" "X1&quot...