Learn R Programming

lares (version 4.8.4)

export_plot: Install latest version of H2O

Description

This function lets the user un-install the current version of H2O installed and update to latest stable version.

Usage

export_plot(
  p,
  name = "plot",
  vars = NA,
  sep = ".vs.",
  width = 8,
  height = 6,
  res = 300,
  dir = getwd(),
  subdir = NA,
  quiet = FALSE
)

Arguments

p

ggplot2 or gridExtra object. Plot to export

name

Character. File's name or sufix if vars is not null

vars

Vector. Variables in plot

sep

Character. Separator for variables

width, height, res

Numeric. Plot's width, height, and res (for grids)

dir

Character. In which directory do you wish to save the results? Working directory as default.

subdir

Character. Into which subdirectory do you wish to save the plot to?

quiet

Boolean. Display succesful message with filename when saved?

See Also

Other Tools: autoline(), bindfiles(), bring_api(), db_download(), db_upload(), export_results(), get_credentials(), h2o_predict_API(), h2o_predict_MOJO(), h2o_predict_binary(), h2o_predict_model(), h2o_selectmodel(), h2o_update(), haveInternet(), image_metadata(), importxlsx(), ip_country(), iter_seeds(), json2vector(), listfiles(), mailSend(), msplit(), myip(), pass(), quiet(), read.file(), statusbar(), tic(), try_require(), updateLares(), zerovar()

Examples

Run this code
# NOT RUN {
p <- noPlot()
export_plot(p, name = "noplot", width = 10, height = 8, res = 300)
export_plot(p, name = "noplot2", dir = "~/Desktop", subdir = "newplots")
# }

Run the code above in your browser using DataLab