Learn R Programming

autocogs (version 0.1.5)

add_cog_group: Add a cognostic group

Description

Add a new cognostic to be used when calculating automatic cognostics.

Usage

add_cog_group(name, fields, description = NA, fn, ...)

Arguments

name

Name of cognostic group

fields

data.frame of 'dimension' and 'type' columns. dplyr::[bind_rows][dplyr::bind_rows]() of field_info() outputs for convenience

description

Description of cognostic group

fn

function to calculate a cognostic group. May return a named list or a single row tibble. Each value of the return data should be the output of cog_desc()

...

ignored