Summarize: Summarize and explain results

Description Usage Arguments Value

View source: R/Summarize.R

Description

Summarize is intended to help document results, by providing explanation for outputs from obj$report()

Usage

1
Summarize(obj, species_names = NULL, rotation_method = "PCA")

Arguments

obj

the TMB object after it has been previously optimized

species_names

an optional character-vector giving species names

rotation_method

what rotation method is used when visualizing results (default rotation_method="PCA")

Value

Tagged list of useful output

parhat

a list of fixed-effect estimates, with same format as starting values

L_pj

the loadings matrix, where e.g. L_pj[1,2] gives the association of species 1 with factor 2

Psi

the array of factors, where e.g. Psi[1,2,3] gives the value at site 1 of factor 2 in time 3

L_pj_rot

the loadings matrix after rotation, useful for ease of interpretation

Psi_rot

the value of factors, useful for ease of interpretation

range_jz

Decorrelation distance for factor j (1st column: spatial; 2nd column: spatio-temporal

theta_npt

Empirical Bayes prediction of log-density, where e.g., theta_npt[1,2,3] gives the log-density for site 1 and species 2 in time 3

eta_npt

Empirical Bayes prediction of log-detectability, where e.g., eta_npt[1,2,3] gives the log-detectability for site 1 and species 2 in time 3

logchat_i

Empirical Bayes prediction of log-expectation for observation i

nll_i

Empirical Bayes prediction of one-half of the deviance residual for observation i


James-Thorson/spatial_DFA documentation built on July 9, 2020, 7:56 a.m.