plot.fs.n1.class: Plot fs.n1.class objects

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/plot.fs.n1.class.R

Description

S3 Method to plot objects of class fs.n1.class. Graphic display of the number of unique subsamples produced by multiple Forward Searches.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'fs.n1.class'
plot(
 x,
 cutoff=default.cutoff,
 n1.type=default.type,
 lwd=default.lwd,
 lty=default.lty,
 col=default.col,
 ylim = default.ylim, 
 xlim = default.xlim,
 ...)

Arguments

x

Object of class fs.n1.class produced by fs.MSA.n1.

cutoff

Default is the cutoff used for determining n1 in fs.MSA.n1.

n1.type

Default is "unique" which shows number of unique subsamples; "major" shows the number of subsamples not belonging to largest unique subsample; "both" plots both unique and major.

lwd

Line width

lty

Line type

col

Colour to be used for the lines.

ylim, xlim

Range of x and y values with sensible defaults.

...

Other arguments are ignored.

Value

Returns a graph.

Author(s)

W. P. Zijlstra w.p.zijlstra@uvt.nl

References

Zijlstra, W. P., Van der Ark, L. A., and Sijtsma, K. (2011). Robust Mokken scale analysis by means of the forward search algorithm for outlier detection. Multivariate Behavioral Research, 46, 58-89.

See Also

fs.MSA.n1, fs.MSA, plot.fs.class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
## Retrieve data (588 observations)
  data(acs)

# Determine n1 by running the Forward Search for Mokken scale analysis
# B=100 times 
  fwdmsa.res.n1 <- fs.MSA.n1(acs, B=100)

# Plot of number unique subsamples
  plot(fwdmsa.res.n1)

# Plot of number of subsamples not belonging to largest unique subsample (majority)
  plot(fwdmsa.res.n1,n1.type="major")

## End(Not run)

fwdmsa documentation built on May 2, 2019, 8:26 a.m.