Skip to content

Commit

Permalink
fix example in summary
Browse files Browse the repository at this point in the history
  • Loading branch information
bcjaeger committed Nov 9, 2023
1 parent ec64d60 commit 008fe92
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions R/orsf_summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
#'
#' object <- orsf(pbc_orsf, Surv(time, status) ~ . - id, n_tree = 25)
#'
#' # since anova importance was used to make object, we can
#' # safely say importance = 'none' and skip computation of
#' # variable importance while running orsf_summarize_uni
#' # since anova importance was used to make object, it is also
#' # used for ranking variables in the summary, unless we specify
#' # a different type of importance
#'
#' orsf_summarize_uni(object, n_variables = 3, importance = 'none')
#' orsf_summarize_uni(object, n_variables = 3)
#'
#' # however, if we want to summarize object according to variables
#' # ranked by negation importance, we can compute negation importance
#' # within orsf_summarize_uni() as follows:
#' # if we want to summarize object according to variables
#' # ranked by negation importance, we can compute negation
#' # importance within orsf_summarize_uni() as follows:
#'
#' orsf_summarize_uni(object, n_variables = 3, importance = 'negate')
#'
Expand Down
4 changes: 2 additions & 2 deletions man/orsf_summarize_uni.Rd

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

0 comments on commit 008fe92

Please sign in to comment.