observations: Get or set the 'observations' attribute

Description Usage Arguments Value See Also

Description

The function observations (or obs for short) extracts the observations attribute from .data created by observe_if or observe_if_.

Usage

1
2
3
4
5
6
7
observations(.data, compressed = TRUE)

observations(x) <- value

obs(.data, compressed = TRUE)

obs(x) <- value

Arguments

.data, x

A tbl or data frame

compressed

logical. By default, the column "Rows" of observations is compressed with the as.bit function from package bit. If compressed=FALSE, this column is uncompressed (and becomes understandable / readable by the user).

value

A tibble, see observations.

Value

A tbl.

See Also

observe_if in this package.


paulponcet/observer documentation built on May 24, 2019, 10:32 p.m.