Cast a data frame as a cognostics data frame
as_cognostics( x, cond_cols, key_col = NULL, cog_desc = NULL, needs_key = TRUE, needs_cond = TRUE, group = "common" )
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 |