Learn R Programming

edibble (version 1.1.0)

lvls: Setting the traits of the levels

Description

Setting the traits of the levels

Usage

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

Value

An edbl_lvls object.

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.

Examples

Run this code
lvls(c("A", "B"))

Run the code above in your browser using DataLab