generate.rank.matrix {TopKSignal}R Documentation

generate.rank.matrix

Description

The generate.rank.matrix() function requires the user to specify the number of objects (items), called p, and the number of assessors, called n. The function simulates full ranked lists (i.e. no missing assignments) without ties.

Usage

generate.rank.matrix(p, n, percentageMissing = 0)

Arguments

p

The number of objects.

n

The number of assessors.

percentageMissing

The percentage of the missing values. Note, missing data should be resolved by the rank() function before calling estimateTheta().

Value

A list with simulated data

Examples

p = 8
n = 10
input <- generate.rank.matrix(p, n)
rownames(input$R.input) <- c("a","b","c","d","e","f","g","h")

[Package TopKSignal version 1.0 Index]