get_cov_est: Load covariance and estimates R

Description Usage Arguments Value Author(s) Examples

View source: R/om_get_cov_est.R

Description

Goes to the specified directory and finds the .est and .cov files. Loads them one by one into an R list of objects. This ensures that the reading in stage (which can take 3-10 minutes) need only be done once, and then subsequent function calls looping through an entire grid will run in a few seconds instead of minutes. Required the following files: something ending in .cor and .std

Usage

1
get_cov_est(directory = "../OM/arc/base2016_sqrt")

Arguments

directory

the directory that the ADMB .par/.std/.cor files are in

Value

a list of objects dimensioned by number of grids

Author(s)

Jim Ianelli, Darcy Webber, Ana Parma

Examples

1
grid.cov.est <- get_grid_cov_est(directory = "arc/basesqrt")

CCSBT/sbtr documentation built on Oct. 25, 2020, 9:11 p.m.