getRezrDFAttr: Extract/set an attribute of a rezrDF.

View source: R/rezrDF.R

getRezrDFAttrR Documentation

Extract/set an attribute of a rezrDF.

Description

Extract an attribute of a data.frame (inNodeMap, fieldaccess, updateFunct), or set it.

Usage

getRezrDFAttr(df, attr, fields = "")

fieldaccess(df, fields = "")

updateFunct(df, fields = "")

inNodeMap(df, fields = "")

setRezrDFAttr(df, attr, fields = "", value)

updateFunct(df, fields = "") <- value

fieldaccess(df, fields = "") <- value

inNodeMap(df, fields = "") <- value

Arguments

df

The rezrDF whose field access attributes you want to see.

attr

The attribute that you want to extract.

fields

The field whose access attribute you want to see. If left blank, a vector containing all the attributes is output.

value

The value that you want to set it to.

Value

The value of the attribute you want to extract (for extract functions), and the DF with the value set (for set functions).

Examples

updateFunct(sbc007$unitDF, "docTokenSeqLast")
#If you want to be able to edit the timestamps manually
fieldaccess(sbc007$unitDF, c("unitEnd", "unitStart")) = c("flex", "flex")
inNodeMap(sbc007$unitDF)

johnwdubois/rezonateR documentation built on Nov. 19, 2024, 11:17 p.m.