setDD: Set value of slot 'DD'

Description Usage Arguments Value Examples

Description

setDD assigns an object of class DD to the slot DD of the input object.

Usage

1
2
3
4
setDD(object) <- value

## S4 replacement method for signature 'StQ,DD'
setDD(object) <- value

Arguments

object

Object whose slot DD is to be set.

value

Object of class DD to be assigned to the input object.

Value

Object of class StQ with slot DD updated.

Examples

1
2
3
4
5
6
7
8
9
# We build an empty StQ object:
library(data.table)
Q <- StQ()

# We use an DD object previously created:
data(ExampleDD)
# We assign this DD object to slot DD of the preceding StQ object:
setDD(Q) <- ExampleDD
str(Q)

david-salgado/StQ documentation built on Aug. 12, 2021, 3:23 p.m.