plot_ds: plot_ds

Description Usage Arguments Value Examples

View source: R/plot_ds.R

Description

It plots the data depending on the data used

Usage

1
plot_ds(dataset, x, y = NULL, colour = NULL)

Arguments

dataset

dataframe. Name of the dataset to plot

x

numeric vector or vector of factors Name of the column

y

numeric vector. Name of the column for scatterplot

colour

numeric or vector of factors. Name of the column to paint the data in the plot

Value

scatterplot if numeric vector, barplot if vector of factors

Examples

1
2
3
4
## Not run: 
plot_ds(dataset=canada_ab,x=canada_ab$abortion,colour=canada_ab$importance)

## End(Not run)

unimi-dse/bf98dcbb documentation built on Feb. 17, 2020, 4:04 a.m.