diff options
Diffstat (limited to 'R/plot.gensvm.R')
| -rw-r--r-- | R/plot.gensvm.R | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/R/plot.gensvm.R b/R/plot.gensvm.R index 0ce215b..85ff3b5 100644 --- a/R/plot.gensvm.R +++ b/R/plot.gensvm.R @@ -46,9 +46,9 @@ #' #' # 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) #' plot.gensvm <- function(fit, x, y.true=NULL, with.margins=TRUE, with.shading=TRUE, with.legend=TRUE, center.plot=TRUE, |
