% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chent.R
\name{ppp}
\alias{ppp}
\title{R6 class for a plant protection product with at least one active ingredient}
\format{
An \code{\link{R6Class}} generator object.
}
\description{
Contains basic information about the active ingredients in the
product
}
\section{Public fields}{
\if{html}{\out{
}}
\describe{
\item{\code{name}}{The name of the product}
\item{\code{ais}}{A list of active ingredients}
\item{\code{concentrations}}{The concentration of the ais}
\item{\code{concentration_units}}{Defaults to g/L}
\item{\code{density}}{The density of the product}
\item{\code{density_units}}{Defaults to g/L
Creates a new instance of this \link[R6:R6Class]{R6} class.}
}
\if{html}{\out{
}}
}
\section{Methods}{
\subsection{Public methods}{
\itemize{
\item \href{#method-ppp-new}{\code{ppp$new()}}
\item \href{#method-ppp-clone}{\code{ppp$clone()}}
}
}
\if{html}{\out{
}}
\if{html}{\out{}}
\if{latex}{\out{\hypertarget{method-ppp-new}{}}}
\subsection{Method \code{new()}}{
\subsection{Usage}{
\if{html}{\out{}}\preformatted{ppp$new(
name,
...,
concentrations,
concentration_units = "g/L",
density = 1000,
density_units = "g/L"
)}\if{html}{\out{
}}
}
\subsection{Arguments}{
\if{html}{\out{}}
\describe{
\item{\code{name}}{The name of the product}
\item{\code{...}}{Identifiers of the active ingredients}
\item{\code{concentrations}}{Concentrations of the active ingredients}
\item{\code{concentration_units}}{Defaults to g/L}
\item{\code{density}}{The density}
\item{\code{density_units}}{Defaults to g/L}
}
\if{html}{\out{
}}
}
}
\if{html}{\out{
}}
\if{html}{\out{}}
\if{latex}{\out{\hypertarget{method-ppp-clone}{}}}
\subsection{Method \code{clone()}}{
The objects of this class are cloneable with this method.
\subsection{Usage}{
\if{html}{\out{}}\preformatted{ppp$clone(deep = FALSE)}\if{html}{\out{
}}
}
\subsection{Arguments}{
\if{html}{\out{}}
\describe{
\item{\code{deep}}{Whether to make a deep clone.}
}
\if{html}{\out{
}}
}
}
}