Skip to content

Commit

Permalink
erev
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeJSeo committed Aug 11, 2023
1 parent 01d4c42 commit cce5bec
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 6 deletions.
6 changes: 4 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ Imports:
stats,
survival,
DescTools,
MASS
MASS,
boot
Suggests:
knitr,
testthat (>= 2.0)
testthat (>= 2.0),
ggplot2
VignetteBuilder:
knitr
biocViews:
Expand Down
1 change: 0 additions & 1 deletion R/bucher.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#' \item{pval}{p-value of Z-test, with null hypothesis that \code{est} is zero}
#' }
#' @export
#' @import stats

bucher <- function(trt, com, conf_lv = 0.95) {
est <- trt$est - com$est
Expand Down
2 changes: 0 additions & 2 deletions R/maic_unanchored_tte.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
#' }
#'
#' @return A list of KM plot, analysis table, and diagnostic plot
#' @importFrom survival Surv survfit coxph cox.zph
#' @importFrom graphics par axis lines points legend abline
#' @export

maic_tte_unanchor <- function(useWt, dat, dat_ext, trt, trt_ext,

Check warning on line 22 in R/maic_unanchored_tte.R

View workflow job for this annotation

GitHub Actions / SuperLinter 🦸‍♀️ / SuperLinter 🦸‍♂️

file=/github/workspace/R/maic_unanchored_tte.R,line=22,col=31,[object_name_linter] Variable and function name style should be snake_case or symbols.
Expand Down
30 changes: 30 additions & 0 deletions R/maicplus.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#' maicplus: open source R package for MAIC
#'
#' A package for running matching adjusted indirect comparison
#'
#' This package facilitates performing matching adjusted indirect comparison
#' (MAIC) analysis where the endpoint of interest is either time-to-event
#' (e.g. overall survival) or binary (e.g. objective tumor response).
#'
#' @docType package
#' @name maicplus-package
#'
#'

#' @import graphics
NULL

#' @import stats
NULL

#' @import survival
NULL

#' @import DescTools
NULL

#' @import MASS
NULL

#' @import boot
NULL
1 change: 0 additions & 1 deletion R/matching.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ estimate_weights <- function(data, centered_colnames = NULL, start_val = 0, meth
#' @param main_title a character string, main title of the plot
#'
#' @return a plot of unscaled or scaled weights
#' @importFrom graphics hist
#' @export

plot_weights <- function(wt, bin_col = "#6ECEB2", vline_col = "#688CE8", main_title = "Unscaled Individual Weights") {
Expand Down

0 comments on commit cce5bec

Please sign in to comment.