R/fig_evidence_scale.R
fig_evidence_scale_logistic_p.Rd
Probability of making a "difference" decision as a function of the most extreme p value and evidence scale
fig_evidence_scale_logistic_p( pval = 0.05, seed = 1, shift_y = 0.2, around_y = 0.1, jitter_y = around_y/4, filter_func = function(data, ...) return(data) )
pval | vector of p values at which to indicate the scale of the respective null sampling distribution |
---|---|
seed | random seed for jitter of points |
shift_y | How far above/below the main graph to put the middle of the "scatter" plots |
around_y | How far above/below the middle of the "scatter" plots to put the points |
jitter_y | How much to jutter the points in the y direction |
filter_func | function to filter the data before plotting |
Invisibly returns the corresponding GLM test result
fig_evidence_scale_logistic_p()