How do I get a grouped data object to use the level names from the input
data set?
first I gave the levels some names like this:
male <-factor(male)
levels(male) <- c(“Girls”,”Boys”)
Then I created a groupdedData object but the male variable in not part
of the grouping formula.
Then I fit an
. 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, Da
n 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
ables/figure2_March27b.jpg",theme=col.whitebg)
print( xyplot(AWGT ~ log(pcb_80) | malex*romanix, data=pcb_graph3a,
auto.key = list(lines = TRUE, points = TRUE), ylab="Birth Weight",
xlab="log PCB",
type=c("p", "smooth"), span=.8) )
dev.off()
thanks
--
g 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
__
R-help@stat.
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 An
d png
graphics devices" documentation. It seems to create an empty file. Is it
that this function can not work with lattice plots? Can R directly write
a jpeg or pgn file?
--
Dean Sonneborn, MS
Programmer Analyst
Department of Public Health Sciences
University of California,
=”Lipid Adjusted PCB”,
par.settings =
list(superpose.symbol = list(col = colr, pch = plotchar),
superpose.line = list(col = colr, pch = plotchar, lty = 1)),
type=c("p", "smooth"), span=.8)
dev.off()
thanks
--
Dean Sonneborn, MS
Programmer Analyst
Departm
st(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
__
R-help@stat.math.ethz.ch ma
. 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
__
R-help@stat.math.ethz.c
tions?
Thanks,
--
Dean Sonneborn
Programmer Analyst
Department of Public Health Sciences
University of California, Davis
(916) 734-6656
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
seconds
cpu time0.20 seconds
Does anyone 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 l
el=function(x,y){
panel.xyplot(x,y)
panel.lmline(x,y)}, auto.key=TRUE, data=centered, na.strings="",
fontfamily = "HersheySans" , scales = list( tick.number = 10))
--
Dean Sonneborn
Programmer Analyst
Department of Public Health Sciences
University
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
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 del
formation", 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]]
_
y 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,
I'm creating a dotchart but the background color is gray. In fact, when
ever I use the Lattice package the background is gray, which prints as
black on my non-color printer. How do I change the background color to
white? I'm also plotting two groups and would like to use circles and
triangles a
anning
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
__
[EMAI
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
___
20 matches
Mail list logo