R/plot.R

Defines functions EdR.plot

Documented in EdR.plot

EdR.plot <- function(plot_object, save_to_pdf, file_name_string, width, height) {
	if (save_to_pdf) {
		pdf(file=file_name_string, width=width, height=height, useDingbats=FALSE)
		print(plot_object)
		dev.off()
	}
	else {
		x11(width=width, height=height)
		print(plot_object)
	}
}
eloch216/EdR documentation built on Jan. 5, 2020, 7:26 p.m.