You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lpme/R/lpme_DoBootPartition.R
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@
20
20
#' \item "mcmc_joint": Full Bayesian model that simultaneously estimates latent variables and outcome relationship using \code{numpyro}
21
21
#' \item "mcmc_overimputation": Two-stage MCMC approach with measurement error correction via over-imputation
22
22
#' }
23
-
#' @param latent_estimation_fn Custom function for estimating latent trait from \code{observables} if \code{estimation_method="custom"} (optional).
23
+
#' @param latent_estimation_fn Custom function for estimating latent trait from \code{observables} if \code{estimation_method="custom"} (optional). The function should accept a matrix of observables (rows are observations) and return a numeric vector of length equal to the number of observations.
24
24
#' @param mcmc_control A list indicating parameter specifications if MCMC used.
Copy file name to clipboardExpand all lines: lpme/R/lpme_DoOneRun.R
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
#' \item "mcmc_overimputation": Two-stage MCMC approach with measurement error correction via over-imputation
16
16
#' \item "custom": In this case, latent estimation performed using \code{latent_estimation_fn}.
17
17
#' }
18
-
#' @param latent_estimation_fn Custom function for estimating latent trait from \code{observables} if \code{estimation_method="custom"} (optional).
18
+
#' @param latent_estimation_fn Custom function for estimating latent trait from \code{observables} if \code{estimation_method="custom"} (optional). The function should accept a matrix of observables (rows are observations) and return a numeric vector of length equal to the number of observations.
19
19
#' @param mcmc_control A list indicating parameter specifications if MCMC used.
0 commit comments