R/plot.informedness.R

Defines functions plot.informedness

Documented in plot.informedness

#' A method for plotting informedness objects
#' 
#' Takes an informedness object and plots it using ggplot
#' 
#' @author Richard D. Yentes \email{rdyentes@ncsu.edu}
#' @param x an informedness object
#' @param i a figure number for the graph
#' @export

plot.informedness <- function(x, i) {
  ggplot2::ggplot(x, aes(x=range, y=informedness)) + 
    geom_line() + geom_point() + 
    theme(legend.position="bottom", text=element_text(family="Times New Roman", size=12))
}
ryentes/rdy-dissertation-tools documentation built on Dec. 5, 2019, 10:23 p.m.