Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cop_pse_auxiliary.R(F - FALSE) #78

Merged
merged 42 commits into from
Feb 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
2192fc1
Update cop_pse_auxiliary.R
wwang93 Feb 17, 2024
a51a414
Update cop_pse_auxiliary.R
wwang93 Feb 17, 2024
32ba34e
Update concord1.R
wwang93 Feb 17, 2024
ea2c3c5
Update cop_pse_auxiliary.R
wwang93 Feb 17, 2024
c44f509
Update helper_output_print.R
wwang93 Feb 17, 2024
b308662
Update helper_output_dataframe.R
wwang93 Feb 17, 2024
5475749
Update helper_plot_correlation.R
wwang93 Feb 17, 2024
a29c19e
Update helper_plot_threshold.R
wwang93 Feb 18, 2024
0024bd0
Update konfound-glm-dichotomous.R
wwang93 Feb 18, 2024
ded8119
Update konfound-glm.R
wwang93 Feb 18, 2024
953fbc7
Update konfound-lm.R
wwang93 Feb 18, 2024
f4c9426
Update konfound-lmer.R
wwang93 Feb 18, 2024
022adc7
Update konfound.R
wwang93 Feb 18, 2024
ea06db5
Update mkonfound-data.R
wwang93 Feb 18, 2024
3ae5f08
Update mkonfound.R
wwang93 Feb 18, 2024
90cbc7d
Update core-sensitivity-mkonfound.R
wwang93 Feb 18, 2024
d9a587f
Update pkonfound.R
wwang93 Feb 18, 2024
0a127cb
Update test_cop.R
wwang93 Feb 18, 2024
8ae3fef
Update test_cop.R
wwang93 Feb 18, 2024
99ee392
Update test_pse.R
wwang93 Feb 18, 2024
619827c
Update test_sensitivity.R
wwang93 Feb 18, 2024
c1a27e2
Update test_sensitivity_ln.R
wwang93 Feb 18, 2024
780921b
Update tkonfound.R
wwang93 Feb 18, 2024
fa4a05c
Update tkonfound_fig.R
wwang93 Feb 18, 2024
0c3aa11
Update zzz.R
wwang93 Feb 18, 2024
853ae6e
Update helper_output_table.R
wwang93 Feb 18, 2024
5064575
Update nonlinear_auxiliary.R
wwang93 Feb 18, 2024
2af153f
Update test_cop.R
wwang93 Feb 18, 2024
db41c99
Update test_pse.R
wwang93 Feb 18, 2024
8d1482f
Update test_sensitivity_ln.R
wwang93 Feb 18, 2024
04586eb
Update test_pse.R
wwang93 Feb 19, 2024
e761827
Update test_cop.R
wwang93 Feb 19, 2024
b6d5d13
Update cop_pse_auxiliary.R
wwang93 Feb 19, 2024
fee677d
Update concord1.R
wwang93 Feb 19, 2024
5e4a9d7
Update cop_pse_auxiliary.R
wwang93 Feb 19, 2024
486b54f
Update core-sensitivity-mkonfound.R
wwang93 Feb 19, 2024
fc0c914
Update konfound-glm.R
wwang93 Feb 19, 2024
fa26fab
Update konfound-lmer.R
wwang93 Feb 19, 2024
519609c
Update mkonfound.R
wwang93 Feb 19, 2024
bcc60d2
Update nonlinear_auxiliary.R
wwang93 Feb 19, 2024
6135139
Update zzz.R
wwang93 Feb 19, 2024
36f5fd0
Update DESCRIPTION
wwang93 Feb 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update mkonfound.R
wwang93 authored Feb 19, 2024
commit 519609c8beba3e566c16899c31e490d769e2e9d7
3 changes: 2 additions & 1 deletion R/mkonfound.R
Original file line number Diff line number Diff line change
@@ -37,8 +37,8 @@
df_vec <- pull(select(d, !!df_enquo))

if (length(t_vec) <= 1) {
stop("To carry out sensitivity analysis
for a single study, use pkonfound()")

Check warning on line 41 in R/mkonfound.R

Codecov / codecov/patch

R/mkonfound.R#L40-L41

Added lines #L40 - L41 were not covered by tests
}

results_df <- purrr::map2_dfr(.x = t_vec, .y = df_vec,
@@ -51,7 +51,8 @@
)

p <- ggplot2::ggplot(results_df,
ggplot2::aes(x = results_df$pct_bias_to_change_inference,
ggplot2::aes(
x = results_df$pct_bias_to_change_inference,
fill = results_df$action)) +
ggplot2::geom_histogram() +
ggplot2::scale_fill_manual("", values = c("#1F78B4", "#A6CEE3")) +
Loading