View source: R/01-vec_character.R
na_standard | R Documentation |
针对df进行标准化处理
na_standard(df)
df |
数据框df |
返回值
na_standard()
data = data.frame(a=c('a','b','c',NA_character_,'e'),
b=c(1:4,NA_integer_),
c=c('a',NA_character_,'c','d','e'),
d=c(NA_real_,1.2,1.3,1.4,1.5),stringsAsFactors = F)
data = na_standard(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.