diff --git a/NAMESPACE b/NAMESPACE index 0d5ee5f..13bde39 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -19,6 +19,7 @@ S3method(model.matrix,RDDdata) S3method(plot,RDDdata) S3method(plot,RDDreg_lm) S3method(plot,RDDreg_np) +S3method(plotPlacebo,PlaceboVals) S3method(plotPlacebo,RDDreg) S3method(plotPlaceboDens,PlaceboVals) S3method(plotPlaceboDens,RDDreg) @@ -50,7 +51,6 @@ export(covarTest_mean) export(dens_test) export(gen_MC_IK) export(plotPlacebo) -export(plotPlacebo.PlaceboVals) export(plotPlaceboDens) export(plotSensi) export(vcovCluster) diff --git a/R/placebo.R b/R/placebo.R index 55c96a0..7580e0b 100644 --- a/R/placebo.R +++ b/R/placebo.R @@ -50,7 +50,7 @@ plotPlacebo.RDDreg <- function(object, device=c("ggplot", "base"), from=0.25, to -#' @export plotPlacebo.PlaceboVals +#' @export plotPlacebo.PlaceboVals <- function(object, device=c("ggplot", "base"),plot=TRUE, output=c("data", "ggplot"), ...){ device <- match.arg(device)