Skip to content

Commit bd934a5

Browse files
committed
update version (and use nicer minimal example)
1 parent 8b638f1 commit bd934a5

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: LexOPS
22
Title: A Package and Shiny App for Generating Matched Stimuli
3-
Version: 0.2.3.9002
3+
Version: 0.2.4
44
Date: 2020-09-07
55
Authors@R:
66
c(

README.Rmd

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ library(LexOPS)
1818

1919
<!-- badges: start -->
2020
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
21-
[![Version: 0.2.3](https://img.shields.io/badge/version-0.2.3-blue.svg)](https://github.com/JackEdTaylor/LexOPS/releases)
21+
[![Version: 0.2.4](https://img.shields.io/badge/version-0.2.4-blue.svg)](https://github.com/JackEdTaylor/LexOPS/releases)
2222
[![DOI: 10.3758/s13428-020-01389-1](https://zenodo.org/badge/DOI/10.3758/s13428-020-01389-1.svg)](https://doi.org/10.3758/s13428-020-01389-1)
2323
<!-- badges: end -->
2424

@@ -45,7 +45,7 @@ LexOPS makes it easy to generate matched stimuli in a reproducible way.
4545

4646
### The "Generate Pipeline"
4747

48-
The following example pipeline generates 50 words (all nouns) per condition (200 words in total), for a study with a 2 x 2, concreteness (low, high) by bigram probability (low, high) experimental design. Words are controlled for by length exactly, and by word frequency within a tolerance of ±0.2 Zipf.
48+
The following example pipeline generates 50 words per condition (200 in total), for a study with a 2 x 2, syllables (1, 2) by concreteness (low, high) design. Words are matched by length exactly, and by word frequency within a tolerance of ±0.2 Zipf.
4949

5050
```{r, include=FALSE}
5151
set.seed(99)
@@ -54,10 +54,8 @@ set.seed(99)
5454
```{r, eval = FALSE}
5555
library(LexOPS)
5656
57-
# generate stimuli
5857
stim <- lexops %>%
59-
subset(PoS.SUBTLEX_UK == "noun") %>%
60-
split_by(BG.SUBTLEX_UK, 0.001:0.004 ~ 0.008:0.011) %>%
58+
split_by(Syllables.eSpeak.br, 1:1 ~ 2:2) %>%
6159
split_by(CNC.Brysbaert, 1:2 ~ 4:5) %>%
6260
control_for(Zipf.SUBTLEX_UK, -0.2:0.2) %>%
6361
control_for(Length) %>%
@@ -67,8 +65,8 @@ stim <- lexops %>%
6765
```{r, warning = FALSE, echo = FALSE}
6866
cat(sprintf("\n")) # space between code and console output
6967
stim <- lexops %>%
70-
subset(PoS.SUBTLEX_UK == "noun") %>%
71-
split_by(BG.SUBTLEX_UK, 0.001:0.004 ~ 0.008:0.011) %>%
68+
subset(PK.Brysbaert >= 0.75) %>%
69+
split_by(Syllables.CMU, 1:1 ~ 2:2) %>%
7270
split_by(CNC.Brysbaert, 1:2 ~ 4:5) %>%
7371
control_for(Zipf.SUBTLEX_UK, -0.2:0.2) %>%
7472
control_for(Length) %>%

0 commit comments

Comments
 (0)