View source: R/Ind_Evaluation_30112018.R
adjusted.weight.SI | R Documentation |
Calculates the adjusted weight for a given sub-item of a linguistic questionnaire
adjusted.weight.SI(x, i, k, b_jk)
x |
the data set to evaluate. |
i |
an observation index. |
k |
a sub-item index. |
b_jk |
an array referring to the initial weights given to each sub-item of the considered main-item. This array will be afterwards re-calculated. |
A numerical value giving the readjusted weight of the sub-item k of the considered main-item for the observation i.
data <- matrix(c(3,4,2,3,3,2,4,3,3,4,3,4,4,2,5,3,4,4,3,3,3,4,4,3,
3,3,4,3,3,3,3,4,4,3,5,3,4,3,3,3), ncol = 4)
adjusted.weight.SI(data, 7, 1, c(0.5,0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.