entities: Entities (summary)

Description Usage Arguments Author(s) Examples

View source: R/print.R

Description

This method produces a summary of the entities (total/valid observations and marketshare) if they have been specified.

Usage

1
2
3
4
5
6
7
entities(srv)

## S3 method for class 'Survey'
entities(srv)

## S3 method for class 'survey_entities'
print(x, ...)

Arguments

srv

A Survey.

x

The survey_entities, as returned by entities().

...

Further arguments passed to print.

Author(s)

Kristian D. Olsen

Examples

1
2
3
4
5
6
7
8
9
df <- survey_df(data.frame("A" = "test", "B" = 2))

# Regular
x <- set_association(df, mainentity = "A")
entities(x)

# R6 (mutates)
df$set_association(mainentity = "A")
df$entities()

itsdalmo/reporttoolDT documentation built on May 18, 2019, 7:11 a.m.