Learn R Programming

dlookr (version 0.5.0)

plot.overview: Visualize Information for an "overview" Object

Description

Visualize a plot by attribute of `overview` class. Visualize the data type, number of observations, and number of missing values for each variable.

Usage

# S3 method for overview
plot(x, order_type = c("none", "name", "type"), ...)

Arguments

x

an object of class "overview", usually, a result of a call to overview().

order_type

character. method of order of bars(variables).

...

further arguments to be passed from or to other methods.

See Also

overview, summary.overview.

Examples

Run this code
# NOT RUN {
ov <- overview(jobchange)
ov

summary(ov)

plot(ov)

# sort by name of variables
plot(ov, order_type = "name")

# sort by data type of variables
plot(ov, order_type = "type")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab