organise.pars: Organise Parameter Vector into Components

View source: R/model.R

organise.parsR Documentation

Organise Parameter Vector into Components

Description

Takes a vector of parameters and organises it into separate objects (e.g., a vector of mu parameters, variance-covariance matrices sigma and xi, etc).

Usage

organise.pars(pars, n.animals, n.photos, m, block.only = FALSE)

Arguments

pars

A numeric vector of parameters

n.animals

Integer, number of animals

n.photos

Integer vector, number of photos per animal

m

Integer, number of dimensions measured

block.only

Logical, if TRUE returns only the block matrix

Value

A list containing:

mus

Vector of mean parameters

sigma

Variance-covariance matrix for animal effects

xi

Variance-covariance matrix for measurement error


morphErr documentation built on Aug. 30, 2026, 5:06 p.m.