comp_var: Compute variables in data

View source: R/03-comp_var.R

comp_varR 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)))

saeSim documentation built on Jan. 27, 2026, 1:06 a.m.