Skip to contents

Sample Parameters from Population Parameters

Usage

sample_from_pop(n = 100, mu = 0, sd = 1, r = 0)

Arguments

n

sample size

mu

population mean

sd

population SD

r

population r

Value

list of sample parameters (mu, sd, r)

Examples

sample_from_pop(10)
#> $mu
#> [1] -0.4756134
#> 
#> $sd
#> [1] 1.239355
#> 
#> $r
#> [1] -0.2886285
#>