View source: R/blank.fill.transform.R
blank.fill.transform | R Documentation |
Fill or clear catogies content in a data.frame.
blank.fill.transform(dat,add.blank=FALSE)
dat |
a data.frame
add.blank |
the default is filling catogies content. If the arugment is TRUE, it will clear catogies content.
data(leaflife,package='smatr')
library(plyr)
d <- cbind(catcolwise(as.character)(leaflife),numcolwise(as.numeric)(leaflife))
d2 <- blank.fill.transform(d,T)
blank.fill.transform(d2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.