lvls {edibble}R Documentation

Setting the traits of the levels

Description

Setting the traits of the levels

Usage

lvls(value = NULL, n = NA_integer_, data = NULL, ...)

Arguments

value

A vector of the level values.

n

The number of replicate (if applicable).

data

A list or data frame of the same size as the levels.

...

Name-value pair denoting other level attributes. The value should be the same length as levels or a single value.

Value

An edbl_lvls object.

Examples

lvls(c("A", "B"))

[Package edibble version 1.1.0 Index]