Dear List, I have an atomic vector named "Results"
Results [1] 1 1 1 attr(,"prob") [1] 0.6666667 1.0000000 1.0000000 Levels: 0 1 when I type attributes(Results) $levels [1] "0" "1" $class [1] "factor" $prob [1] 0.6666667 1.0000000 1.0000000 However, when I type Results$prob It has the following warning message: NULL Warning message: In Results$prob : $ operator is invalid for atomic vectors, returning NULL I've been doing some search and seems that this question was asked by someone before and I can not seem to find a solution to extract the value from the atomic vector, could somebody help me with this? Thanks a lot! Jack [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.