Learn R Programming

processR (version 0.2.3)

interactStr: make interaction equation

Description

make interaction equation

Usage

interactStr(x, prefix = "a", skip = FALSE, count = 1, addPrefix = TRUE)

Arguments

x

character vector

prefix

prefix

skip

whether or not skip

count

Numeric

addPrefix

A logical

Examples

Run this code
# NOT RUN {
interactStr(LETTERS[1])
interactStr(LETTERS[1:3])
interactStr(LETTERS[1:3],skip=TRUE)
# }

Run the code above in your browser using DataLab