R/count_value.R

Defines functions rowCountValues colCountValues count_value

Documented in colCountValues count_value rowCountValues

#[export]
count_value <- function(x,value) {
	.Call(Rfast_count_value,x,value)
}

#[export]
colCountValues<-function(x,values,parallel = FALSE,cores = 0){
	if(parallel){
		.Call(Rfast_col_count_values_p,x,values,cores)
	}else{
		.Call(Rfast_col_count_values,x,values)
	}
}

#[export]
rowCountValues<-function(x,values,parallel = FALSE,cores = 0){
	if(parallel){
		.Call(Rfast_row_count_values_p,x,values,cores)
	}else{
		.Call(Rfast_row_count_values,x,values)
	}
}

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.