Learn R Programming

fdesigns (version 1.2)

plot.fglm: Plot of fglm Objects

Description

Plot of "fglm" objects. For the choice of a profile factor, the optimal functions are plotted.

Usage

# S3 method for fglm
plot(x, pf = NULL, ...)

Value

Plots are produced on the active graphics device. No object is returned.

Specifically, n.runs plots are drawn, showing the optimal functions of the selected profile factor. The x-axis represents time, the y-axis represents the values of the profile factor function, and the plot title indicates the run number corresponding to each curve.

Arguments

x

An object of class "fglm".

pf

An integer specifying which profile factor to plot. Must be between 1 and x$npf. If NULL (default), the function will prompt the user interactively.

...

Additional arguments to be passed to other methods.

Author

Damianos Michaelides <dm3g15@soton.ac.uk>, Antony Overstall, Dave Woods

Details

The function plots the design functions corresponding to the selected profile factor. If pf = NULL, the user is asked interactively which profile factor to plot. The value needs to be between 1 and the argument npf from the function pfglm.