R/ma.scale2.R

## File Name: ma.scale2.R
## File Version: 0.10


# Call to Rcpp function
ma.scale2 <- function (x, missings=FALSE )
{
    x_ <- as.matrix(x)
    if ( ! missings ){
        res <- scale2_C( x_ )
    } else {
        res <- scale2_NA_C( x_ )
    }
    colnames(res) <- colnames(x)
    return(res)
}

Try the miceadds package in your browser

Any scripts or data that you put into this service are public.

miceadds documentation built on May 29, 2024, 11:05 a.m.