variance: This Variance function calculates variance base on a sample...

varianceR Documentation

This Variance function calculates variance base on a sample larger then provided for in the data. Values for all other observations are assumed to be zero and the variance calulation handles all the additional zero values as a single term calculations.

Description

This Variance function calculates variance base on a sample larger then provided for in the data. Values for all other observations are assumed to be zero and the variance calulation handles all the additional zero values as a single term calculations.

Usage

variance(values, sample_size)

Arguments

values

The values to calculate variance on, the length of this data vector is typically less then "n"

sample_size

The date licence records are cut off at, this date will be used to exclude licence records that start after this date.

Value

A data frame with the licence records loaded in a consistent R friendly format.


Pacific-salmon-assess/iRecAnalysisPkg documentation built on July 6, 2024, 5:03 p.m.