Learn R Programming

processR (version 0.2.7)

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
interactStr(LETTERS[1])
interactStr(LETTERS[1:3])
interactStr(LETTERS[1:3],skip=TRUE)

Run the code above in your browser using DataLab