at.least.one: Create a key from two hierarchical factors

Description Usage Arguments Details

View source: R/at.least.one.R

Description

Used to calculate the 'at least one' statistics for several occurence of an event per statistical unit.

Usage

1
2
at.least.one(data, subjid = NULL, var, total = FALSE,
  var.label = "var")

Arguments

data

A data frame

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


ClinReport documentation built on Sept. 3, 2019, 5:07 p.m.