PlotMixtureUnivariate {netresponse} | R Documentation

## Plot univariate mixtures

### Description

Visualize data, centroids and stds for a given univariate Gaussian mixture model with PCA.

### Usage

    PlotMixtureUnivariate(
      x,
      means = NULL,
      sds = NULL,
      ws = NULL,
      title.text = NULL,
      xlab.text = NULL,
      ylab.text = NULL,
      binwidth = 0.05,
      qofz = NULL,
      density.color = "darkgray",
      cluster.assignments = NULL,
      ...
    )

### Arguments

`x` | data vector
`means` | mode centroids
`sds` | mode standard deviations
`ws` | weight for each mode
`title.text` | Plot title
`xlab.text` | xlab.text
`ylab.text` | ylab.text
`binwidth` | binwidth for histogram
`qofz` | Mode assignment probabilities for each sample. Samples x modes.
`density.color` | Color for density lines
`cluster.assignments` | Vector of cluster indices, indicating cluster for each data point
`...` | Further arguments for plot function.

### Value

Used for its side-effects

### Author(s)

Leo Lahti leo.lahti@iki.fi

### References

See citation('netresponse') for citation details.

### Examples

    # plotMixtureUnivariate(dat, means, sds, ws)

[Package netresponse version 1.52.0 Index]