Displaying 4 results from an estimated 4 matches for "awgt".
Did you mean:
amgt
2006 Jan 04
5
multiple lowess line in one plot
...smoothed line. These two columns of data
really represent 4 groups and I'd like to plot a separate line for each
group but have them all in the same plot. The R-Docs for lowess do not
seem to indicate some type of "GROUPS=var_name" option. What would be
the syntax for this?
plot(AWGT ~ lipid )
lines(lowess(lipid , AWGT, f=.8))
--
Dean Sonneborn, MS
Programmer Analyst
Department of Public Health Sciences
University of California, Davis
(530) 754-9516
2005 Feb 24
1
3 boxplots in one
I currently have 3 separate boxplots but would like to put them all in the
graphic so they would have the same scale. Below are the three statements
and as you can see the Y axis is weight:
bwplot(AWGT~ male2 ....
bwplot(AWGT ~ bin_pcb2 .....
bwplot(AWGT ~ bin_pcb2 | male2 .....
Does anyone have some sample code where they have done something like this?
Thanks,
Dean Sonneborn M.S.
Public Health Sciences *
University of California, Davis
916 734-6656
* formerly Epidemiology & Preventive Me...
2006 Jan 11
1
4 smoothed lines on xyplot
...ors but when I try to use a white
background the lines change to dots and dashs. When I don't use a white
background it seems to use the solid colors lines.
plotchar <- c(3, 4 ,1 ,2 )
colr<- c(?green?, ?blue? , ?red?, ?black?)
library(lattice)
trellis.par.set(col.whitebg() )
xyplot(AWGT ~ lipid_adj_lpcb2_cent, groups=grpx, data=pcb_graph3,
auto.key=TRUE, col=colr,
pch=plotchar, type=c(?1?, ?smooth?), span=.8,
key=list(x=.14, y=.84,
points=list(col=colr, pch=plotchar),
lines=list(col=colr, pch=plotchar),
text=list(levels(pcb_graph3$grpx) , col=colr, pch=plotchar)))
--
Dean...
2006 Jan 26
2
footnote in postscript lattice
...like to note the "span=.8"
as the footnote.
postscript(file= ?C:/Documents and Settings/dsonneborn/My Documents/Slovak/output/pcb_tables/smooth_PCB_lines_four.ps?, bg=?transparent?, onefile=FALSE, pointsize=20,paper=?letter?, horizontal=TRUE, family=?Helvetica?,font=?Helvetica?)
xyplot(AWGT ~ lipid_adj_lpcb2_cent | malex*romanix, data=pcb_graph3,
auto.key = list(lines = TRUE, points = TRUE), ylab=?Birth Weight?, xlab=?Lipid Adjusted PCB?,
par.settings =
list(superpose.symbol = list(col = colr, pch = plotchar),
superpose.line = list(col = colr, pch...