add_km_feature: Add KM feature specifications to an MDB object

View source: R/KM-specifications.R

add_km_featureR Documentation

Add KM feature specifications to an MDB object

Description

Add KM feature specifications to an MDB object

Usage

add_km_feature(x, kmr, table, feature, fields, unit = as.character(NA))

Arguments

x

an MDB object to update with specification tables

kmr

an MDB object with KM requirements

table

the name of an existing table in x

feature

the name of an existing feature in kmr

fields

Either a single character providing the name of an existing field in table or a list named with feature property names from kmr. Each element of the list should provide a "field" slot with the name of the corresponding field and a "unit" slot with the name of the unit if relevant.

unit

a single character providing the unit if relevant. Unit information provided in fields override this parameter value.

Value

An MDB object with additional KM table feature specification


TKCat documentation built on June 8, 2025, 11:25 a.m.