pplot {lazy.tools} | R Documentation |
Profile Plot
pplot(
df,
var = NULL,
pty = 16,
pcol = 1:8,
pch = 2,
lwd = 2,
plty = 1:8,
plwd = 2,
axislabcol = "blue",
title = "",
vlabels = NULL,
caxislabels = NULL,
paxislabels = NULL,
legend = 1,
lpos = c(1.5, -0.2),
lcex = 1,
llwd = 1,
lbty = "n",
standard = 0,
nobspc = 0,
down = 1,
across = 1,
mar = c(8, 2, 1, 2),
...
)
df |
data frame |
var |
sas-like abbreviated list of variables to be used. |
pty |
A vector to specify point symbol: |
pcol |
A vector of color codes for plot data: |
pch |
plot character |
lwd |
line width |
plty |
A vector of line types for plot data: |
plwd |
A vector of line widths for plot data: |
axislabcol |
not used. |
title |
plot title string. |
vlabels |
not used. |
caxislabels |
not used. |
paxislabels |
not used. |
legend |
= 1 to display legend. |
lpos |
upper left corner of the legend. |
lcex |
font size for the legend. |
llwd |
line width for the legend. |
lbty |
the type of box to be drawn around the legend. |
standard |
= 1 to standardize the variables |
nobspc |
# of observations in one chart. |
down |
# of graphs in a column. |
across |
# of graphs in a row. |
mar |
margins for multiple graphs per page. |
... |
Miscellaneous arguments to be given for plot. |
None
data=data.frame(a=c(1,2,3,4),b=c(0,1,0,1),c=c(4,3,2,1))
pplot( data)
pplot( data, nobspc=2 )
pplot( data, nobspc=2, across=2 )