setN-set-fdata-method: Setter method of 'fdata' class

Description Usage Arguments Value See Also Examples

Description

Sets the slot N of an fdata object and validates the slot data before setting.

Usage

1
2
## S4 replacement method for signature 'fdata'
setN(object) <- value

Arguments

object

An fdata objects, whose slot N should be set.

value

An integer that should be set as N slot of the fdata object.

Value

The fdata object with slot N set to value or an error message if the value cannot be set as slot N.

See Also

fdata for all slots of the fdata class

Examples

1
2
f_data <- fdata()
setN(f_data) <- as.integer(100)

simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.