eval_data: Evaluate a Data Expression

Description Usage Arguments Details Value Examples

Description

Evaluate some data expression in the proper context.

Usage

1

Arguments

data

The raw data object that x will be evaluated inside of.

x

The data expression to evaluate.

Details

x can be either a:

- Formula: will be evaluated as an expression inside of data. - Function: will be evaluated as-is, so must return the desired object in any context. - Vector: will be used as-is. - Character Scalar: will be used as the name of a column in the data.

Value

A vector.

Examples

1
2
3
4

KO112/chartjs documentation built on Aug. 6, 2020, 2:35 p.m.