all_plot2 {allestimates}  R Documentation 
Plots all effect estimates against p values with each specific variable in the models
Description
all_plot2()
generates a panel of scatter plots with effect estimates of all possible models
again p values. Each plot includes effect estimates from all models including a specific variable.
Usage
all_plot2(
data,
xlabels = c(0, 0.001, 0.01, 0.05, 0.2, 0.5, 1),
xlim = c(0, 1),
xlab = "P value",
ylim = NULL,
ylab = NULL,
yscale_log = FALSE,
title = NULL
)
Arguments
data 
Object from 
xlabels 
numeric vector xaxis tick labels. Default is

xlim 
vector of 2 numeric values for xaxis limits. Default is 
xlab 
Character string for xaxis name. Default is 
ylim 
vector of 2 numeric values for yaxis limits. 
ylab 
Character string for yaxis name. Default depends on original model types. 
yscale_log 
TRUE or FALSE rescale yaxis to "log10". Default is 
title 
Character title. Default is 
Value
A ggplot2 object: scatter plot
Examples
vlist < c("Age", "Sex", "Married", "BMI", "Income")
results < all_cox(crude = "Surv(t0, t1, Endpoint) ~ Diabetes", xlist = vlist, data = diab_df)
all_plot2(results)
[Package allestimates version 0.2.3 Index]