Re: [R] Dot plots in R

2007-11-24 Thread A. Beaujean
stripchart would probably work, e.g., data<-matrix(c(rep(1,4),rep(2,4),rep(3,10),rep(4,8),rep(5,11)), ncol=1) stripchart(data, method="stack", pch=16) On Nov 24, 2007 3:26 PM, Paul Smith <[EMAIL PROTECTED]> wrote: > Dear All, > > Can R produce dot plots like the one of the following picture: > >

Re: [R] Dot plots in R

2007-11-24 Thread A. Beaujean
?stripchart shows the at command e.g., stripchart(data, method="stack", pch=16, at=0) On Nov 24, 2007 4:02 PM, Paul Smith <[EMAIL PROTECTED]> wrote: > On Nov 24, 2007 9:57 PM, jim holtman <[EMAIL PROTECTED]> wrote: > > Does this give you want you want? > > > > x <- sample(1:10) > > plot(rep(1:10,

Re: [R] covariance matrix of the regression coefficients

2007-10-29 Thread A. Beaujean
If X is your p-1 variable matrix (with the first column vector being 1s), i.e., nrow(X)=n and ncol(X)=p then MSE<-summary(lm(Y~X[2]+X[3] + ...X[P-1]))$s^2 and your coefficient (co)variance matrix is MSE*ginv(t(X)%*%X) Best, Alex On 10/29/07, Peter B. Mandeville <[EMAIL PROTECTED]> wrote: > >