From 64a476750ff57f4c612620bd58cc4ac42812e185 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 31 Mar 2020 09:52:19 +0200 Subject: Use inline documentation for R6 class mkinds --- docs/reference/mkinds.html | 64 +++++++++++++++++++++++++--------------- docs/reference/print.mkinds.html | 6 ++-- 2 files changed, 44 insertions(+), 26 deletions(-) (limited to 'docs/reference') diff --git a/docs/reference/mkinds.html b/docs/reference/mkinds.html index c1cdcf99..ef6fb35c 100644 --- a/docs/reference/mkinds.html +++ b/docs/reference/mkinds.html @@ -36,7 +36,10 @@ - + @@ -133,36 +136,36 @@
-

A dataset class for mkin

+

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.

-

Format

+

See also

-

An R6Class generator object.

-

Fields

+

The S3 printing method print.mkinds

+

Public fields

- - - -
-
list("title")

A full title for the dataset

+

+
title

A full title for the dataset

-
list("sampling")

times The sampling times

+
sampling_times

The sampling times

-
list("time_unit")

The time unit

+
time_unit

The time unit

-
list("observed")

Names of the observed compounds

+
observed

Names of the observed variables

-
list("unit")

The unit of the observations

+
unit

The unit of the observations

-
list("replicates")

The number of replicates

+
replicates

The maximum number of replicates per sampling time

-
list("data")

A dataframe with at least the columns name, time and -value in order to be compatible with mkinfit

-
+
data

A data frame with at least the columns name, time +and value in order to be compatible with mkinfit

+

Methods

@@ -174,10 +177,20 @@ value in order to be compatible with mkinfit


Method new()

- -

Usage

+

Create a new mkinds object

Usage

mkinds$new(title = "", data, time_unit = NA, unit = NA)

+

Arguments

+

+
title

The dataset title

+ +
data

The data

+ +
time_unit

The time unit

+ +
unit

The unit of the observations

+ +


Method clone()

The objects of this class are cloneable with this method.

Usage

@@ -193,13 +206,18 @@ value in order to be compatible with mkinfit

Examples

-mds <- mkinds$new("FOCUS A", FOCUS_2006_A)
+mds <- mkinds$new("FOCUS A", FOCUS_2006_A) +print(mds)
#> <mkinds> with $title: FOCUS A +#> Observed compounds $observed: parent +#> Sampling times $sampling_times: 0, 3, 7, 14, 30, 62, 90, 118 +#> With a maximum of 1 replicates
+
@@ -133,7 +133,7 @@
-

Print mkinds objects.

+

Print mkinds objects

# S3 method for mkinds
-- 
cgit v1.2.1