Factor Plot

A factor plot consists of side by side plots comparing the values of a variable for different levels of a factor. By default, box plots are used. See the plot.factor help file for details.

Choose Statistics __image\arrow5.gif Design __image\arrow5.gif Factor Plot from the main menu. The dialog shown below appears.

__image\factpl.gif

The Factor Plot has the following options:

Data Set

Select a data set from the dropdown list or type the name of a data set. You can also type into the Data Set edit field any expression that evaluates to a data set.

Subset Rows

Enter an S-PLUS expression that identifies the rows to use in the analysis. To use all the rows in the data set, leave this field blank.

Omit Rows with Missing Values

Select this box to omit from the analysis any rows in the data set that contain missing values for any of the variables in the model.

Variables

Choose a dependent and one or more independent variables. The dependent variable should be a continuous variable, and the independent variables should be factor variables.

Options

Type Choose a style of plot. Boxplot is the default.

Layout

Rows Select the number of rows per page in the graph layout.

Columns Select the number of columns per page in the graph layout.

Related programming language functions

MenuPlotFactor, plot.design