You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: intro.Rmd
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -77,12 +77,12 @@ all of which are defined in Table \@ref(tab:questions-table).
77
77
Carefully formulating a question as early as possible in your analysis—and
78
78
correctly identifying which type of question it is—will guide your overall approach to
79
79
the analysis as well as the selection of appropriate tools.\index{question!data analysis}
80
-
\index{descriptive!definition}
81
-
\index{exploratory!definition}
82
-
\index{predictive!definition}
83
-
\index{inferential!definition}
84
-
\index{causal!definition}
85
-
\index{mechanistic!definition}
80
+
\index{descriptive question!definition}
81
+
\index{exploratory question!definition}
82
+
\index{predictive question!definition}
83
+
\index{inferential question!definition}
84
+
\index{causal question!definition}
85
+
\index{mechanistic question!definition}
86
86
87
87
Table: (\#tab:questions-table) Types of data analysis question. From [What is the question?](https://science.sciencemag.org/content/347/6228/1314)[@leek2015question] and [The Art of Data Science](https://leanpub.com/artofdatascience)[@peng2015art].
88
88
@@ -157,9 +157,9 @@ Since we are using R for data analysis in this book, the first step for us is to
157
157
load the data into R. When we load tabular data into
158
158
R, it is represented as a *data frame* object\index{data frame!overview}. Figure
159
159
\@ref(fig:img-spreadsheet-vs-dataframe) shows that an R data frame is very similar
160
-
to a spreadsheet. We refer to the rows as **observations**\index{observation}; these are the things that we
161
-
collect the data on, e.g., voters, cities, etc. We refer to the columns as
162
-
**variables** \index{variable}; these are the characteristics of those observations, e.g., voters' political
160
+
to a spreadsheet. We refer to the rows as \index{observation}**observations**; these are the things that we
161
+
collect the data on, e.g., voters, cities, etc. We refer to the columns as \index{variable}
162
+
**variables**; these are the characteristics of those observations, e.g., voters' political
0 commit comments