From 481403adb92ae9e61d17491bef64efa00a5efd07 Mon Sep 17 00:00:00 2001 From: "Aaron R. Kaufman" Date: Wed, 16 Aug 2023 15:45:02 -0400 Subject: [PATCH] small fixes to projoint and 03-predict --- R/projoint.R | 2 +- vignettes/03-predict.Rmd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/projoint.R b/R/projoint.R index 0a4c17f..286c89d 100644 --- a/R/projoint.R +++ b/R/projoint.R @@ -17,7 +17,7 @@ #' @param .se_method By default, \code{c("analytic", "simulation", "bootstrap")} description #' @param .irr \code{NULL} (default) if IRR is to be calculated using the repeated task. Otherwise, a numerical value #' @param .remove_ties Logical: should ties be removed before estimation? Defaults to \code{TRUE}. -#' @param .ignore_position NULL (default) if \code{.structure = "profile_level"}. Set to TRUE if you ignore the position of profile (left or right); FALSE if the relative positioning of profiles matters for analysis. If \code{.structure = "profile_level"} and this argument is \code{NULL}, it is automatically reset to \code{TRUE}. +#' @param .ignore_position NULL (default) if \code{.structure = "profile_level"}. Set to TRUE if you ignore the position of profile (left or right); FALSE if the relative positioning of profiles matters for analysis. If \code{.structure = "choice_level"} and this argument is \code{NULL}, it is automatically reset to \code{TRUE}. #' @param .n_sims The number of simulations. Relevant only if \code{.se_method == "simulation"} #' @param .n_boot The number of bootstrapped samples. Relevant only if \code{.se_method == "bootstrap"} #' @param .weights_1 the weight to estimate IRR (see \code{\link[estimatr]{lm_robust}}): \code{NULL} (default) diff --git a/vignettes/03-predict.Rmd b/vignettes/03-predict.Rmd index 02c95f8..16c2ef3 100644 --- a/vignettes/03-predict.Rmd +++ b/vignettes/03-predict.Rmd @@ -9,7 +9,7 @@ vignette: > %\VignetteEncoding{UTF-8} --- -We use two methods to estimate intra-respondent reliability (IRR). The first-best method requires researchers to add a repeated task to their conjoint survey, but is the most reliable. The second method, which uses linear extrapolation, does not require a repeated task but is noisier. If no repeated task is specified, we can use the `predict_tau` function to pe +We use two methods to estimate intra-respondent reliability (IRR). The first-best method requires researchers to add a repeated task to their conjoint survey, but is the most reliable. The second method, which uses linear extrapolation, does not require a repeated task but is noisier. If no repeated task is specified, we can use the `predict_tau` function to perform the extrapolation method and estimate IRR. ### 3.1 Load the projoint package