n_jkq.: Calculates the number of answers by a specific linguistic of...

Description Usage Arguments Value

View source: R/Ind_Evaluation_30112018.R

Description

Calculates the number of answers by a specific linguistic of a sub-item

Usage

1
n_jkq.(x, varindex, q, p_ind = rep(1, nrow(x)))

Arguments

x

the data set to evaluate.

varindex

index of a particular sub-item.

q

index of a particular linguistic term.

p_ind

a vector of the relative sampling weights of the units, for which length(p_ind) = nrow(data). If the weights are not relative, the following expression should be applied on the vector:

\frac{p_{ind}}{∑_{i=1}^{n} p_{ind}}.

If no sampling weights are used, the vector of weights is reduced to a vector of values 1, i.e. rep(1, nrow(data)).

Value

A positive integer.


FuzzySTs documentation built on Nov. 23, 2020, 5:11 p.m.