R/null.formula.R

make.formula <- function(string){
	formula(paste(string[2],string[1],string[3],sep="",collapse=""))
}

make.null.formula <- function(formula){
	string <- sub("\\*","+",formula)
make.formula(string)
}

Try the anoint package in your browser

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

anoint documentation built on May 2, 2019, 3:26 p.m.