Skip to content

Commit c6d3713

Browse files
author
Luke McGuinness
committed
Updated descriptions of datasets included in the package
1 parent 9db810c commit c6d3713

10 files changed

+186
-136
lines changed

R/rob_data.R

+97-65
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,127 @@
1-
#' Example QUADAS-2 assessment
1+
#' Example QUADAS-2 assessment dataset
22
#'
3-
#' @format A data frame:
3+
#' @description A data frame containing 12 example assessments performed using
4+
#' the risk-of-bias portion of the QUADAS-2 tool for the assessment of
5+
#' diagnostic accuracy studies.
6+
#'
7+
#' @format A data frame with the following 6 columns:
48
#' \describe{
5-
#' \item{Study}{Study details}
6-
#' \item{D1}{Domain 1}
7-
#' \item{D2}{Domain 2}
8-
#' \item{D3}{Domain 3}
9-
#' \item{D4}{Domain 4}
9+
#' \item{Study}{Study identifier}
10+
#' \item{D1}{Domain 1 - Patient Selection}
11+
#' \item{D2}{Domain 2 - Index Test}
12+
#' \item{D3}{Domain 3 - Reference Standard}
13+
#' \item{D4}{Domain 4 - Flow & Timing}
1014
#' \item{Overall}{Overall risk of bias}
1115
#' }
1216
#' @source {Created for this package}
1317
#' @keywords internal
1418
"data_quadas"
1519

16-
#' Example QUIPS assessment
20+
#' Example QUIPS assessment dataset
21+
#'
22+
#' @description A data frame containing 12 example assessments performed using
23+
#' the QUIPS (Quality In Prognosis Studies) tool.
1724
#'
18-
#' @format A data frame:
25+
#' @format A data frame with the following 8 columns:
1926
#' \describe{
20-
#' \item{Study}{Study details}
21-
#' \item{D1}{Domain 1}
22-
#' \item{D2}{Domain 2}
23-
#' \item{D3}{Domain 3}
24-
#' \item{D4}{Domain 4}
25-
#' \item{D5}{Domain 5}
26-
#' \item{D6}{Domain 6}
27+
#' \item{Study}{Study identifier}
28+
#' \item{D1}{Domain 1 - Bias due to participation}
29+
#' \item{D2}{Domain 2 - Bias due to attrition}
30+
#' \item{D3}{Domain 3 - Bias due to prognostic factor measurement}
31+
#' \item{D4}{Domain 4 - Bias due to outcome measurement}
32+
#' \item{D5}{Domain 5 - Bias due to confounding}
33+
#' \item{D6}{Domain 6 - Bias in statistical analysis and reporting}
2734
#' \item{Overall}{Overall risk of bias}
2835
#' }
2936
#' @source {Created for this package}
3037
#' @keywords internal
3138
"data_quips"
3239

33-
#' Example ROB1 assessment
40+
#' Example ROB1 assessment dataset
41+
#'
42+
#' @description A data frame containing 9 example assessments performed using
43+
#' the RoB1 assessment tool. Note that this dataset is distinct from other
44+
#' example datasets included in this package, in that the column names are the
45+
#' full domain names, rather than domain shortcodes (e.g. D1, D2, etc.). This
46+
#' is because the "Generic" (formerly "RoB1") template offered by
47+
#' \code{robvis} allows users to create custom risk-of-bias plots, and uses
48+
#' the column names of the provided dataset to define the domain names for
49+
#' these custom plots.
3450
#'
35-
#' @format A data frame:
51+
#' @format A data frame with the following 9 columns:
3652
#' \describe{
37-
#' \item{Study}{Study details}
38-
#' \item{Random.sequence.generation.}{Domain 1}
39-
#' \item{Allocation.concealment.}{Domain 2}
40-
#' \item{Blinding.of.participants.and.personnel.}{Domain 3}
53+
#' \item{Study}{Study identifier}
54+
#' \item{Random.sequence.generation}{Domain 1}
55+
#' \item{Allocation.concealment}{Domain 2}
56+
#' \item{Blinding.of.participants.and.personnel}{Domain 3}
4157
#' \item{Blinding.of.outcome.assessment}{Domain 4}
4258
#' \item{Incomplete.outcome.data}{Domain 5}
43-
#' \item{Selective.reporting.}{Domain 6}
44-
#' \item{Other.sources.of.bias.}{Domain 7}
59+
#' \item{Selective.reporting}{Domain 6}
60+
#' \item{Other.sources.of.bias}{Domain 7}
4561
#' \item{Overall}{Overall risk of bias}
4662
#' }
4763
#' @source {Created for this package}
4864
#' @keywords internal
4965

