This function will compute M-distance for two datasets by covariate means

mdis_rbase(x_t, x_c)

Arguments

x_t

a dataframe or matrix class object, all numeric

x_c

a dataframe or matrix class object, all numeric

Value

a numeric vector of length one, the M-distance multiplied by a constance for sample size