R/data-res_demo.R

#' Simulated data for regression
#'
#' @name res_demo_1
#' @docType data
#' @format A data frame with 100 observations on the following 3 variables.
#' \describe{
#'   \item{x}{a numeric vector}
#'   \item{y_lin}{a numeric vector}
#'   \item{y_fan_back}{a numeric vector}
#'   }
#' @keywords datasets
#' @examples
#'
#' res_demo_1
"res_demo_1"





#' Simulated data for regression
#'
#' @name res_demo_2
#' @docType data
#' @format A data frame with 300 observations on the following 3 variables.
#' \describe{
#'   \item{x}{a numeric vector}
#'   \item{y_fan}{a numeric vector}
#'   \item{y_log}{a numeric vector}
#'   }
#' @keywords datasets
#' @examples
#'
#' res_demo_2
"res_demo_2"
OpenIntroStat/openintro documentation built on June 4, 2024, 4:19 a.m.