[R] trimming plotting area in a boxplot

2006-11-24 Thread Patrick Kuss
Hello all, I am trying to trim the plotting area in a boxplot, such that the space between the plot margins (left and right) are of identical size as between the boxes. In the example below I want to get rid of the space outside of the abline(). I appreciate any suggestions. Factor = LETTERS[

[R] comparing mantel tests for three different species

2006-04-26 Thread Patrick Kuss
allows me to do this? Cheers and thank for any comments Patrick -- Patrick Kuss PhD-student Institute of Botany University of Basel Schönbeinstr. 6 CH-4056 Basel +41 61 267 2976 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] assigning 'heat.colors' according to ages in 'symbols()'

2006-04-13 Thread Patrick Kuss
=c(0,10),inches=F) -- Patrick Kuss PhD-student Institute of Botany University of Basel Schönbeinstr. 6 CH-4056 Basel +41 61 267 2976 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://

[R] lattice histogram finetuning

2006-01-31 Thread Patrick Kuss
g=0) JU.m <- round(rnorm(20,mean=10,sd=1),dig=0) JU.l <- round(rnorm(20,mean=13,sd=1),dig=0) age <- c(FU.e,FU.m,FU.l,SP.e,SP.m,SP.l,JU.e,JU.m,JU.l) site <- rep(c("FU","SP","JU"),each=60) succession <- rep(c("early","mid","late

[R] dendrogram branches with different lty

2005-12-16 Thread Patrick Kuss
rick hc <- hclust(dist(USArrests), "ave") (dend1 <- as.dendrogram(hc)) par(mfrow=c(2,2)) plot(dend1) plot(dend1[[1]],edgePar=list(lty=3)) plot(dend1[[2]],edgePar=list(lty=1)) -- Patrick Kuss PhD-student Institute of Botany University of Basel Schönbeinstr. 6 CH-4056 Basel +41 61 267 297

[R] retrieving p-values in lm

2005-12-09 Thread Patrick Kuss
alt,H) lm.res <- summary(lm(H~alt,data=X)) lm.res p1 <- lm.res[[4]][[8]] p1 lm.res.2 <- summary(lm(H~alt+I(alt^2),data=X)) lm.res.2 str(lm.res.2) # where is p p2 <- lm.res.2[[???]][[]] -- Patrick Kuss PhD-student Institute of Botany University of Basel Schönbeinstr. 6 CH-

[R] running AMOVA from spreadsheet genotype data

2005-10-25 Thread Patrick Kuss
- Weitergeleitete Nachricht von Patrick Kuss <[EMAIL PROTECTED]> - Datum: Tue, 25 Oct 2005 17:28:33 +0200 Von: Patrick Kuss <[EMAIL PROTECTED]> Antwort an: Patrick Kuss <[EMAIL PROTECTED]> Betreff: running AMOVA from spreadsheet genotype data An: [EMAIL

[R] running AMOVA from spreadsheet genotype data

2005-10-25 Thread Patrick Kuss
mples, $distances, $structures data.frames from my data subset? Cheers Patrick -- Patrick Kuss PhD-student Institute of Botany University of Basel Schönbeinstr. 6 CH-4056 Basel +41 61 267 2976 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/