[R] error message in cor.dist

2008-08-26 Thread Tanya Yatsunenko
Hello, I am trying to calculate pairwise Pearson correlation distances, and using biodist package, function "cor.dist". I start with a table of 4 rows and about 10 columns. (each of 4 samples, or rows have values in each of the 10 categories, no zeros or NAs). I am getting an error message: >

[R] candisc() error message

2008-06-15 Thread Tanya Yatsunenko
Hi, I am doing canonical discriminant analysis using candisc function from the candisc package. My input is a table of species distribution (columns = abundance of each species in each sample) in samples that are split by categories (rows), and I want to know whether each category is associated

[R] PCA : Error in eigen(cv,

2008-06-30 Thread Tanya Yatsunenko
Hi all, I am doing bootstrap on a distance matrix, in which samples have been drawn with replacement. After that I do PCA on a resulted matrix, and these 2 steps are repeated 1000 times. pca(x) is a vector where I wanted to store all 1000 PCAs; and x is from 1 to 1000 SampleD is a new matrix a

Re: [R] PCA : Error in eigen(cv,

2008-07-01 Thread Tanya Yatsunenko
at 9:08 PM, Tanya Yatsunenko <[EMAIL PROTECTED]> wrote: > Hi all, > > I am doing bootstrap on a distance matrix, in which samples have been drawn > with replacement. After that I do PCA on a resulted matrix, and these 2 > steps are repeated 1000 times. > > pca(x) is a v

[R] coding for categorical variables with unequal observations

2008-04-03 Thread Tanya Yatsunenko
Hi, I am doing multiple regression, and have several X variables that are categorical. I read that I can use dummy or contrast codes for that, but are there any special rules when there're unequal #observations in each groups (4 females vs 7 males in a "gender" variable)? Also, can R generate th

Re: [R] coding for categorical variables with unequal observations

2008-04-03 Thread Tanya Yatsunenko
Also, since I just started to use R, I have trouble generating and understanding some of the codes, especially choosing the correct ones. Thanks! tanya On Thu, Apr 3, 2008 at 3:54 PM, Tanya Yatsunenko <[EMAIL PROTECTED]> wrote: > Hi, > I am doing multiple regression, and have several