tableplot_jpg: Batch tableplot generator to JPEG

Description Usage Arguments Value Examples

Description

This functions allows you to create JPEGs of tableplots aganist a dataset and a specific label (which must be a factor or a numeric) A numeric target allows to provide an overview of each variable against the ordering of the label A factor target allows to provide an overview of each variable against each factor of the label

Usage

1
2
tableplot_jpg(data, target, nBins = 100, folder = "./autoplots/plot_",
  ID = FALSE, width = 960, height = 960, pointsize = 12)

Arguments

data

The data to load.

target

The target label. Either factor or numeric.

nBins

The amount of bins per histogram. Should be between 50 and 500 if possible (higher may overfit, lower may underfit). Defaults to 100.

folder

The output folder where tableplots will be stored. Defaults to "./autoplots/plot_".

ID

Should the filename use the ID of the feature (starts at 1) or the name of the feature? Defaults to FALSE.

width

The width output of each tableplot, in pixels. Defaults to 960.

height

The height output of each tableplot, in pixels. Defaults to 960.

pointsize

The pointsize output of each tableplot, in pixels. Defaults to 12.

Value

Nothing

Examples

1
2
3
4
5
## Not run: 
tableplot_jpg(train[, !(colnames(train) %in% "target")], train$target,
folder = "./plots/my_plot_", ID = FALSE, width = 960, height = 960, pointsize = 12)

## End(Not run)

Laurae2/Laurae documentation built on May 8, 2019, 7:59 p.m.