Learn R Programming

OLScurve (version 0.2.0)

parplot: Plot distribution of parameters

Description

A plotting function for displaying the distribution of the OLS parameter estimates.

Usage

parplot(object, ...)
"parplot" (object, type = "hist", group = NULL, breaks = NULL, prompt = TRUE, ...)

Arguments

object
an object of class OLScurve
type
type of plot to display; can be 'hist', 'boxplot', or 'splom' for a histogram, boxplot, or scatter plot matrix
group
a factor grouping variable used to partition the results
breaks
number of breaks to be used in plotting the histogram
prompt
a logical variable indicating whether devAskNewPage(ask=TRUE) should be called
...
additional arguments to be passed

Examples

Run this code
## Not run: 
# data <- t(t(matrix(rnorm(1000),200)) + 1:5)
# group <- rep(c('Male', 'Female'), each=nrow(data)/2)
# mod <- OLScurve(~ time, data = data)
# parplot(mod)
# parplot(mod, type = 'boxplot')
# parplot(mod, type = 'splom')
# 
# parplot(mod, group=group)
# parplot(mod, type='boxplot', group=group)
# parplot(mod, type='splom', group=group)
# ## End(Not run)

Run the code above in your browser using DataLab