Here is a question from an old guy:
I want to use the boxplot function as follows:
boxplot( p.prop ~ R + bins )
This command makes nice boxplot for the factor R crossed with the factor
bins.
I am having alot of trouble getting control of the labels on the X axis. I want
to control it
, tick=TRUE , cex.axis = .8 , las=2
)
axis( side = 2 , at = seq(0,1,.1) , labels = seq(0,1,.1) )
My thanks to Steven Tucker, Joerg van den Hoff, and Michal Kubovy for their
suggesions
All the best,
Phil Smith
CDC
-Original Message-
From: Smith, Phil (CDC/CCID
Hi R-ers:
I'm drawing a plot and have used different line types (lty) for
different race/ethnicity groups. I want a legend that explains what line
types correspond to the different race/ethnicity groups. I used the
following code:
legend( 1992 , 42 , c(Hispanic , non-Hispanic white (NHW) ,
Hi R-Help:
I want to produce a map of the US with different colors for selected
states.
I installed the map package, and then used:
library(maps)
I can see that by using
map( 'state' )
you get the state boundaries, also.
How do I fill in different colors for the different states? I see