comp_var {saeSim}R Documentation

Compute variables in data

Description

This function is intended to be used with sim_comp_pop, sim_comp_sample or sim_comp_agg and not interactively. This is a wrapper around mutate

Usage

comp_var(...)

Arguments

...

variables interpreted in the context of that data frame.

See Also

sim_comp_pop, sim_comp_sample, sim_comp_agg

Examples

sim_base_lm() %>% sim_comp_pop(comp_var(yExp = exp(y)))

[Package saeSim version 0.11.0 Index]