search for: sl_err

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

Did you mean: sk_err
2012 Jun 30
3
Accessing named members of a list in an array
Dear List, I've created a two-dimensional array which shall contain a value and its error, respectively. These two values are concatenated in al list and bear the names "sl" and "sl_err" But I can't adress them using the $-notation. a<- array(list(NULL),dim=c(2,2)) a[[1,1]]<- c(a=2,b=3) a[[1,1]]$a ## Fehler in a[[1, 1]]$a : $ operator is invalid for atomic vectors a[[1,1]]["a"] # This works however. ## a ## 2 I always thought these two methods of...