plot.2way: Plot of an additive fit

Description Usage Arguments Author(s) Examples

Description

Graphs an additive fit of a two-way table.

Usage

1
plot2way(row.part,col.part,row.lab=NULL,col.lab=NULL)

Arguments

row.part

numeric vector of values of row component

col.part

numeric vector of values of column component

row.lab

character vector of labels of row component

col.lab

character vector of labels of column component

Author(s)

Jim Albert

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
temps=matrix(data=c(50,30,35,21,38,
              73,58,65,57,63,
              88,83,89,84,86,
              73,62,68,59,66),nrow=5,ncol=4,
              dimnames=list(c("Atlanta","Detroit","Kansas City",
              "Minneapolis","Philadelphia"),c("January","April",
              "July","October")))
fit=medpolish(temps)
plot2way(fit$row+fit$overall,fit$col,
  dimnames(temps)[[1]],dimnames(temps)[[2]])

bayesball/LearnEDAfunctions documentation built on Sept. 20, 2020, 2:45 p.m.