rankr | R Documentation |
The index numbers are based on the model coefficient table that comes straight out of the model, with no sorting.
The function will return a dataframe with the results for each pair of coeeficients tested.
rankr(coeftable = NULL, vcovmat = NULL, mysongidlist = NULL)
coeftable |
coefficients table from mlogit, with one row per coefficient |
vcovmat |
variance covariance matrix from mlogit, with one row and one column per coefficient |
mysongidlist |
a dataframe containing the list of song ids to be tested. It can contain other variables but only songid will be used. |
rankr
songstobecompared <- summary %>% slice(seq(from=1, to=92, by=10))
mycomparisons <- rankr(coeftable = results_ml_Repeatr4, vcovmat = vcovmat_ml_Repeatr4, mysongidlist = songstobecompared)
mycomparisons
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.