R/null.formula.R

Defines functions make.null.formula make.formula

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 30, 2017, 6:39 a.m.