Re: [R] predict.lda breaks when priors are specified

2010-05-16 Thread Andrew Redd
Never mind. Stupid misplaced 's'. -Andrew On Sun, May 16, 2010 at 5:39 PM, Andrew Redd wrote: > Dear R help, > > What am I doing wrong here? when I don't specify the priors it works > just fine but when I specify the priors it breaks.  Does anyone know > why and how I can fix it? > >> N=2000

[R] predict.lda breaks when priors are specified

2010-05-16 Thread Andrew Redd
Dear R help, What am I doing wrong here? when I don't specify the priors it works just fine but when I specify the priors it breaks.  Does anyone know why and how I can fix it? > N=2 > ncontrol=ncases=50 > X <- as.matrix(rnorm(N,0,1)) > eta <- -5.3 + X * 1.7 > p <- exp(eta)/(1+exp(eta)) >