Skip to content

Commit

Permalink
Removed default inputs for pj_estimate(), projoint_diff(), and projoi…
Browse files Browse the repository at this point in the history
…nt_level().

Since we set these parameters in projoint() and these functions are used only in projoint(), these defaults should be removed.
  • Loading branch information
yhoriuchi committed Sep 30, 2023
1 parent e582b4f commit 5f0ad37
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 100 deletions.
40 changes: 20 additions & 20 deletions R/pj_estimate.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,28 @@

pj_estimate <- function(
.data,
.structure = "profile_level",
.estimand = "mm",
.structure,
.estimand,
.att_choose,
.lev_choose,
.att_notchoose = NULL,
.lev_notchoose = NULL,
.att_choose_b = NULL,
.lev_choose_b = NULL,
.att_notchoose_b = NULL,
.lev_notchoose_b = NULL,
.se_method = "analytical",
.irr = NULL,
.remove_ties = TRUE,
.ignore_position = NULL,
.n_sims = NULL,
.n_boot = NULL,
.weights_1 = NULL,
.clusters_1 = NULL,
.se_type_1 = "classical",
.weights_2 = NULL,
.clusters_2 = NULL,
.se_type_2 = "classical"
.att_notchoose,
.lev_notchoose,
.att_choose_b,
.lev_choose_b,
.att_notchoose_b,
.lev_notchoose_b,
.se_method,
.irr,
.remove_ties,
.ignore_position,
.n_sims,
.n_boot,
.weights_1,
.clusters_1,
.se_type_1,
.weights_2,
.clusters_2,
.se_type_2
){

# check various settings --------------------------------------------------
Expand Down
30 changes: 15 additions & 15 deletions R/projoint_diff.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@

projoint_diff <- function(
.data,
.qoi = NULL,
.qoi,
.by_var,
.structure = "profile_level",
.estimand = "mm",
.se_method = "analytical",
.irr = NULL,
.remove_ties = TRUE,
.ignore_position = NULL,
.n_sims = NULL,
.n_boot = NULL,
.weights_1 = NULL,
.clusters_1 = NULL,
.se_type_1 = "classical",
.weights_2 = NULL,
.clusters_2 = NULL,
.se_type_2 = "classical"
.structure,
.estimand,
.se_method,
.irr,
.remove_ties,
.ignore_position,
.n_sims,
.n_boot,
.weights_1,
.clusters_1,
.se_type_1,
.weights_2,
.clusters_2,
.se_type_2
){

# bind variables locally to the function ----------------------------------
Expand Down
30 changes: 15 additions & 15 deletions R/projoint_level.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@

projoint_level <- function(
.data,
.qoi = NULL,
.structure = "profile_level",
.estimand = "mm",
.se_method = "analytical",
.irr = NULL,
.remove_ties = TRUE,
.ignore_position = NULL,
.n_sims = NULL,
.n_boot = NULL,
.weights_1 = NULL,
.clusters_1 = NULL,
.se_type_1 = "classical",
.weights_2 = NULL,
.clusters_2 = NULL,
.se_type_2 = "classical"
.qoi,
.structure,
.estimand,
.se_method,
.irr,
.remove_ties,
.ignore_position,
.n_sims,
.n_boot,
.weights_1,
.clusters_1,
.se_type_1,
.weights_2,
.clusters_2,
.se_type_2
){

# bind variables locally to the function ----------------------------------
Expand Down
40 changes: 20 additions & 20 deletions man/pj_estimate.Rd

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

30 changes: 15 additions & 15 deletions man/projoint_diff.Rd

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

30 changes: 15 additions & 15 deletions man/projoint_level.Rd

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

0 comments on commit 5f0ad37

Please sign in to comment.