generate_mixture_pars: Generate random parameter values for non-spline models

View source: R/functions.R

generate_mixture_parsR Documentation

Generate random parameter values for non-spline models

Description

For ease of simulation studies or testing, generates some parameters for non-covariate including normal mixture and stopover models

Usage

generate_mixture_pars(nT, skeleton, sd_max = 1, l = -5, u = 5)

Arguments

nT

The number of sampling occasions in the experiment

skeleton

The skeleton to relist the parameters

sd_max

The maximum SD for broods

l

The lower limit for the distributional parameter (before the link function is applied)

u

The upper limit for the distributional parameter (before the link function is applied)

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.