set_limits {expirest} | R Documentation |
Adjustment of limits
Description
The function set_limits()
adjusts the limits according to the number
of relevant decimal places and according to the transformation requirement.
Usage
set_limits(
rl,
rl_sf,
sl,
sl_sf,
sf_option = "tight",
xform = c("no", "no"),
shift = c(0, 0),
ivl_side = "lower"
)
Arguments
sl |
A numeric value or a numeric vector of length |
sl_sf |
A positive integer or a vector of positive integers that
specifies the number of “significant figures” (sf) of |
sf_option |
A character string that specifies if the limits ( |
xform |
A vector of two character strings that specifies the
transformation of the response and the time variable. The default is
“no” transformation, i.e. |
shift |
A vector of two values which will be added to the variables
|
ivl_side |
A character string that specifies if the specification
limit, given that the limit has only one side, is an “upper” or a
“lower” bound, i.e. it is specified as either |
Details
The function set_limits()
adjusts the limits according to
rl_sf
and sl_sf
and, if necessary, transforms the limits
(rl
and sl
) as specified by the parameters xform
and
shift
.
Value
A list with the following elements is returned:
sf.option |
A character string that specifies the option concerning the significant figures. |
xform |
A vector of two character strings that specifies the transformation of the response and the time variable. |
shift |
A vector of two values to be added to the values of the
transformed |
rl.orig |
A numeric value or a numeric vector of the release limit(s)
on the original scale. If |
rl.sf |
A numeric value or a numeric vector that specifies the
significant figures of the release limit(s). If |
rl |
A numeric value or a numeric vector of the adjusted (as specified
by the |
rl.trfmd |
A numeric value or a numeric vector of the adjusted and
transformed, if applicable (as specified by the the |
sl.orig |
A numeric value or a numeric vector of length |
sl.sf |
A numeric value or a numeric vector of length |
sl |
A numeric value or a numeric vector of length |
sl.trfmd |
A numeric value or a numeric vector of length |
See Also
expirest_osle
, expirest_wisle
.