split_ctm: Remedial method to fix CTM errors using the best upcast or...

View source: R/split_ctm.R

split_ctmR Documentation

Remedial method to fix CTM errors using the best upcast or downcast parameter

Description

Reads-in an rds file containing data that has been processed using the full gapctd workflow and uses the file name and estimated CTM parameters to reprocess data using the best upcast and downcast parameters.

Usage

split_ctm(rds_path, haul_df)

Arguments

rds_path

Path to rds file

haul_df

data.frame containing haul data from RACEBASE that includes metadata for the cnv file.

Value

An upcast and downcast rds file if both casts were found in the rds file. Moves the original rds file to bad_cnv.

Author(s)

Sean Rohan


afsc-gap-products/gapctd documentation built on March 5, 2025, 3:42 a.m.