[R] Results from Vegan metaMDS varry depending on set.seed

2013-12-26 Thread Vinny Moriarty
I've got an ecological data set that I've worked up to the point of having a relative abundance matrix I created with the decostand() command in Vegan. Here is the distance matrix data: S1<-c(0.4451517, 0.37919827, 0.10590466, 0.06974540) S2<-c(0.5064846, 0.32464164, 0.09679181, 0.07208191) S

Re: [R] Editing data sheet issue with write.table append

2013-04-20 Thread Vinny Moriarty
Newline) && all(rawNewline == > tail(lastChunk, 2)) > } > > Bill Dunlap > Spotfire, TIBCO Software > wdunlap tibco.com > > > > -Original Message- > > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf > > Of

[R] Editing data sheet issue with write.table append

2013-04-20 Thread Vinny Moriarty
I'm running R 2.15.2 on Max OS X 10.6.8 If I write a simple file Data1<-1 DF<-data.frame(Data1) colnames(DF)<-"Col1" and write to a csv file write.table(DF,file="Data.csv",sep=",",row.names=FALSE,col.names=TRUE) I can then append to it no problem Data2<-2 Data3<-4 DF2<-data.frame(Data2) DF

[R] Using R to read Nortek Aquadopp Profiler

2012-02-22 Thread Vinny Moriarty
Hello, I have current data from a nortek ADP, which is basically current speed and direction data in a 3 dimensional X Y Z format http://www.nortekusa.com/usa/products/current-profilers/aquadopp-profiler-1 The instrument logs data in a complex way and I was wondering if anyone has had any exp

[R] plotting a double y axis when x and y lengths differ

2011-11-15 Thread Vinny Moriarty
Hello All, Many thanks to the help I have received so far. Here is an example data set I hope to plot Data1 Year Data SE 1 20052 0.01 2 20064 0.01 3 20075 0.01 4 20082 0.01 5 20093 0.01 6 20106 0.01 Data2 Year Data SE 1 2006 32 1 2 2007 100 2 3 2008 60 4

[R] Subsetting data leads to funky plots

2011-11-11 Thread Vinny Moriarty
I'm trying out a basic plot, but something about the way I subset my data leads to problems with the plot. Here is the first bit of my data set year,date,location,quadrat_juvenile,photo_location,photo_exists,genus,count,divers 2005,2005-04-30, 1 Fringing Reef,1, 1 Fringing Reef Coral Transect Po

[R] Multiple time series with zoo

2011-10-31 Thread Vinny Moriarty
Thanks for everyone's input so far, it is greatly appreciated. But I've got one last task I could use some advice on Here are the first few lines of my data set: site,time_local,time_utc,reef_type_code,sensor_type,sensor_depth_m,temperature_c 06,2006-04-09 10:20:00,2006-04-09 20:20:00,BAK,sb39,

[R] Extracting data by row

2011-10-28 Thread Vinny Moriarty
Thanks everyone for you help with my last question, and now I have one last one... Here is a sample of my data in .csv format site,time_local,time_utc,reef_type_code,sensor_type,sensor_depth_m,temperature_c 06,2006-04-09 10:20:00,2006-04-09 20:20:00,BAK,sb39, 2, 29.63 06,2006-04-09 10:40:00,2006

[R] Simple time series question with zoo

2011-10-27 Thread Vinny Moriarty
New user here. My goal is pull daily averages from a long dataset. I've been working with some code I got from this list from https://stat.ethz.ch/pipermail/r-help/2009-March/191302.html The code how I have been using it is as follows: library(zoo) library(chron) DB<-read.table("/Users/me/Des