Learn R Programming

clustrd (version 0.1.2)

plotrd: plotrd

Description

Plot function that creates a ggplot2 based density map of the object scores and a scatter plot of both the attribute scores and the centroids. Creates a .png file in the working directory.

Usage

plotrd(clustrdOut,what=c("all","all"),obslabel=0,attlabel=0,density=T,fname=0)

Arguments

clustrdOut
list object created by one of the methods.
what
Vector of two character strings specifying the contents of the plot. First entry sets the rows and the second entry the columns. Allowed values are "all" (all available points, default) "none" (no points are displayed)
obslabel
the object labels; if not provided, no labeling is applied.
attlabel
the attribute labels; if not provided, default labeling is applied.
density
if TRUE a density map of the objects is created.
fname
name of the png file to be created. Default file name is "figure".

Value