Re: [R-sig-eco] BiodiversityR CAPdiscrim error

2014-02-20 Thread Mitchell, Kendra
: Thursday, February 20, 2014 5:19 AM To: Mitchell, Kendra Cc: r-sig-ecology Subject: Re: [R-sig-eco] BiodiversityR CAPdiscrim error Hi Kendra, (sorry I got your name wrong, missed the comma.) [cc'ing the list: better to keep stuff there, so others could comment.] Ah, that's the trouble: your matrix

[R-sig-eco] BiodiversityR CAPdiscrim error

2014-02-18 Thread Mitchell, Kendra
I'm trying to run CAPdiscrim on a dissimilarity matrix with a catagorical variable attached on the right with cbind str(MD2.tyc.om) num [1:34, 1:35] 0 0.53 0.857 0.962 0.763 ... - attr(*, dimnames)=List of 2 ..$ : NULL ..$ : chr [1:35] ... CAPdiscrim(MD.2.tyc.om~MD.2.tyc.om[,35],

Re: [R-sig-eco] NA error in envfit

2013-12-06 Thread Mitchell, Kendra
From: Gavin Simpson [ucfa...@gmail.com] Sent: Friday, December 06, 2013 11:09 AM To: Dixon, Philip M [STAT] Cc: Mitchell, Kendra; r-sig-ecology@r-project.org Subject: Re: [R-sig-eco] NA error in envfit Phillip, You approach to using factors misses an important consideration

Re: [R-sig-eco] NA error in envfit

2013-12-05 Thread Mitchell, Kendra
...@iastate.edu] Sent: Thursday, December 05, 2013 8:42 AM To: Mitchell, Kendra Cc: r-sig-ecology@r-project.org Subject: NA error in envfit Kendra, I wonder if the problem is a factor level with no observations. One of the frustrating things about factors (class variables) in R is that the list

Re: [R-sig-eco] NA error in envfit

2013-12-05 Thread Mitchell, Kendra
Thanks, makes sense to remove a variable that has no variation and it fixed the issue. And that is much easier than building and installing from source. -- Kendra Maas Mitchell, Ph.D. Post Doctoral Research Fellow University of British Columbia 604-822-5646

[R-sig-eco] NA error in envfit

2013-12-03 Thread Mitchell, Kendra
I'm running a bunch of NMS with vectors fitted (slicing and dicing a large dataset in different ways). I'm suddenly getting an error from envfit f.bSBS.org.fit-envfit(f.bSBS.org.nms, f.bSBS.org.env, permutations=999, na.rm=TRUE) Error in vectorfit(X, P, permutations, strata, choices, w = w,

Re: [R-sig-eco] subsetting lower triangle distance matrix based on variable in another object

2013-07-31 Thread Mitchell, Kendra
: Mitchell, Kendra Subject: Re: [R-sig-eco] subsetting lower triangle distance matrix based on variable in another object Hi Kendra I had a similar problem a while back. As Jari says, you have to do the subsetting while the object is an ordinary matrix, and then convert it back to a dist object

[R-sig-eco] subsetting lower triangle distance matrix based on variable in another object

2013-07-30 Thread Mitchell, Kendra
I have a number of dissimilarity matrices built in another program that I'd like to subset then run NMS. #read in distance matrix b_bc03 -data.matrix(read.table(bac_final.an.thetayc.0.03.lt.ave.dist, row.names=1, header=T, fill=TRUE)) # creates a 736x736 double matrix #read in environmental

[R-sig-eco] betapart and nms

2013-05-10 Thread Mitchell, Kendra
I'm working on a large bacterial dataset, 700 samples with ~5600 species (rare species 100 observations have been removed). The samples are from experimental plots from 6 ecozones. I've done nms, betadisp, and permanova using several dissimilarity measures (jaccard, sorenson, Yuen's theta).

Re: [R-sig-eco] extract distance from betadisp {vegan}

2013-04-22 Thread Mitchell, Kendra
current hypothesis. -- Kendra Maas Mitchell, Ph.D. Post Doctoral Research Fellow University of British Columbia From: Gavin Simpson [gavin.simp...@ucl.ac.uk] Sent: Monday, April 22, 2013 3:41 PM To: Mitchell, Kendra Cc: r-sig-ecology@r-project.org Subject: Re