at.least.one: Create a key from two hierarchical factors
Description
Used to calculate the 'at least one' statistics for several occurence of an event per statistical unit.
Usage
at.least.one(data, subjid = NULL, var, total = FALSE,
var.label = "var")
Arguments
subjid
A character. Indicates the ID
var
A character. Indicates a factor in the data frame
total
Logical. if TRUE the total number of events is calculated
var.label
A character. The label of var
Details
Used internally by report.quali.hlev