5066
"data_rob1"
5167

52-
#' Example ROB2.0 assessment
68+
#' Example ROB2.0 assessment dataset
5369
#'
54-
#' @format A data frame:
70+
#' @description A data frame containing 9 example assessments performed using
71+
#' the RoB 2.0 tool for randomised controlled trials.
72+
#'
73+
#' @format A data frame with the following 7 columns:
5574
#' \describe{
56-
#' \item{Study}{Study details}
57-
#' \item{D1}{Domain 1}
58-
#' \item{D2}{Domain 2}
59-
#' \item{D3}{Domain 3}
60-
#' \item{D4}{Domain 4}
61-
#' \item{D5}{Domain 5}
75+
#' \item{Study}{Study identifier}
76+
#' \item{D1}{Domain 1 - Bias arising from the randomization process}
77+
#' \item{D2}{Domain 2 - Bias due to deviations from intended intervention}
78+
#' \item{D3}{Domain 3 - Bias due to missing outcome data}
79+
#' \item{D4}{Domain 4 - Bias in measurement of the outcome}
80+
#' \item{D5}{Domain 5 - Bias in selection of the reported result}
6281
#' \item{Overall}{Overall risk of bias}
6382
#' }
6483
#' @source {Created for this package}
6584
#' @keywords internal
6685
"data_rob2"
6786

68-
#' Example ROB2.0 assessment
87+
#' Example ROB2.0 (cluster variant) assessment dataset
88+
#'
89+
#' @description A data frame containing 9 example assessments performed using
90+
#' the cluster-randomised version of the RoB 2.0 tool.
91+
#'
92+
#' @format A data frame with the following 7 columns:
6993
#'
70-
#' @format A data frame:
7194
#' \describe{
72-
#' \item{Study}{Study details}
73-
#' \item{D1}{Domain 1}
74-
#' \item{D1b}{Domain 1b}
75-
#' \item{D2}{Domain 2}
76-
#' \item{D3}{Domain 3}
77-
#' \item{D4}{Domain 4}
78-
#' \item{D5}{Domain 5}
95+
#' \item{Study}{Study identifier}
96+
#' \item{D1}{Domain 1 - Bias arising from the randomization process}
97+
#' \item{D1b}{Domain 1b - Bias arising from the timing of identification and recruitment of Individual participants in relation to timing of randomization}
98+
#' \item{D2}{Domain 2 - Bias due to deviations from intended intervention}
99+
#' \item{D3}{Domain 3 - Bias due to missing outcome data}
100+
#' \item{D4}{Domain 4 - Bias in measurement of the outcome}
101+
#' \item{D5}{Domain 5 - Bias in selection of the reported result}
79102
#' \item{Overall}{Overall risk of bias}
80103
#' }
81104
#' @source {Created for this package}
82105
#' @keywords internal
83106

84107
"data_rob2_cluster"
85108

