powered by
Called from table1 by default to render missing (i.e. NA) values for displaying in the table.
table1
NA
render.missing.default(x, ...)
A vector.
Further arguments, passed to stats.apply.rounding.
stats.apply.rounding
A character vector. Each element is to be displayed in a separate cell in the table. The names of the vector are the labels to use in the table. Empty strings are allowed and result in empty table cells.
character
names
# NOT RUN { y <- factor(sample(0:1, 99, replace=TRUE), labels=c("Female", "Male")) y[1:10] <- NA render.missing.default(y) # }
Run the code above in your browser using DataLab