Update R doc by roxygen2. (#5201)

This commit is contained in:
Jiaming Yuan
2020-01-15 10:49:17 +08:00
committed by GitHub
parent 0184f2e9f7
commit 808f61081b
14 changed files with 179 additions and 48 deletions

View File

@@ -87,6 +87,6 @@ accuracy.after <- sum((predict(bst, new.dtest) >= 0.5) == agaricus.test$label) /
# Here the accuracy was already good and is now perfect.
cat(paste("The accuracy was", accuracy.before, "before adding leaf features and it is now",
accuracy.after, "!\\n"))
accuracy.after, "!\n"))
}