| fast_apply_sd_na_rm_T {imp4p} | R Documentation |
apply(X,dim,sd,na.rm=TRUE).
This function is similar to the function apply(X,dim,sd,na.rm=TRUE) but written thanks to the Rcpp package and therefore faster than apply(X,dim,sd,na.rm=TRUE).
fast_apply_sd_na_rm_T(X, dim)
X |
A data matrix containing numeric and missing values. |
dim |
A numeric value: 1 if the standard deviation has to be computed for each row of |
A numeric vector containing the standard deviation of observed values in either each row or each column of X.
Quentin Giai Gianetto <quentin2g@yahoo.fr>
## The function is currently defined as
##function (X, dim)
##{
## .Call("imp4p_fast_apply_sd_na_rm_T", PACKAGE = "imp4p", X,
## dim)
## }