Learn R Programming

dataquieR (version 2.0.1)

util_observations_in_subgroups: 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)

Value

matrix of flags

Arguments

x

data frame

rvs

variable names