aboutsummaryrefslogtreecommitdiff
path: root/man/plot.gensvm.Rd
diff options
context:
space:
mode:
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{