Andreas.Weingessel@ci.tuwien.ac.at
2000-Jan-27 17:47 UTC
NA not printed after table (PR#407)
In the following example, the NA is not printed. x <- c(1,2,3,2,1) y <- table(x) z <- list(a=y,b=NA) z yields $a x 1 2 3 2 2 1 $b [1] ^^^^ no NA here! or z <- list(a=y,d=2,b=c(1,NA,2)) R> z $a x 1 2 3 2 2 1 $d [1] 2 $b [1] 1 2 This seems to happen only, if an object of class "table" precedes an NA in a list. --please do not edit the information below-- Version: platform = i686-unknown-linux arch = i686 os = linux system = i686, linux status = Under development (unstable) major = 0 minor = 99.0 year = 2000 month = January day = 3 language = R Search Path: .GlobalEnv, Autoloads, package:base -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._