Description Usage Arguments Examples
Removes columns with only 0 values.
1
omit_zero_cols(tmpfile)
tmpfile
A dataframe.
1 2 3
a=data.frame(rnorm(10),rep(NA,10),rpois(10,2),c(rep(NA,4),0,0,rep(NA,4)),c(rep(NA,4),1,2,rep(NA,4)),rep(0,10)) print(a) print(omit_zero_cols(a))
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.