Skip to content

Commit

Permalink
correct missing control export
Browse files Browse the repository at this point in the history
  • Loading branch information
bcjaeger committed Oct 20, 2023
1 parent 26a58d7 commit 6eaef1d
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 290 deletions.
12 changes: 5 additions & 7 deletions R/orsf_control.R
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ orsf_control_custom <- function(beta_fun, ...){
#'
#' @param ... `r roxy_dots()`
#'
#' @noRd
#'
#' @details
#'
#' Adjust `scale_x` _at your own risk_. Setting `scale_x = FALSE` will
Expand All @@ -325,11 +327,7 @@ orsf_control_custom <- function(beta_fun, ...){
#' - `lincomb_ties_method`: method for ties in survival time
#' - `lincomb_R_function`: R function for custom splits
#'
#' @examples
#'
#' orsf_control_classification()
#' orsf_control_regression()
#' orsf_control_survival()
#'
orsf_control <- function(tree_type,
method,
Expand Down Expand Up @@ -369,7 +367,7 @@ orsf_control <- function(tree_type,

}

#' @rdname orsf_control

orsf_control_classification <- function(method = 'glm',
scale_x = TRUE,
net_mix = 0.5,
Expand All @@ -392,7 +390,7 @@ orsf_control_classification <- function(method = 'glm',

}

#' @rdname orsf_control

orsf_control_regression <- function(method = 'glm',
scale_x = TRUE,
net_mix = 0.5,
Expand All @@ -415,7 +413,7 @@ orsf_control_regression <- function(method = 'glm',

}

#' @rdname orsf_control

orsf_control_survival <- function(method = 'glm',
scale_x = TRUE,
ties = 'efron',
Expand Down
146 changes: 0 additions & 146 deletions man/orsf_control.Rd

This file was deleted.

Loading

0 comments on commit 6eaef1d

Please sign in to comment.