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: README.Rmd
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,7 @@ knitr::kable(head(MaronGross_2013, 10), format = "pipe")
127
127
-`omit_stops` T/F (default=T) option to remove stopwords
128
128
-`lemmatize` T/F (default=T) lemmatize strings converting each entry to its dictionary form
129
129
-`which_stoplist` quoted argument specifying stopword list to apply, options include `none`, `MIT_stops`, `SMART_stops`, `CA_OriginalStops`, or `Temple_stops25`. Default is `Temple_stops25`.
130
+
-`remove_backchannel` T/F (default=F) option to preserve turns composed entirely of stopwords as NAs (when false) or remove the turn by 'squishing' the turns immediately preceding and following together.
knitr::kable(head(MarySumDat, 10), format = "simple", digits = 3)
154
155
```
155
156
157
+
# Optional: Generate sham conversations
158
+
## `generate_shams()`
159
+
Some research questions may benefit from the use of control conversations that lack the temporal continuity found in real transcripts. ``generate_shams`` shuffles each individual interlocutor's time series, producing a corpus of conversations consisiting of the same production, but in a random order. This provides a control to compare with real corpus summary statistics.
160
+
### <spanstyle="color: darkred;">Arguments to `generate_shams()`:</span>
161
+
-`dat_prep` dataframe created by ``prep_dyads()``function <br>
162
+
-`seed` a number to supply as a seed for reproducible sampling <br>
knitr::kable(head(MaryShams, 10), format = "simple", digits = 3)
167
+
```
168
+
156
169
# Optional: Generate corpus analytics
157
170
## `corpus_analytics()`
158
171
It is often critical to produce descriptives/summary statistics to characterize your language sample. This is typically a laborious process. ``corpus_analytics`` will do it for you, generating a near publication ready table of analytics that you can easily export to the specific journal format of your choice using any number of packages such as `flextable` or `tinytable`.
159
172
160
173
### <spanstyle="color: darkred;">Arguments to `corpus_analytics()`:</span>
161
174
-`dat_prep` dataframe created by ``prep_dyads()``function <br>
0 commit comments