compute_density_values: Convenience function for computing density values for...

View source: R/pow_sim.r

compute_density_valuesR Documentation

Convenience function for computing density values for plotting.

Description

Convenience function for computing density values for plotting.

Usage

compute_density_values(data, group_var, parameter, values)

Arguments

data

A dataframe that contains the parameter estimates.

group_var

A group variable that specifies the attributes to group by. By default, this would likely be the term attribute, but can contain more than one attribute.

parameter

The attribute that represents the parameter estimate.

values

A list of numeric vectors that specifies the values for which the density values are computed for.


lebebr01/simglm documentation built on April 8, 2024, 9:03 p.m.