Learn R Programming

mudata (version 0.1.1)

is.summarised: Extract if the argument is already summarised

Description

Checks the nrow() of sub-data frames produced by group_by(). Returns all(lengths==1).

Usage

is.summarised(x, quiet = FALSE)

Arguments

x

The object

quiet

Pass TRUE to supress warnings on coersion to a qualifier/tag structure.

Value

TRUE if the argument is summarised, FALSE otherwise

Examples

Run this code
# NOT RUN {
data(pocmaj)
pocmaj <- as.qtag(pocmaj, c("core", "depth"))
is.summarised(pocmaj)
is.summarised(aggregate(pocmaj))

# }

Run the code above in your browser using DataLab