Reads one structure's entry in the registry that
frmtmb_register_covstruct() fills, so that another package, such as
frmtmb.sample, asks the registry instead of keeping its own list of
structure names. Works for frmtmb's own structures and for a
registered one alike.
Value
A list:
nameThe name.
packageThe package that registered it, or
NULLfor one of frmtmb's own.builtinTRUEfor one of frmtmb's own structures.fieldTRUEwhen the structure reports its own rows (itsnaturalslot), so its parameters have no brmssd_<group>__<coef>orcor_names and brms counts no grouping factor for it: smooths,gp(),car().termTRUEwhen it is written as a predictor special rather than a bar structure.levels_coupledTRUEwhen a fixed matrix correlates the levels.full_rankTRUEorFALSEas the structure states it, orNAwhen it states nothing, and the weights check is then open for it (seefull_rankinfrmtmb_register_covstruct()).
A name nothing registered is refused. A name that core lists as an
extension's ("car", "spde") loads that extension, which
registers it, as a fit that uses the structure would. A residual
correlation term ("fcor", frmtmb.spatial's "sar") is no
covariance structure: it is refused with a pointer to
frmtmb_autocor_pars().