plot-methods: plot method

Description Usage Arguments Value Author(s)

Description

plot method for linearRegressionResult instance

plot method for logisticRegressionResult instance

plot method for kMeansResult instance

plot method for svmResult instance

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## S4 method for signature 'linearRegressionResult,ANY'
plot(x, title = "", xlab = "",
  ylab = "")

## S4 method for signature 'logisticRegressionResult,ANY'
plot(x, title = "", xlab = "",
  ylab = "")

## S4 method for signature 'kMeansResult,ANY'
plot(x, trace = F, title = "", xlab = "",
  ylab = "")

## S4 method for signature 'svmResult,ANY'
plot(x, X, y, type, title = "", xlab = "",
  ylab = "")

Arguments

object

A linearRegressionResult instance.

object

A logisticRegressionResult instance.

x

A kMeans instance

trace

tracing centroids when algorithm progress

x

A svmResult instance

X

data matrix

y

class label, 0 or 1

type

one of linear or nonlinear

title

title

xlab

xlab

ylab

ylab

Value

ggplot object

ggplot object

graph

ggplot2 graph object

Author(s)

Guangchuang Yu http://ygc.name

Guangchuang Yu http://ygc.name

Guangchuang Yu http://ygc.name

Guangchuang Yu http://ygc.name


GuangchuangYu/mlass documentation built on May 6, 2019, 9:02 p.m.