Preference-coefficients-class: preference_coef

Preference coefficients-classR Documentation

preference_coef

Description

Class of preference coefficients

Arguments

N

The number of decision makers

p

The number of attributes of each decision makers

q

The number of attributes of each attributes

Examples

S <- matrix(rnorm(100), nrow = 20, byrow = TRUE)
X <- matrix(rnorm(20), nrow = 4, byrow = TRUE)
choice <- c(rep(1,5), rep(2,5), rep(3,5), rep(4,5))
estimator <- preference_coef(N=20, p=5, q=5)

a <- preference_coef(N=20, p=5, q=5)
a$gen(law="student")
a$gen(heterogeneity=TRUE)


AntoineDubois/sdcv2 documentation built on May 16, 2024, 3:23 p.m.