86-
#' Example ROBINS-I assessment
109+
#' Example ROBINS-I assessment dataset
110+
#'
111+
#' @description A data frame containing 10 example assessments performed using
112+
#' the ROBINS-I (Risk Of Bias In Non-randomised Studies - of Interventions) tool.
113+
#'
114+
#' @format A data frame with the following 9 columns:
87115
#'
88-
#' @format A data frame:
89116
#' \describe{
90-
#' \item{Study}{Study details}
91-
#' \item{D1}{Domain 1}
92-
#' \item{D2}{Domain 2}
93-
#' \item{D3}{Domain 3}
94-
#' \item{D4}{Domain 4}
95-
#' \item{D5}{Domain 5}
96-
#' \item{D6}{Domain 6}
97-
#' \item{D7}{Domain 7}
117+
#' \item{Study}{Study identifier}
118+
#' \item{D1}{Domain 1 - Bias due to confounding}
119+
#' \item{D2}{Domain 2 - Bias due to selection of participants}
120+
#' \item{D3}{Domain 3 - Bias in classification of interventions}
121+
#' \item{D4}{Domain 4 - Bias due to deviations from intended interventions}
122+
#' \item{D5}{Domain 5 - Bias due to missing data}
123+
#' \item{D6}{Domain 6 - Bias in measurement of outcomes}
124+
#' \item{D7}{Domain 7 - Bias in selection of the reported result}
98125
#' \item{Overall}{Overall risk of bias}
99126
#' }
100127
#' @source {Created for this package}
@@ -104,16 +131,20 @@
104131

105132
#' Example ROBINS-E assessment
106133
#'
107-
#' @format A data frame:
134+
#' @description A data frame containing 10 example assessments performed using
135+
#' the ROBINS-E (Risk Of Bias In Non-randomised Studies - of Exposures) tool.
136+
#'
137+
#' @format A data frame with the following 9 columns:
138+
#'
108139
#' \describe{
109-
#' \item{Study}{Study details}
110-
#' \item{D1}{Domain 1}
111-
#' \item{D2}{Domain 2}
112-
#' \item{D3}{Domain 3}
113-
#' \item{D4}{Domain 4}
114-
#' \item{D5}{Domain 5}
115-
#' \item{D6}{Domain 6}
116-
#' \item{D7}{Domain 7}
140+
#' \item{Study}{Study identifier}
141+
#' \item{D1}{Domain 1 - Bias due to confounding}
142+
#' \item{D2}{Domain 2 - Bias arising from measurement of the exposure}
143+
#' \item{D3}{Domain 3 - Bias in selection of participants into the study (or into the analysis)}
144+
#' \item{D4}{Domain 4 - Bias due to post-exposure interventions}
145+
#' \item{D5}{Domain 5 - Bias due to missing data}
146+
#' \item{D6}{Domain 6 - Bias arising from measurement of the outcome}
147+
#' \item{D7}{Domain 7 - Bias in selection of the reported result}
117148
#' \item{Overall}{Overall risk of bias}
118149
#' }
119150
#' @source {Created for this package}
@@ -123,9 +154,10 @@
123154

124155
# TODO Update data documentation for this dataframe
125156

126-
#' @title DATASET_TITLE
127-
#' @description DATASET_DESCRIPTION
128-
#' @format A data frame with 20 rows and 27 variables:
157+
#'@title Example directional risk-of-bias dataset
158+
#'@description This dataset is include to support experimental aspects of the
159+
#' package.
160+
#'@format A data frame with 20 rows and 27 variables:
129161
#' \describe{
130162
#' \item{\code{result_id}}{integer COLUMN_DESCRIPTION}
131163
#' \item{\code{study}}{character COLUMN_DESCRIPTION}
@@ -155,7 +187,7 @@
155187
#' \item{\code{d7d}}{character COLUMN_DESCRIPTION}
156188
#' \item{\code{overall}}{character COLUMN_DESCRIPTION}
157189
#'}
158-
#' @source {Created for this package}
159-
#' @keywords internal
190+
#'@source {Created for this package}
191+
#'@keywords internal
160192

161193
"data_bias_direction"

man/data_bias_direction.Rd

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/data_quadas.Rd

+10-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/data_quips.Rd

+11-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/data_rob1.Rd

+16-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/data_rob2.Rd

+10-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)