R/mad2.R

Defines functions Mad mad2 colMads rowMads

Documented in colMads Mad rowMads

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

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

# #[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 Nov. 9, 2023, 5:06 p.m.