CompStatsEEH: CompStats

View source: R/CompStatsEEH.R

CompStatsEEHR Documentation

CompStats

Description

Returns the statistics (calculated values) needed to produce the summary output file

Usage

CompStatsEEH(BufNum, inputs, BufSRb, YearStats, SummaryStats)

Arguments

BufNum

Which simulation (TargetER or Pop) is this for.

inputs

Inputs from .rav file

BufSRb

Capacity. Changes if StepFunc=Pop. Otherwise stays the same.

YearStats

list of computed variables for each year: AEQMort, Escpmnt[Year,] = Escpmnt, TotAdultEscpmnt, TotAEQMort, TotEscpmnt,TempCohort.

SummaryStats

list with the summary statistics to be updated

Details

This function similar but not identical to the original VB function

Value

Updated SummaryStats list


eeholmes/VRAP documentation built on Nov. 23, 2024, 2:35 a.m.