n_strata: Estimate of number of observations in strata of data

View source: R/n_strata.R

n_strataR Documentation

Estimate of number of observations in strata of data

Description

Estimate of number of observations in strata of data

Usage

n_strata(data, weights, strata)

Arguments

data

a data frame

weights

character string of the name of the weights column

strata

character string of the name of the strata column

Examples

str(d)
n_strata(d, weights = "w", strata = "s")


gibonet/vhatbfs documentation built on Nov. 24, 2024, 3:25 p.m.