Skip to content

Commit

Permalink
keywords fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
chancejohnstone committed May 9, 2020
1 parent 89b7124 commit 768b408
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 19 deletions.
4 changes: 2 additions & 2 deletions CRAN-RELEASE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This package was submitted to CRAN on 2020-05-02.
Once it is accepted, delete this file and tag the release (commit 213beee10d).
This package was submitted to CRAN on 2020-05-08.
Once it is accepted, delete this file and tag the release (commit 89b7124f6c).
5 changes: 2 additions & 3 deletions R/calibrate.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#' calibrate()
#'
#' This function outputs a calibrated significance level based on coverage of prediction intervals generated using oob collections. Primarily for use in RoyRF(). Attempting to see which other methods could utilize this procedure.
#' This function outputs a calibrated significance level based on coverage of prediction intervals generated using oob collections. Primarily for use in RoyRF().
#' @param oob collection of oob predictions for training data (in list form).
#' @param alpha nominal significance level. Defaults to 0.01.
#' @param response_data response data of class data.frame. Must have names() attribute.
Expand All @@ -31,8 +31,7 @@
#' @param undercoverage Allow undercoverage. Defaults to TRUE. Not currently implemented.
#' @param method Method to calibrate prediction intervals with. Defaults to "quantile"). Current only "quantile" implemented.
#' @param max_iter Maximum number of iterations. Defaults to 10.
#' @keywords random forest, calibration, internal
#' calibrate <- function(oob, alpha = alpha, response_data, dep, tolerance = .025)
#' @keywords internal
calibrate <- function(oob, alpha = .1, response_data, tolerance = .025,
step_percent = .618, undercoverage = FALSE, method = "quantile",
max_iter = 10) {
Expand Down
3 changes: 3 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ Additional license not added because their code holds the same license (GPL-3).
-Corrected par() mistake; reverted par() setting back to original after example
-Reduced references in documentation to seven; all methods explicitly used in package
-Added documentation for each function in package

05-08-2020.2
-Fixed keyword issues
15 changes: 1 addition & 14 deletions man/calibrate.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 768b408

Please sign in to comment.