Load the package

library(RBeast)

Load the data

logfile <- system.file("extdata", "beast_glm_example.log", package = "RBeast")
glm.log <- read.table(file = logfile, header = TRUE)

Making the plot

predictor.names <- c("hostDistance",  "rangeOverlap", "roostStructures",
                     "wingAspectRatio", "wingLoading", "bodySize")
plot_simple_glm(Names = predictor.names, Log = glm.log, intercept = FALSE,
         conditional = TRUE, export = FALSE)
plot_glm(Names = predictor.names, Log = glm.log, intercept = FALSE,
         conditional = TRUE, export = FALSE)


beast-dev/RBeast documentation built on May 12, 2019, 10:02 a.m.