observations.data.frame: Identify Observations for Data Frame

View source: R/tablet.R

observations.data.frameR Documentation

Identify Observations for Data Frame

Description

Identifies observations. Stacks values by level, supplying defaults as necessary.

Usage

## S3 method for class 'data.frame'
observations(x, ..., exclude_name = NULL)

Arguments

x

data.frame

...

passed to categoricals(), numerics()

exclude_name

whether to drop NA levels of name; passed to gather

Value

class 'observations' arranged by groups (presented first):

_tablet_N

number of records

_tablet_n

number of records in group

_tablet_name

observation identifier

_tablet_level

factor level (or special value 'numeric' for numerics)

_tablet_value

numeric value (or special value 1 for factors)


tablet documentation built on April 3, 2025, 6:21 p.m.