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"

Try the openintro package in your browser

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

openintro documentation built on Sept. 1, 2022, 9:06 a.m.