VDSM_scatterplot: VDSM-Scatterplot.

Description Usage Arguments Value Examples

View source: R/VDSM_scatterplot.R

Description

Plotting the VDSM-Scatterplot.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
VDSM_scatterplot(
  X,
  f,
  p,
  Anchor.estimate,
  xlim = NULL,
  ylim = NULL,
  Anchor.model = NULL,
  circlesize = 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.estimate

An estimation for the anchor model.

xlim

A vector with two elements which determine the range of x-axis in the plot.

ylim

A vector with two elements which determine the range of y-axis in the plot.

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.

fontsize

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

Value

A list with components

Scatterplot.info

The table includes all the information about each group, i.e., the total possible number of models in the group and the actual existing number of model in the group.

Hplus.histogram

The frequency of Hamming distance plus.

Hminus.weighted.histogram

The frequency of Hamming distance minus-weighted.

Examples

1
2
3
4
5
6
7
8
9
data(exampleX)
X=exampleX
data(examplef)
f=examplef
p=8
Anchor.estimate=c(3,2.5,2,1.5,1,0,0,0)
Scatter_example1 = VDSM_scatterplot(X,f,p,Anchor.estimate)
Scatter_example2 = VDSM_scatterplot(X,f,p,Anchor.estimate,xlim=c(0,5),
ylim=c(0,8),circlesize=15,fontsize=2)

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

Related to VDSM_scatterplot in VDSM...