From 800797fe192708a4debc57717a4a62a3c3418efa Mon Sep 17 00:00:00 2001 From: "alex.hill@gmail.com" Date: Mon, 15 Jul 2024 18:31:07 +0100 Subject: [PATCH] add docs for parameter extraction methods --- man/scova.Rd | 52 ++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/man/scova.Rd b/man/scova.Rd index 0833a64..e2f586e 100644 --- a/man/scova.Rd +++ b/man/scova.Rd @@ -12,6 +12,8 @@ fit it to a dataset using Gaussian priors and a given hierarchical model structu \itemize{ \item \href{#method-scova-new}{\code{scova$new()}} \item \href{#method-scova-fit}{\code{scova$fit()}} +\item \href{#method-scova-extract_population_parameters}{\code{scova$extract_population_parameters()}} +\item \href{#method-scova-extract_individual_parameters}{\code{scova$extract_individual_parameters()}} \item \href{#method-scova-simulate_population_trajectories}{\code{scova$simulate_population_trajectories()}} \item \href{#method-scova-population_stationary_points}{\code{scova$population_stationary_points()}} \item \href{#method-scova-simulate_individual_trajectories}{\code{scova$simulate_individual_trajectories()}} @@ -76,6 +78,51 @@ A CmdStanMCMC fitted model object: \url{https://mc-stan.org/cmdstanr/reference/C } } \if{html}{\out{
}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-scova-extract_population_parameters}{}}} +\subsection{Method \code{extract_population_parameters()}}{ +Extract fitted population parameters +\subsection{Usage}{ +\if{html}{\out{
}}\preformatted{scova$extract_population_parameters(n_draws = 2500)}\if{html}{\out{
}} +} + +\subsection{Arguments}{ +\if{html}{\out{
}} +\describe{ +\item{\code{n_draws}}{Numeric} +} +\if{html}{\out{
}} +} +\subsection{Returns}{ +A data.table +} +} +\if{html}{\out{
}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-scova-extract_individual_parameters}{}}} +\subsection{Method \code{extract_individual_parameters()}}{ +Extract fitted individual parameters +\subsection{Usage}{ +\if{html}{\out{
}}\preformatted{scova$extract_individual_parameters( + include_variation_params = FALSE, + n_draws = 2500 +)}\if{html}{\out{
}} +} + +\subsection{Arguments}{ +\if{html}{\out{
}} +\describe{ +\item{\code{include_variation_params}}{Logical} + +\item{\code{n_draws}}{Numeric} +} +\if{html}{\out{
}} +} +\subsection{Returns}{ +A data.table +} +} +\if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-scova-simulate_population_trajectories}{}}} \subsection{Method \code{simulate_population_trajectories()}}{ @@ -141,8 +188,7 @@ computationally expensive and may take a while to run if n_draws is large. \if{html}{\out{
}}\preformatted{scova$simulate_individual_trajectories( summarise = TRUE, n_draws = 2500, - time_shift = 0, - add_variation_params = FALSE + time_shift = 0 )}\if{html}{\out{
}} } @@ -156,8 +202,6 @@ Default TRUE.} \item{\code{n_draws}}{Integer. Maximum number of samples to draw. Default 2500.} \item{\code{time_shift}}{Integer. Number of days to adjust the exposure date by. Default 0.} - -\item{\code{add_variation_params}}{Logical. Default FALSE.} } \if{html}{\out{}} }