R: Draw Scatter Plots or Plot of Average Trajectory per Cluster,...

plot.clues {clues} | R Documentation

## Draw Scatter Plots or Plot of Average Trajectory per Cluster, or Both

### Description

Draw scatter plots, or plot of average trajectory per cluster, or both. A simple menu will prompt for the user to choose what will be plotted.

### Usage

    ## S3 method for class 'clues'
    plot(
        x, ask = TRUE, plot.dim = NULL,
        xlab = NULL, ylab = NULL,
        xlim = NULL, ylim = NULL, cex = NULL,
        las = NULL, lwd = NULL,
        xlab.avg.curve = "variable",
        ylab.avg.curve = "average observation", ...)

### Arguments

`x` | an object returend by the function `clues`.
`ask` | logical; if true, `plot.clues` operates in interactive mode, via `menu`.
`plot.dim` | specifies the dimensions to be plot in pair-wise scatter plots. The number of dimensions specified can be more than 2. If `plot.dim` is `NULL`, then pair-wise scatter plots of all dimensions will be plotted.
`xlab` | a title for the x axis. If `xlab = NULL`, then `xlab` will be set to be “”.
`ylab` | a title for the y-axis. If `ylab = NULL`, then `ylab` will be set to be “”.
`xlim` | range of x-axis. If `xlim = NULL`, then `xlim` will be set to be the range of the matrix `y` in the dimensions specified by `plot.dim`.
`ylim` | range of y-axis. If `ylim = NULL`, then `ylim` will be set to be the range of the matrix `y` in the dimensions specified by `plot.dim`.
`cex` | A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default. (see `par`). If `cex = NULL`, then `cex` will be set to be 2.
`las` | numeric in 0,1,2,3; the style of axis labels (see `par`. 0 means that the labels always parallel to the axis [default]; 1 means that the labels always horizontal; 2 means that the labels always perpendicular to the axis, 3 means that the lables always vertical. If `las = NULL`, then `las` will be set to be 2.
`lwd` | the line width, a positive number, defaulting to 1 (see `par`. If `lwd = NULL`, the `lwd` will be set to be 3.
`xlab.avg.curve` | label for x-axis in the plot of average trajectory per cluster.
`ylab.avg.curve` | label for y-axis in the plot of average trajectory per cluster.
`...` | graphical parameters (see `par`).

### Examples

        # Maronna data set
        data(Maronna)
        # data matrix
        maronna <- Maronna$maronna
        # apply clues to maronna data set
        res <- clues(maronna)
        # plot
        ## Not run:  plot(res)

[Package clues version 0.6.2.2 Index]