plotFirstOrderMarginals: Function to visualize the first order marginals

Description Usage Arguments Details Value Examples

Description

This function estimates from a list of permutations the first order marginals and visualizes them

Usage

1
2
3
4
5
6
plotFirstOrderMarginals(
  permutations,
  type = "ranking",
  decreasing = FALSE,
  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)

Details

This function requires two additional packages, ggplot2 and reshape2

Value

An object of class ggplot with the visualization

Examples

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

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