sdr_pull_vec: Pull a vector of estimates and SEs from an sdreport summary

View source: R/14.0-tmb-shared.R

sdr_pull_vecR Documentation

Pull a vector of estimates and SEs from an sdreport summary

Description

Extracts the first n rows whose name matches name from sdr_summary, returning both estimates and standard errors. Used for per-individual variables in the hierarchical model.

Usage

sdr_pull_vec(sdr_summary, name, n)

Arguments

sdr_summary

Matrix returned by summary(TMB::sdreport(obj))

name

Row name to look up (may appear multiple times)

n

Number of elements expected

Value

Named list with estimates and ses (length-n numeric vectors; filled with NA_real_ when rows are missing)


fb4package documentation built on May 8, 2026, 1:07 a.m.