View source: R/PKNCA.options.R
PKNCA.set.summary | R Documentation |
Define how NCA parameters are summarized.
PKNCA.set.summary(
name,
description,
point,
spread,
rounding = list(signif = 3),
reset = FALSE
)
name |
The parameter name or a vector of parameter names. It must have
already been defined (see |
description |
A single-line description of the summary |
point |
The function to calculate the point estimate for the summary.
The function will be called as |
spread |
Optional. The function to calculate the spread (or
variability). The function will be called as |
rounding |
Instructions for how to round the value of point and spread. It may either be a list or a function. If it is a list, then it must have a single entry with a name of either "signif" or "round" and a value of the digits to round. If a function, it is expected to return a scalar number or character string with the correct results for an input of either a scalar or a two-long vector. |
reset |
Reset all the summary instructions |
All current summary settings (invisibly)
summary.PKNCAresults()
Other PKNCA calculation and summary settings:
PKNCA.choose.option()
,
PKNCA.options()
## Not run:
PKNCA.set.summary(
name="half.life",
description="arithmetic mean and standard deviation",
point=business.mean,
spread=business.sd,
rounding=list(signif=3)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.