aboutsummaryrefslogtreecommitdiff
path: root/man/plot.gensvm.Rd
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2018-03-27 13:57:25 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2018-03-27 13:57:25 +0100
commit50b52b707ea3d02a26b42554a424c3983f16aa58 (patch)
tree625e0ac415a5e88743255f5b2a5e956f78dc169b /man/plot.gensvm.Rd
parentupdate submodule (diff)
downloadrgensvm-50b52b707ea3d02a26b42554a424c3983f16aa58.tar.gz
rgensvm-50b52b707ea3d02a26b42554a424c3983f16aa58.zip
fix examples after testing them all
Diffstat (limited to 'man/plot.gensvm.Rd')
-rw-r--r--man/plot.gensvm.Rd6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/plot.gensvm.Rd b/man/plot.gensvm.Rd
index b597e18..e28a108 100644
--- a/man/plot.gensvm.Rd
+++ b/man/plot.gensvm.Rd
@@ -51,9 +51,9 @@ plot(fit, x, y.true=y)
# plot only misclassified samples
x.mis <- x[predict(fit, x) != y, ]
-y.mis.true <- y[predict(fit, x) != y, ]
-plot(fit, x.bad)
-plot(fit, x.bad, y.true=y.mis.true)
+y.mis.true <- y[predict(fit, x) != y]
+plot(fit, x.mis)
+plot(fit, x.mis, y.true=y.mis.true)
}
\author{