DSM_plot: DSM_plot plot the naive visualization of the distribution of...

Description Usage Arguments Value Examples

View source: R/DSM_plot.R

Description

DSM_plot plot the naive visualization of the distribution of selected model

Usage

1
2
3
4
5
6
7
8
9
DSM_plot(
  X,
  f,
  p,
  Anchor.model = NULL,
  circlesize = NULL,
  linewidth = NULL,
  fontsize = NULL
)

Arguments

X

A m*p matrix which contains m different p-dimensional models. All the elements are either 0 or 1.

f

A vector with m elements which represent each model's frequency in X.

p

The number of variate in the model

Anchor.model

A vector containing p elements with either 1 or 0 value and must be found in X. Default is the model with the highest frequency.

circlesize

customize the size of the circle in the plot, default is 10.

linewidth

Customize the width of the line in the plot, default is 1.

fontsize

Customize the size of the font in the circles, default is 1.5.

Value

A summarized information of the grouped models.

Examples

1
2
3
4
5
6
data(exampleX)
X=exampleX
data(examplef)
f=examplef
p=8
DSM_example1 = DSM_plot(X,f,p)

VDSM documentation built on April 16, 2021, 9:07 a.m.

Related to DSM_plot in VDSM...