diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2018-04-23 17:51:01 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2018-04-23 17:51:01 +0100 |
| commit | 198dd1859e96bdf6637d44de6632ad1cb4883604 (patch) | |
| tree | 1b5c2d5d23b21959685d6fddc55bb9b3acb81da8 /man/gensvm.grid.Rd | |
| parent | bump version and update cran comments (diff) | |
| download | rgensvm-198dd1859e96bdf6637d44de6632ad1cb4883604.tar.gz rgensvm-198dd1859e96bdf6637d44de6632ad1cb4883604.zip | |
replace dontrun with donttest in man pages
Diffstat (limited to 'man/gensvm.grid.Rd')
| -rw-r--r-- | man/gensvm.grid.Rd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/gensvm.grid.Rd b/man/gensvm.grid.Rd index 94cdcd5..6ce9ffe 100644 --- a/man/gensvm.grid.Rd +++ b/man/gensvm.grid.Rd @@ -131,7 +131,7 @@ be the same as the param.grid in the input. x <- iris[, -5] y <- iris[, 5] -\dontrun{ +\donttest{ # use the default parameter grid grid <- gensvm.grid(x, y, verbose=TRUE) } @@ -143,7 +143,7 @@ grid <- gensvm.grid(x, y, param.grid=pg) # print the result print(grid) -\dontrun{ +\donttest{ # Using a custom scoring function (accuracy as percentage) acc.pct <- function(yt, yp) { return (100 * sum(yt == yp) / length(yt)) } grid <- gensvm.grid(x, y, scoring=acc.pct) |
