Learn R Programming

autostats (version 0.4.1)

f_charvec_to_formula: charvec to formula

Description

takes the lhs and rhs of a formula as character vectors and outputs a formula

Usage

f_charvec_to_formula(lhs, rhs)

Value

formula

Arguments

lhs

lhs atomic chr vec

rhs

rhs chr vec

Examples

Run this code

lhs <- "Species"
rhs <- c("Petal.Width", "Custom_Var")

f_charvec_to_formula(lhs, rhs)

Run the code above in your browser using DataLab