Skip to contents

Transform a normal distribution to represent data weighted by a power of w

Usage

transform_normal(fit, power = 1)

Arguments

fit

A list with the parameters mean and sd

power

The power to raise the weights to

Value

A list with the updated parameters

Examples

fit <- list(mean = 5.0, sd = 2.0)
transform_normal(fit, power = 1)
#> $mean
#> [1] 1
#> 
#> $sd
#> [1] 2
#>