generate_spline_pars: Generate random parameter values for spline models

View source: R/functions.R

generate_spline_parsR Documentation

Generate random parameter values for spline models

Description

For ease of simulation studies or testing, generates some parameters for non-covariate including spline models

Usage

generate_spline_pars(skeleton, sigma = 2, l = -5, u = 5)

Arguments

skeleton

The skeleton to relist the parameters

sigma

The standard deviation of the normal distribution the parameters

l

The lower limit for the dist.par parameter on the link scale

u

The upper limit for the dist.par parameter on the link scale are generated from

Value

A vector of parameters for the model, such that it can be relisted using skeleton


calliste-fagard-jenkin/GAI documentation built on July 26, 2022, 11:20 a.m.