parplot: Plot distribution of parameters

Description Usage Arguments Author(s) Examples

View source: R/parplot.R

Description

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

Usage

1
2
3
4
5
parplot(object, ...)

## S3 method for class 'OLScurve'
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

Author(s)

Phil Chalmers rphilip.chalmers@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

philchalmers/OLScurve documentation built on May 25, 2019, 2:56 a.m.