R/pow_sim.r
compute_density_values.Rd
Convenience function for computing density values for plotting.
compute_density_values(data, group_var, parameter, values)
A dataframe that contains the parameter estimates.
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.
The attribute that represents the parameter estimate.
A list of numeric vectors that specifies the values for which the density values are computed for.