Description Usage Arguments Details Value See Also Examples
Extract or change the showQuantiles
slot of an object of class
LifeTable
. The showQuantiles
slot controls
whether all iterations are shown, or just quantiles summarising those
iterations, in a life table that has a dimension with
dimtype
"iterations"
.
1 2 3 4 5 6 7 8 9 | showQuantiles(object)
showQuantiles(object) <- value
## S4 method for signature 'LifeTable'
showQuantiles(object)
## S4 replacement method for signature 'LifeTable'
showQuantiles(object) <- value
|
object |
An object of class |
value |
Logical. |
showQuantiles
does not affect the underlying data, which are always
stored as iterations, rather than quantiles.
If object
does not have a dimension with dimtype "iterations"
,
then showQuantiles
has no effect.
The extraction function returns TRUE
or FALSE
,
and the replacement function returns a LifeTable
object
with a new value for the showQuantiles
slot.
Life tables are created using function LifeTable
.
1 2 3 4 5 6 7 8 9 | mx <- dembase::ValuesOne(c(0.2, 0.05, 0.1, 0.4),
labels = c("0", "1-4", "5-9", "10+"),
name = "age")
mx <- dembase::perturb(1000 * mx, n = 20) / 1000
lt <- LifeTable(mx)
lt
showQuantiles(lt)
showQuantiles(lt) <- FALSE
lt
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.