ds.kmeans_plot: Plot the results of a k-means analysis

View source: R/ds.kmeans_plot.R

ds.kmeans_plotR Documentation

Plot the results of a k-means analysis

Description

Wrapper of a scatter plot function that needs to be passed the results of ds.kmeans with assign = TRUE to have the results on the server side.

Usage

ds.kmeans_plot(x, xcomp, ycomp, ellipses = TRUE, datasources = NULL)

Arguments

x

character Name of the table on the server side with the results of the k-means (ds.kmeans(..., assign = TRUE))

xcomp

character Name of the variable on the 'x' data frame to be plotted on the x axis of the scatter plot

ycomp

character Name of the variable on the 'y' data frame to be plotted on the y axis of the scatter plot

ellipses

a flag indicates if ellipse is used

datasources

a list of DSConnection-class (default NULL) objects obtained after login

Value

ggplot object


isglobal-brge/dsMLClient documentation built on March 14, 2023, 1:59 p.m.