Default print for run_mod() output object of class sr_model
Source: R/print.sr_model.R
print.sr_model.RdA default print method for class sr_model that prints posterior medians
for antibody kinetic curve parameters by Iso_type and
Stratification (if specified).
Usage
# S3 method for class 'sr_model'
print(x, print_tbl = FALSE, ...)Arguments
- x
An
sr_modeloutput object fromrun_mod().- print_tbl
A logical indicator to print
xin the style of a tibble::tbl_df.- ...
Additional arguments passed to the print method.
Value
Invisibly returns either:
When
print_tbl = TRUE, a tibble containing the rawsr_modeldraws;Otherwise, a data summary containing posterior medians for antibody kinetic curve parameters by
Iso_typeandStratification(if specified).
Examples
print(serodynamics::nepal_sees_jags_output)
#> An sr_model with the following median values:
#>
#> Stratification Iso_type alpha shape t1 y0 y1
#> 1 typhi HlyE_IgA 0.001508265 1.673340 6.358405 2.340330 258.1235
#> 2 paratyphi HlyE_IgA 0.001556295 1.561960 3.903690 2.852925 191.8805
#> 3 typhi HlyE_IgG 0.001393980 1.385280 6.019110 1.788035 243.9110
#> 4 paratyphi HlyE_IgG 0.001432405 1.386685 4.726980 2.330555 272.8455