graphic_data: Draw a plot using the pararameters passed

Description Usage Arguments Value Examples

Description

Draw a plot using the pararameters passed

Usage

1
2
graphic_data(type, data, columns, dataSelected = NULL, xlim = NULL,
  ylim = NULL, nClasses = NULL)

Arguments

type

String with plot type

data

Data.frame that contains the data to plot

columns

Columns to represent in the plot

dataSelected

Rows selected from the data

xlim

Specifies the limit for x axis

ylim

Specifies the limit for y axis

nClasses

Split data in classes to draw in bloxplot

Value

plot

Examples

1
2
3
4
5
6
7
8
9
library(dataesgobr)

datasets <- search_by_title('atestados')
datasetsfiltered <- filter_by_title(datasets, "1999")
dataset <- load_dataset(datasetsfiltered)
download_data(dataset, "text/csv", TRUE, noconfirm = TRUE)
content <- load_data(file.path(tempdir(), "DB_HER_1999.csv"))
graph <- graphic_data("plot", content, "SEXO", xlim = 3, ylim = 2000)
graph

dataesgobr documentation built on June 18, 2019, 5:04 p.m.