format_dat: Import and format data for ready to use by 'surv_calc()'

Description Usage Arguments Value Examples

Description

Import and format data for ready to use by surv_calc()

Usage

1
format_dat(file_name, mig_yr = "auto", wgt = "n")

Arguments

file_name

File path where the input csv file is stored.

mig_yr

Juvenile migration year.

wgt

"y" if using weighted sampling probability. User will be prompted to enter the amount of intergrated and segregated fish.

Value

Capture history and indicators for adult return.

Examples

1
detect_data<- format_dat('C:/Users/bobbyhsu/Documents/Temp/SR HCH 2014 MCCA.csv', mig_yr= 2014, wgt= 'n')

boppingshoe/bootylator documentation built on May 8, 2019, 1:01 p.m.