Skip to content

Commit

Permalink
remove .estimand from plot
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrkaufman committed Aug 15, 2023
1 parent caf828d commit 492a982
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions R/plot.projoint_results.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#' @import dplyr
#' @import stringr
#' @param x A \code{\link{projoint_results}} object
#' @param .estimand Either \code{"mm"} for marginal mean (default) or \code{"amce"} for average marginal component effect
#' @param .estimates The estimates to be plotted, either \code{"corrected"} (default), \code{"uncorrected"}, or \code{"both"}
#' @param .by_var \code{TRUE} to plot the difference in estimates between the two subgroups, \code{FALSE} (default) otherwise
#' @param .base_size base font size, given in pts.
Expand Down Expand Up @@ -39,7 +38,6 @@

plot.projoint_results <- function(
x,
.estimand = "mm",
.estimates = "corrected",
.by_var = FALSE,
.base_size = 12,
Expand Down Expand Up @@ -67,6 +65,7 @@ plot.projoint_results <- function(
stop("The x argument must be of class `projoint_results` from the `projoint` function.")
}

.estimand = x@estimand

if (.by_var == FALSE){

Expand Down
3 changes: 0 additions & 3 deletions man/plot.projoint_results.Rd

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

0 comments on commit 492a982

Please sign in to comment.