Learn R Programming

SSDforR (version 1.0)

ABplotm: Mulch line plot

Description

This function builds a multiple line chart for a given behavior across all phases. A space separates each phase.

Usage

ABplotm(behavior, phaseX, ABxlab, ABylab, ABmain)

Arguments

behavior
behavior variable
phaseX
phase variable
ABxlab
x label between quotes
ABylab
y label between quotes
ABmain
main title between quotes

References

Go to WWW.analysis.com for more information

Examples

Run this code
cry<-c(3, 4, 2, 5, 3, 4, NA, 2, 2, 3, 2, 1, 2, NA, 2, 2, 1, 2, 1, 0, 0, 0)
pcry<-c("A", "A", "A", "A", "A", "A", NA, "B", "B", "B", "B", "B", "B", NA, "B1", "B1", "B1", "B1", "B1", "B1", "B1", "B1")
yell<-c(3, 4, 2, 5, 5, 4, NA, 1, 2, 2, 2, 0, 0)
pyell<-c("A", "A", "A", "A", "A", "A", NA, "B", "B", "B", "B", "B", "B")
plotnum(2, 1)
ABplotm(cry,pcry,"week","amount","Crying")
ABplotm(yell,pyell,"week","amount","Yelling")

Run the code above in your browser using DataLab