Skip to content

Commit f825633

Browse files
committed
Add a data example
1 parent 4b04c89 commit f825633

File tree

4 files changed

+49
-0
lines changed

4 files changed

+49
-0
lines changed

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ RoxygenNote: 7.3.1
2020
Roxygen: list(markdown = TRUE)
2121
Suggests:
2222
altdoc
23+
LazyData: true

R/residual_surrealism.R

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#' Residual (Sur)Realism
2+
#'
3+
#' A dataset containing residuals from a surreal model.
4+
#'
5+
#' @format
6+
#' A data frame with 5,395 rows and 7 columns:
7+
#'
8+
#' @examples
9+
#' data(residual_surrealism)
10+
#'
11+
#' model = lm(V1 ~ ., residual_surrealism)
12+
#'
13+
#' plot(fitted(model),resid(model))
14+
#' abline(0, 0, col = "red")
15+
#'
16+
#' @source
17+
#' Leonard A Stefanski
18+
#' <https://www.tandfonline.com/doi/abs/10.1198/000313007X190079>
19+
"residual_surrealism"

data/residual_surrealism.rda

166 KB
Binary file not shown.

man/residual_surrealism.Rd

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)