Description
Creates a heatmap-like plot for exploring the data
Usage
mine.plot(
x,
fun = is.na,
spacing = 5,
sort = F,
show.x = TRUE,
show.y = TRUE,
...
)
Arguments
- x
A data.frame
- fun
A function that evaluates a vector and returns a logical vector
- spacing
Numerical separation between lines at the y-axis
- sort
If TRUE, variables are sorted according to their results
- show.x
Should the x-axis be plotted?
- show.y
Should the y-axis be plotted?
- ...
further arguments passed to order()
Examples
Run this codemine.plot(airquality) #Displays missing data
mine.plot(airquality, fun=outliers) #Shows extreme values
Run the code above in your browser using DataLab