analysis.dotplot: Generate Outlier Point Plot

Description Usage Arguments Details Value See Also Examples

View source: R/analysis_dotplot_outlier.R

Description

This function generates an outlier point plot (for a description see slide 117 of the DA1 lecture of WT 2015/16) showing the value distribution of data df, alllowing to identify potential outliers.

Usage

1
analysis.dotplot(df, plot.title = "Outlier")

Arguments

df

data.frame with the data that should be analyzed for outliers.

plot.title

Title for the ggplot object created via this method.

Details

The method generates a dotplot as an univariate outlier detector for a given set of data df (must not be a data.frame or matrix. So via the function analysis.dotplot it computes the distribution of values in each given column via table. Based on the distribution the method cpp_valueOccurrencesToPoints will generate visualizable points representing each occurence in the form (x[i], y[i,j]).

Value

ggplot point plot.

See Also

analysis.dotplot.all

cpp_valueOccurrencesToPoints

Examples

1
2
3
4
KaggleHouse:::analysis.dotplot(
   iris$Sepal.Length,
   plot.title = 'Outlier Plot for the Sepal Length of the Iris Dataset'
)

MarcoNiemann/kaggle_house documentation built on May 7, 2019, 2:50 p.m.