entity_stato: entity_stato class

Description Usage Arguments Details Value See Also Examples

View source: R/entity_stato_class.R

Description

A base class in the struct package. Should not be called directly.

Usage

1
2
3
4
5
6
7
8
entity_stato(
  name,
  description = character(0),
  type = "character",
  value = NULL,
  max_length = Inf,
  stato_id
)

Arguments

name

the name of the object

description

a description of the object

type

the type of the struct object

value

The value of the parameter/outputs

max_length

Maximum length of value vector (default 1)

stato_id

The STATO ID for the entity

Details

Extends the entity class to include stato functionality.

Value

an entity_stato object

See Also

Refer to entity and stato for further info.

Examples

1
2
3
4
5
6
7
E = entity_stato(
    name = 'example',
    description = 'this is an example',
    type = 'numeric',
    value = 1,
    stato_id='XYZ000001'
)

computational-metabolomics/struct documentation built on Nov. 17, 2021, 8:57 a.m.