util_observations_in_subgroups {dataquieR}R 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


[Package dataquieR version 1.0.5 Index]