as_cognostics: Cast a data frame as a cognostics data frame

Description Usage Arguments

View source: R/cog.R

Description

Cast a data frame as a cognostics data frame

Usage

1
2
3
4
5
6
7
8
9
as_cognostics(
  x,
  cond_cols,
  key_col = NULL,
  cog_desc = NULL,
  needs_key = TRUE,
  needs_cond = TRUE,
  group = "common"
)

Arguments

x

a data frame

cond_cols

the column name(s) that comprise the conditioning variables

key_col

the column name that indicates the panel key

cog_desc

an optional named list of descriptions for the cognostics columns

needs_key

does the result need to have a "key" column?

needs_cond

does the result need to have conditioning variable columns?

group

value to be used in the cog group


trelliscopejs documentation built on Feb. 1, 2021, 9:05 a.m.