Learn R Programming

qreport (version 1.0-1)

asForm: asForm

Description

Convert Vector of Variables Names to a Right-Sided Formula

Usage

asForm(x)

Value

formula

Arguments

x

character vector

Author

Frank Harrell

Details

Given a vector of character strings, turns them into a formula with no left hand side variable.

Examples

Run this code
asForm(letters[1:6])

Run the code above in your browser using DataLab