Skip to content

Commit

Permalink
edit v6
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiAtsusaka committed Nov 28, 2024
1 parent 10406c5 commit 866fdd2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vignettes/v6-simulate-data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ knitr::opts_chunk$set(
)
```


In this vignette, we describe our helper function `rpluce` to simulate ranking data based on the Plackett-Luce model, also known as the rank-order logit or random utility model. To draw from the PL, `rpluce` requires a vector of probabilities that `t` items will be selected as the first choice, respectively. For each unit, the output provides a full ordering of `t` items with distinct alphabet letters.

```{r setup, message = FALSE, warning = FALSE}
library(rankingQ)
```


```{r}
draw <- rpluce(n = 50,
t = 4,
Expand Down

0 comments on commit 866fdd2

Please sign in to comment.