| mkinds {mkin} | R Documentation |
A dataset class for mkin
Description
At the moment this dataset class is hardly used in mkin. For example, mkinfit does not take mkinds datasets as argument, but works with dataframes such as the on contained in the data field of mkinds objects. Some datasets provided by this package come as mkinds objects nevertheless.
Usage
## S3 method for class 'mkinds'
print(x, data = FALSE, ...)
Arguments
x |
An mkinds object. |
data |
Should the data be printed? |
... |
Not used. |
Public fields
titleA full title for the dataset
sampling_timesThe sampling times
time_unitThe time unit
observedNames of the observed variables
unitThe unit of the observations
replicatesThe maximum number of replicates per sampling time
dataA data frame with at least the columns name, time and value in order to be compatible with mkinfit
Methods
Public methods
Method new()
Create a new mkinds object
Usage
mkinds$new(title = "", data, time_unit = NA, unit = NA)
Arguments
titleThe dataset title
dataThe data
time_unitThe time unit
unitThe unit of the observations
Method clone()
The objects of this class are cloneable with this method.
Usage
mkinds$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Examples
mds <- mkinds$new("FOCUS A", FOCUS_2006_A)
print(mds)