Learn R Programming

imputeTestbench (version 2.0.2)

plot_errors: Function to plot the Error Comparison

Description

Function to plot the Error Comparison

Usage

plot_errors(dataIn, plotType, ...)

Arguments

dataIn
as input data in list format (returned by function inpute_errors())
plotType
as parameter to decide Plot Type to achieve: 1: Barplot, 2: Line plot
...
as additive functions for plot

Value

It returns the Error comparison for different methods

Examples

Run this code
# aa <- impute_errors()
# bb <- plot_errors(aa)
# bb

# cc <- impute_errors()
# dd <- plot_errors(dataIn = cc, plotType = 1, main = "Bar plot",
#         args.legend = list(x="topleft", bg = "NA"))

# cc <- impute_errors()
# dd <- plot_errors(dataIn = cc, plotType = 2)

Run the code above in your browser using DataLab