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 --- man/mkinds.Rd | 55 +++++++++++++++++++++++++++++++++++------------------ man/print.mkinds.Rd | 2 +- 2 files changed, 38 insertions(+), 19 deletions(-) (limited to 'man') diff --git a/man/mkinds.Rd b/man/mkinds.Rd index 79eb0167..3bbb1c4b 100644 --- a/man/mkinds.Rd +++ b/man/mkinds.Rd @@ -1,38 +1,43 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/mkinds.R -\docType{class} \name{mkinds} \alias{mkinds} \title{A dataset class for mkin} -\format{An \code{\link{R6Class}} generator object.} \description{ -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. } -\section{Fields}{ +\examples{ +mds <- mkinds$new("FOCUS A", FOCUS_2006_A) +print(mds) -\describe{ \item{list("title")}{A full title for the dataset} +} +\seealso{ +The S3 printing method \code{\link{print.mkinds}} +} +\section{Public fields}{ +\if{html}{\out{
}} +\describe{ +\item{\code{title}}{A full title for the dataset} -\item{list("sampling")}{times The sampling times} +\item{\code{sampling_times}}{The sampling times} -\item{list("time_unit")}{The time unit} +\item{\code{time_unit}}{The time unit} -\item{list("observed")}{Names of the observed compounds} +\item{\code{observed}}{Names of the observed variables} -\item{list("unit")}{The unit of the observations} +\item{\code{unit}}{The unit of the observations} -\item{list("replicates")}{The number of replicates} +\item{\code{replicates}}{The maximum number of replicates per sampling time} -\item{list("data")}{A dataframe with at least the columns name, time and -value in order to be compatible with mkinfit} } +\item{\code{data}}{A data frame with at least the columns name, time +and value in order to be compatible with mkinfit} } - -\examples{ - -mds <- mkinds$new("FOCUS A", FOCUS_2006_A) - +\if{html}{\out{
}} } -\keyword{datasets} \section{Methods}{ \subsection{Public methods}{ \itemize{ @@ -43,10 +48,24 @@ mds <- mkinds$new("FOCUS A", FOCUS_2006_A) \if{html}{\out{
}} \if{html}{\out{}} \subsection{Method \code{new()}}{ +Create a new mkinds object \subsection{Usage}{ \if{html}{\out{
}}\preformatted{mkinds$new(title = "", data, time_unit = NA, unit = NA)}\if{html}{\out{
}} } +\subsection{Arguments}{ +\if{html}{\out{
}} +\describe{ +\item{\code{title}}{The dataset title} + +\item{\code{data}}{The data} + +\item{\code{time_unit}}{The time unit} + +\item{\code{unit}}{The unit of the observations} +} +\if{html}{\out{
}} +} } \if{html}{\out{
}} \if{html}{\out{}} diff --git a/man/print.mkinds.Rd b/man/print.mkinds.Rd index 54dc5a12..51ef3b76 100644 --- a/man/print.mkinds.Rd +++ b/man/print.mkinds.Rd @@ -12,5 +12,5 @@ \item{\dots}{Not used.} } \description{ -Print mkinds objects. +Print mkinds objects } -- cgit v1.2.1