Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

qterms

Create a vector of quadratic and cubed terms for use in linear and logistic regression


Description

Create a vector of quadratic and cubed terms for use in linear and logistic regression

Usage

qterms(vars, nway = 2)

Arguments

vars

Variables labels to use

nway

quadratic (2) or cubic (3) term labels to create

Value

Character vector of (regression) term labels

Examples

qterms(c("a", "b"), 3)
qterms(c("a", "b"), 2)

radiant.data

Data Menu for Radiant: Business Analytics using R and Shiny

v1.3.12
AGPL-3 | file LICENSE
Authors
Vincent Nijs [aut, cre]
Initial release
2020-11-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.