Skip to content

Commit 75f5c47

Browse files
committed
a little more documentation
1 parent d0aaee9 commit 75f5c47

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

R/aaa_models.R

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,21 @@ get_model_env <- function() {
9090
#' @param value A list that conforms to the `fit_obj` or `pred_obj` description
9191
#' above, depending on context.
9292
#' @keywords internal
93+
#' @details These functions are available for users to add their
94+
#' own models or engines (in package or otherwise) so that they can
95+
#' be accessed using `parsnip`. This are more thoroughly documented
96+
#' on the package web site (see references below).
97+
#'
98+
#' In short, `parsnip` stores an environment object that contains
99+
#' all of the information and code about how models are used (e.g.
100+
#' fitting, predicting, etc). These functions can be used to add
101+
#' models to that environment as well as helper functions that can
102+
#' be used to makes sure that the model data is in the right
103+
#' format.
104+
#' @references "Making a parsnip model from scratch"
105+
#' \url{https://tidymodels.github.io/parsnip/articles/articles/Scratch.html}
93106
#' @examples
94-
#' # Show the infomration about a model:
107+
#' # Show the information about a model:
95108
#' show_model_info("rand_forest")
96109
#'
97110
#' # Access the model data:

man/check_mod_val.Rd

Lines changed: 18 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)