Skip to content

Commit

Permalink
fix warning about data documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindhebbali committed Dec 17, 2020
1 parent d3bd860 commit ab55889
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 0 deletions.
13 changes: 13 additions & 0 deletions R/xpl-data-exam.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dummy data set for Cochran's Q test
#'
#' A dataset containing information about results of three exams.
#'
#' @format A data frame with 15 rows and 3 variables:
#' \describe{
#' \item{exam1}{result of exam1}
#' \item{exam2}{result of exam2}
#' \item{exam3}{result of exam3}
#' }
#'
#' @source \url{http://www.spss-tutorials.com/spss-cochran-q-test/}
"exam"
22 changes: 22 additions & 0 deletions R/xpl-data-hsb.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#' High School and Beyond Data Set
#'
#' A dataset containing demographic information and standardized test
#' scores of high school students.
#'
#' @format A data frame with 200 rows and 10 variables:
#' \describe{
#' \item{id}{id of the student}
#' \item{female}{gender of the student}
#' \item{race}{ethnic background of the student}
#' \item{ses}{socio-economic status of the student}
#' \item{schtyp}{school type}
#' \item{prog}{program type}
#' \item{read}{scores from test of reading}
#' \item{write}{scores from test of writing}
#' \item{math}{scores from test of math}
#' \item{science}{scores from test of science}
#' \item{socst}{scores from test of social studies}
#' }
#'
#' @source \url{http://www.ats.ucla.edu/stat/spss/whatstat/whatstat.htm}
"hsb"
11 changes: 11 additions & 0 deletions R/xpl-data-treatment.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#' Dummy data set for 2 Sample Proportion test
#'
#' A dataset containing information about two treatments
#'
#' @format A data frame with 50 rows and 2 variables:
#' \describe{
#' \item{treatment1}{result of treatment type 1}
#' \item{treatment2}{result of treatment type 2}
#' }
#'
"treatment"
24 changes: 24 additions & 0 deletions man/exam.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions man/hsb.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions man/treatment.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ab55889

Please sign in to comment.