Displaying 16 results from an estimated 16 matches for "sonneborn".
2006 Jan 04
5
multiple lowess line in one plot
...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
2007 Apr 09
3
plot log scale, axis original scale
...the last. Here's what I'm
doing (which I got for the documentation for boxplot and axis). How do I
get the ticks to be labeled 2,5, and 9 of the original scale?
a<-c(1,2,3,4,5,6,7,8,9,10)
bcat<-c(1,1,1,2,2,2,2,3,3,3)
boxplot(log(a)~bcat, yaxt="n")
axis(2, tick=a)
--
Dean Sonneborn, MS
Programmer Analyst
Department of Public Health Sciences
University of California, Davis
(530) 754-9516 (voice)
(530) 752-3118 (fax)
[[alternative HTML version deleted]]
2006 Jan 26
2
footnote in postscript lattice
I would like to add a footnote to this graph but do not see a "footnote" command in the package:lattice documentation. I would 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 = T...
2004 Oct 18
2
x is not a open/high/low/close time series
...function gives the above error statement. I'm actually planning
to plot some odds ratios with their confidence intervals and the
hi-low-close chart should do the job if I can just figure out what the
ohlcPlot function is expecting the time series data to look like.
Thanks for the help
Dean Sonneborn
2005 Feb 03
1
two issues
...only contains one symbol for both!
here's the whole R code statement:
dotplot(chemical~adjlogmle| convert*tdnew, data=allrisk , group=rodentx,
main="Interspecies Conversion", pch=1:2, auto.key=TRUE, scales =
list(tick.number=10), fontfamily = "HersheySans")
Thanks,
Dean Sonneborn M.S.
Public Health Sciences *
University of California, Davis
916 734-6656
* formerly Epidemiology & Preventive Medicine
[[alternative HTML version deleted]]
2005 Feb 10
1
skip missing values in plots
...code to
skip the missing?
logreg<-read.csv("logreg.csv", header=TRUE, sep=",", na.string=" ")
attach(logreg)
bwplot(yesno~bc_pcb_tot |varlist, data=logreg, main="Box Cox PCB
transformation", auto.key=TRUE, fontfamily = "HersheySans" )
Dean Sonneborn M.S.
Public Health Sciences *
University of California, Davis
916 734-6656
* formerly Epidemiology & Preventive Medicine
[[alternative HTML version deleted]]
2005 Feb 24
1
3 boxplots in one
...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 Medicine
[[alternative HTML version deleted]]
2005 Aug 11
2
scatter plot
I'd like to do a simple scatter plot but instead of using the variable
values on the X axis I would like to plot the percentiles. I searched in
the manual for percentiles but did not find what I was looking for. I've
been using SAS for several years but I new to R.
--
Dean Sonneborn
Programmer Analyst
Department of Public Health Sciences
University of California, Davis
(916) 734-6656
2006 May 17
1
boxplot
...ine to be solid line, not
dashes. I have reviewed the lattice docs but have not seemed to come
across this point.
print( bwplot( group ~ lpcb_tot, data= data7, xlab="Log PCB",
+ ylab=
+ " G B
+ S M S M ") )
--
Dean Sonneborn, MS
Programmer Analyst
Department of Public Health Sciences
University of California, Davis
(530) 754-9516
2004 Oct 12
2
graph question
I would like to produce a graph which plots a log scale variable on the
y-axis but have the tick marks on the y-axis be the non log transformed
values that are round like .5, 1, 2, 3, 4 etc. Has anyone done something
like this in the past? How did you implement it in the code?
Thanks,
Dean
2005 Feb 03
0
two issues (black and white trellis graphics)
...e$strip.background$col <- "transparent" ## change strip bg
lattice.options(default.theme = ltheme) ## set as default
Hope this helps,
Matt Wiener
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Dean Sonneborn
Sent: Thursday, February 03, 2005 2:53 PM
To: R-help at stat.math.ethz.ch
Subject: [R] two issues
I'm working on a graphic but have run into a road block about two
issues. I don't have a color printer so I want to produce the graphic in
black and white. I'm currently using this
st...
2006 Aug 29
1
subset by two variables
...this: subset=source=="Both"
subset=site=="home" but this syntax is not correct. The documents in the
manual for subset seem to be creating whole new data files not just
selecting rows based on the contents of the variables. How do I subset
based on two variables.
--
Dean Sonneborn, MS
Programmer Analyst
Department of Public Health Sciences
University of California, Davis
(530) 754-9516
[[alternative HTML version deleted]]
2006 Mar 14
2
map question
Would anyone with experience with the map functions know how to divide
Czechoslovakia into the Czech Republic and Slovakia. They have been two
separate countries for some time now. I'm thinking about the worldhires
map database in particular.
--
Dean Sonneborn, MS
Programmer Analyst
Department of Public Health Sciences
University of California, Davis
(530) 754-9516
2006 Jan 11
1
4 smoothed lines on xyplot
...~ 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 Sonneborn, MS
Programmer Analyst
Department of Public Health Sciences
University of California, Davis
(530) 754-9516
2005 Sep 28
1
gee models summary
...e GEE models but when I request the summary(pcb.gee) all
I get are rows and rows of intercorelations and they fill up the screen
buffer so I can not even scroll back to see what else might be in the
summary. How do I get the summary function to NOT print the
intercorrelations?
Thanks,
--
Dean Sonneborn
Programmer Analyst
Department of Public Health Sciences
University of California, Davis
(916) 734-6656
2005 Sep 26
1
reading SAS data files
...see what I am doing incorrectly and can they offer any suggestions about getting this to run correctly?
I'm not sure where SAS is expecting to find the data file. I have it in the default R directory. Is this where
SAS is looking for it or does it need to be somewhere else?
Thanks,
--
Dean Sonneborn
Programmer Analyst
Department of Public Health Sciences
University of California, Davis
(916) 734-6656
[[alternative HTML version deleted]]