R/mad2.R

Defines functions Mad mad2 colMads rowMads

Documented in colMads Mad mad2 rowMads

#[export]
rowMads <- function(x,method = "median", na.rm = FALSE,parallel = FALSE) {
	.Call(Rfast_row_mads,x,method,na.rm,parallel)
}

#[export]
colMads <- function(x,method = "median", na.rm = FALSE,parallel = FALSE) {
	.Call(Rfast_col_mads,x,method,na.rm,parallel)
}

#[export]
mad2 <- function(x,method = "median",na.rm = FALSE) {
	#.Deprecated("Rfast::Mad")
	.Call(Rfast_mad2,x,method,na.rm)
}


#[export]
Mad <- function(x,method = "median",na.rm = FALSE) {
	.Call(Rfast_mad2,x,method,na.rm)
}

Try the Rfast package in your browser

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

Rfast documentation built on May 18, 2021, 1:07 a.m.