📄 impute.rd
字号:
\name{impute}\alias{impute}\title{Replace Missing Values}\usage{impute(x, what="median")}\arguments{ \item{x}{A matrix or dataframe.} \item{what}{What to impute.}}\description{ Replaces missing values of a matrix or dataframe with the medians (\code{what="median"}) or means (\code{what="mean"}) of the respective columns.}\value{ A matrix or dataframe.}\author{Friedrich Leisch}\examples{x<- matrix(1:10, ncol=2)x[c(1,3,7)] <- NAprint(x)print(impute(x))}\keyword{manip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -