getFirstOrderMarginals: Function to get the first order marginals

Description Usage Arguments Value Examples

Description

This function estimates, from a list of permutations, the first order marginals

Usage

1
getFirstOrderMarginals(permutations, smoothed = FALSE)

Arguments

permutations

a list of objects of class Permutation

smoothed

a logical value to indicate whether the estimation should be smoothed (FALSE by default)

Value

A matrix containing the first order marginals

Examples

1
2
3
scores <- matrix(rnorm(100, 1, 3), ncol=10)
permus <- getPermutationFromScores (scores)
getFirstOrderMarginals(permus)

anderct105/Dataset_R documentation built on Dec. 24, 2021, 12:16 a.m.