calcIC: Calculate individual connectivity for one DisMELS model run

Description Usage Arguments Details Value

Description

Function to calculate individual connectivity based on one DisMELS model run.

Usage

1
2
3
4
calcIC(ibmResTbl = NULL, cellsTbl = NULL,
  lhsTypeInfo = getLifeStageInfo.ATF(),
  spawningZones = c("SpawningArea_300to600m"), writeCSV = FALSE,
  outIndivs = "IndivStartEndPositions.csv")

Arguments

ibmResTbl

- name of DisMELS connectivity results file or resulting dataframe (can be NULL)

cellsTbl

- name of classified grid cells file or resulting dataframe (can be NULL)

lhsTypeInfo

- list object with life stage info

spawningZones

- vector of names of zones used as spawning areas in the IBM

writeCSV

- flag (T/F) to write output file

outIndivs

- csv filename for individual connectivity (start and end locations)

Details

If the ibmResTbl dataframe is NULL, the user can select the file using a file dialog box.

If the cellsTbl dataframe is NULL, the user can select the file using a file dialog box.

If the writeCSV flag is set, the inidividual connectivity data frame (dfrIC) is written to the file specified by 'outIndivs'.

Value

dataframe of start and end locations for each individual in the model run


wStockhausen/wtsDisMELSConn documentation built on May 3, 2019, 7:36 p.m.