diff --git a/DESCRIPTION b/DESCRIPTION index f52367e..cf58b75 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -32,4 +32,4 @@ Encoding: UTF-8 LazyData: true LazyDataCompression: xz Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.2 +Config/roxygen2/version: 8.0.0 diff --git a/R/cls_data_2026.R b/R/cls_data_2026.R new file mode 100644 index 0000000..4d0ee19 --- /dev/null +++ b/R/cls_data_2026.R @@ -0,0 +1,16 @@ +#' Two classes, Two predictors 2026 Edition +#' +#' Used for the 2026 posit::conf tidymdoels workshop. The data contain two +#' predictors (`pred_1` and `pred_2`) and a factor colmnn (`class`) with +#' levels `"class_1"` and `"class_2"`. There are 1,000 rows in the data. +#' +#' @name cls_data_2026 +#' @aliases cls_data_2026 +#' @docType data +#' @return \item{cls_data_2026}{a data frame} +#' +#' @keywords datasets +#' @examples +#' data(cls_data_2026) +#' str(cls_data_2026) +NULL diff --git a/data/cls_data_2026.rda b/data/cls_data_2026.rda new file mode 100644 index 0000000..841b5c2 Binary files /dev/null and b/data/cls_data_2026.rda differ diff --git a/man/cls_data_2026.Rd b/man/cls_data_2026.Rd new file mode 100644 index 0000000..549475f --- /dev/null +++ b/man/cls_data_2026.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cls_data_2026.R +\docType{data} +\name{cls_data_2026} +\alias{cls_data_2026} +\title{Two classes, Two predictors 2026 Edition} +\value{ +\item{cls_data_2026}{a data frame} +} +\description{ +Used for the 2026 posit::conf tidymdoels workshop. The data contain two +predictors (\code{pred_1} and \code{pred_2}) and a factor colmnn (\code{class}) with +levels \code{"class_1"} and \code{"class_2"}. There are 1,000 rows in the data. +} +\examples{ +data(cls_data_2026) +str(cls_data_2026) +} +\keyword{datasets} diff --git a/man/modeldata-package.Rd b/man/modeldata-package.Rd index a3d2f48..e276949 100644 --- a/man/modeldata-package.Rd +++ b/man/modeldata-package.Rd @@ -20,9 +20,14 @@ Useful links: \author{ \strong{Maintainer}: Max Kuhn \email{max@posit.co} +Authors: +\itemize{ + \item Max Kuhn \email{max@posit.co} +} + Other contributors: \itemize{ - \item Posit Software, PBC (03wc8by49) [copyright holder, funder] + \item Posit Software, PBC (\href{https://ror.org/03wc8by49}{ROR}) [copyright holder, funder] } } diff --git a/man/sim_classification.Rd b/man/sim_classification.Rd index b79325d..73bad6d 100644 --- a/man/sim_classification.Rd +++ b/man/sim_classification.Rd @@ -278,7 +278,7 @@ respectfully. Like \code{\link[=sim_logistic]{sim_logistic()}} these equations u The individual equations are evaluated and exponentiated. After this, their values are, for each row of data, normalized to add up to one. These -probabilities are them passed to \code{\link[stats:Multinom]{stats::rmultinom()}} to generate the outcome +probabilities are them passed to \code{\link[stats:rmultinom]{stats::rmultinom()}} to generate the outcome values. } }