R/nomogram_features3-data.R

#' Nomogram features using categorical predictors
#'
#' An example of a data frame for `sample_features` argument in 
#' \code{\link{create_nomogram}} function, must only include all possible 
#' combinations of feature values, where one column is available for each 
#' feature.
#'
#' @format A data frame with 16 rows and 4 columns:
#' \describe{
#'   \item{cyl.6}{A categorical predictor with values of 0 and 1.}
#'   \item{cyl.8}{A categorical predictor with values of 0 and 1.}
#'   \item{qsec.1}{A categorical predictor with values of 0 and 1.}
#'   \item{vs.1}{A categorical predictor with values of 0 and 1.}
#' }
#'
#' @source Derived from \code{mtcars} for examples in this package.
#' @keywords dataset
#' @name nomogram_features3
'nomogram_features3'

Try the rmlnomogram package in your browser

Any scripts or data that you put into this service are public.

rmlnomogram documentation built on April 4, 2025, 5:45 a.m.