fixpar_highcorr: Fixed-effect parameters with high correlations

View source: R/diagnostics.R

fixpar_highcorrR Documentation

Fixed-effect parameters with high correlations

Description

Return a data frame with parameter pairs that have a higher absolute correlation than a given cutoff.

Usage

fixpar_highcorr(sdr, corr_cutoff = 0.8)

Arguments

sdr

An sdreport from a TMB model fit

corr_cutoff

Return pairs of parameters with correlations larger than this cutoff

Details

Note that the returned data frame will not include duplicates. Parameters with repeated names are disambiguated using make.unique, so they are essentially zero-indexed.

Value

A data frame with columns par1, par2, and cor

Author(s)

John K Best


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.