Skip to content

Commit

Permalink
minor editing
Browse files Browse the repository at this point in the history
  • Loading branch information
yhoriuchi committed Aug 8, 2023
1 parent d49a26c commit e767ed3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import(stringr)
import(tidyr)
import(tidyselect)
importFrom(MASS,mvrnorm)
importFrom(estimatr,lm_robust)
importFrom(methods,is)
importFrom(methods,new)
importFrom(stats,setNames)
6 changes: 3 additions & 3 deletions R/pj_estimate.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#'
#' @import dplyr
#' @import rlang
#' @importFrom estimatr lm_robust
#' @import estimatr
#' @importFrom MASS mvrnorm
#' @keywords internal
#' @param .data A `projoint_data` object
Expand All @@ -17,8 +17,8 @@
#' @param .baseline A character vector identifying the baseline level. Its length should be 1 for profile-level analysis and 2 for choice-level analysis
#' @param .remove_ties TRUE (default) if you want to remove ties for the attribute of interest (in profile-level analysis)
#' @param .ignore_position TRUE if you ignore the location of profile (left or right). Relevant only if .structure == "choice_level". Defaults to NULL.
#' @param .n_sims The number of simulations. Relevant only if .method == "simulation"
#' @param .n_boot The number of bootstrapped samples. Relevant only if .method == "bootstrap"
#' @param .n_sims The number of simulations. Relevant only if .se_method == "simulation"
#' @param .n_boot The number of bootstrapped samples. Relevant only if .se_method == "bootstrap"
#' @param .weights_1 the weight to estimate IRR (see `lm_robust()`): NULL (default)
#' @param .clusters_1 the clusters to estimate IRR (see `lm_robust()`): NULL (default)
#' @param .se_type_1 the standard error type to estimate IRR (see `lm_robust()`): "classical" (default)
Expand Down
3 changes: 1 addition & 2 deletions R/projoint.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#'
#' @import dplyr
#' @import rlang
#' @import estimatr
#' @importFrom MASS mvrnorm
#' @importFrom methods is
#' @importFrom methods new
#' @importFrom estimatr lm_robust
#' @param .data A `projoint_data` object
#' @param .qoi A `projoint_qoi` object. If NULL, defaults to producing all MMs and all AMCEs.
#' @param .structure Either "profile_level" or "choice_level"
Expand All @@ -19,7 +19,6 @@
#' @param .se_method c("analytic", "simulation", "bootstrap") description
#' @param .n_sims The number of simulations. Relevant only if .se_method == "simulation"
#' @param .n_boot The number of bootstrapped samples. Relevant only if .se_method == "bootstrap"
#' @param .n_boot The number of bootstrapped samples. Relevant only if .method == "bootstrap"
#' @param .weights_1 the weight to estimate IRR (see `lm_robust()`): NULL (default)
#' @param .clusters_1 the clusters to estimate IRR (see `lm_robust()`): NULL (default)
#' @param .se_type_1 the standard error type to estimate IRR (see `lm_robust()`): "classical" (default)
Expand Down
4 changes: 2 additions & 2 deletions man/pj_estimate.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/projoint.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e767ed3

Please sign in to comment.