search for: mail2garymiller

Displaying 8 results from an estimated 8 matches for "mail2garymiller".

2009 Nov 21
2
Fw: Re: title problem
...rk but if doesn't at > the > > worst case I? > > >> could do as follows: > > >> > > >> title(main = "Main title\nSub title",outer = > TRUE, > > cex.main=1.5,...) > > >> > > >> --- On Sat, 11/21/09, Gary <mail2garymiller at gmail.com> > > wrote: > > >> > > >>> From: Gary <mail2garymiller at gmail.com> > > >>> Subject: Re: [R] title problem > > >>> To: "David Winsemius" <dwinsemius at comcast.net> > > >>> Cc: &quot...
2009 Dec 18
1
ggplot2 / lattice
Hi R Users, Is there a equivalent function for the following R code in Lattice package. I want to plot a grouped box plots (grouped by two factors). g <- rep.int(c("A", "B", "C", "D"), 125) t <- rnorm(5000) a <- sample(t, 500, replace=TRUE) b <- sample(t, 500, replace=TRUE) dta <- data.frame(val = sample(t,1000), g = gl(4, 250,
2009 Dec 06
3
SAS "datalines" or "cards" statement equivalent in R?
Hi R Users, Is there a equivalent command in R where I can read in raw data? For example I'm looking for equivalent R code for following SAS code: DATA survey; INPUT id sex $ age inc r1 r2 r3 ; DATALINES; 1 F 35 17 7 2 2 17 M 50 14 5 5 3 33 F 45 6 7 2 7 49 M 24 14 7 5 7 65 F 52 9 4 7 7 81 M 44 11 7 7 7 2 F 34 17 6 5 3 18 M 40 14 7 5 2 34 F 47 6 6 5 6 50
2009 Dec 08
3
re-ordering x-lables using barchart()
Hi R Users, I'm trying to re-order the "site names" ("Waseca", "Morris", ...). I'm using following code: libarry(lattice) barchart(yield ~ variety | site, data = barley, groups = year, layout = c(6,1), aspect=.7, ylab = "Barley Yield (bushels/acre)", scales = list(x = list(abbreviate = TRUE, rot=45,
2009 Nov 20
2
Stacked Bar Plot
Hi R Folks, I need to plot a stacked bar plot with row labels as A,B,C,... and each bar divided by x,y,.... Here is the data: x y A 1 .5 B -.2 .6 C .3 -.7 D .4 .8 (for e.g. x,y,... could be air pollutants and A,B,C,... could be months) Issue 1) It has negative values. Issue 2) It contain two categorical variables. Can anyone help me? Thanks, Gary [[alternative HTML version deleted]]
2009 Nov 24
2
Grouped Boxplot
Hi R Users, I'm interested in plotting a grouped boxplot (please see attached file for sample). Can anyone suggest a function{package} which can help me achieve this. Thanks, Gary
2010 Feb 12
2
print() / split()
Hi All, Can anyone please tell me what is the meaning of four coordinates in below print statement. Currently its dividing plotting window into 1 X 2 and I want to change it to 2 X 2 [ equivalent of par(mfrow=c(2,2)) ]. Thanks, require(lattice) p1=barchart(yield ~ variety | site, data = barley, groups = year, layout = c(1,6), ylab = "Barley Yield (bushels/acre)",
2009 Nov 25
2
Grouped Barplot
Hi R Users, I tried plotting a similar boxplot as it is on the FOLLOWING LINK: http://www.imachordata.com/wp-content/uploads/2009/09/boxplot.png Sample data is attached -- there are 9 years and 5 cities. In my case I'm looking to plot "Year" on x-axis and grouping boxplots by "City". I tried the following code. foo<-read.table("SampleData.csv",