R/BIFIE_data_transform_process_formula.R

Defines functions BIFIE_data_transform_process_formula

## File Name: BIFIE_data_transform_process_formula.R
## File Version: 0.01

BIFIE_data_transform_process_formula <- function(transform.formula)
{
    t1 <- stats::terms(transform.formula)
    t2 <- attr(t1, "term.labels")
    transform.formula <- stats::as.formula( paste0( "~ 0 + ", paste0( t2, collapse=" + ") ) )
    return(transform.formula)
}

Try the BIFIEsurvey package in your browser

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

BIFIEsurvey documentation built on May 29, 2024, 2:52 a.m.