GetSampleSizes: Compute sample size by spring and field season

View source: R/utils.R

GetSampleSizesR Documentation

Compute sample size by spring and field season

Description

Compute sample size by spring and field season

Usage

GetSampleSizes(data, ..., pop = FALSE)

Arguments

data

A data frame of data for which sample sizes will be calculated. To group by Park, SiteCode, and/or FieldSeason, be sure to include those columns.

...

Columns to group by.

pop

Indicates if this is a population size (N) rather than a sample size (n). Defaults to FALSE.

Value

A dataframe with a SampleSize column as well as any grouping columns (Park, SiteCode, FieldSeason) that are present in data.


nationalparkservice/mojn-ds-rpackage documentation built on Oct. 5, 2023, 6:21 p.m.