Closed dhomme closed 8 years ago
A default plot() method similar to print() would be a nice feature.
plot.R6 <- function(x, ...) { if (is.function(x$plot)) { x$plot(...) } else { stop(paste("No plot function defined in class: ", paste(class(s1), collapse = " > "))) } }
A default plot() method similar to print() would be a nice feature.