util_observations_in_subgroups: Utility function observations in subgroups

View source: R/util_observations_in_subgroups.R

util_observations_in_subgroupsR Documentation

Utility function observations in subgroups

Description

This function uses !is.na to count the number of non-missing observations in subgroups of the data (list) and in a set of user defined response variables. In some applications it is required that the number of observations per e.g. factor level is higher than a user-defined minimum number.

Usage

util_observations_in_subgroups(x, rvs)

Arguments

x

data frame

rvs

variable names

Value

matrix of flags


dataquieR documentation built on July 26, 2023, 6:10 p.m.