[R] Best method of analysis for negatively skewed longitudinal environmental data?

2015-01-23 Thread kmurphy
I have a dataset composed of a dependent variable (species percent cover) and a range of abiotic variables (salinity, temperature, pH, water movement etc). It is a longitudinal study, in which species percent cover was measured once a month for five months. The abiotic variables were measured using

[R] Best method for comparing rectangles sections of beach

2012-10-08 Thread Jhope
Hi R-listers, I am trying to compare sections of the beach separated from the HTL to the Veg (east to west), separated into indices (-5 to 30m), HTLIndex. Cross parallel (north to south) are major beach sections (Rayos 1, 2, 3, 4 and MNB). I am thinking to do an ANOVA for each independent rectan

Re: [R] Best method to add unit information to dataframe ?

2011-10-03 Thread Gabor Grothendieck
On Mon, Oct 3, 2011 at 10:35 AM, bruno Piguet wrote: > Dear all, > >  I'd like to have a dataframe store information about the units of > the data it contains. > >  You'll find below a minimal exemple of the way I do, so far. I add a > "units" attribute to the dataframe. But  I dont' like the long

Re: [R] Best method to add unit information to dataframe ?

2011-10-03 Thread Steve Lianoglou
Hi, If you want to take advantage of Josh's example below (using an S4 subclass of data.frame), perhaps you might be interested in taking advantage of the multitude of useful objects/classes defined in the bioconductor IRanges package: http://www.bioconductor.org/packages/release/bioc/html/IRange

Re: [R] Best method to add unit information to dataframe ?

2011-10-03 Thread Bert Gunter
Alternatively, you can make a separate S3 class for a data frame with this attribute -- and then have appropriate, print, plot, etc. methods that access it. That way, your messy syntax has to be written only once in the method functions. -- Bert On Mon, Oct 3, 2011 at 8:15 AM, Joshua Wiley wrot

Re: [R] Best method to add unit information to dataframe ?

2011-10-03 Thread Joshua Wiley
Hi Bruno, It sounds like what you want is really a separate class, one that has stores information about units for each variable. This is far from an elegant example, but depending on your situation may be useful. I create a new class inheriting from the data frame class. This is likely fraught

Re: [R] Best method to add unit information to dataframe ?

2011-10-03 Thread Marc Schwartz
On Oct 3, 2011, at 9:35 AM, bruno Piguet wrote: > Dear all, > > I'd like to have a dataframe store information about the units of > the data it contains. > > You'll find below a minimal exemple of the way I do, so far. I add a > "units" attribute to the dataframe. But I dont' like the long s

[R] Best method to add unit information to dataframe ?

2011-10-03 Thread bruno Piguet
Dear all, I'd like to have a dataframe store information about the units of the data it contains. You'll find below a minimal exemple of the way I do, so far. I add a "units" attribute to the dataframe. But I dont' like the long syntax needed to access to the unit of a given variable (namely

Re: [R] Best method

2010-01-15 Thread ONKELINX, Thierry
ens Vladimir Pekar Verzonden: vrijdag 15 januari 2010 11:26 Aan: r-help@r-project.org Onderwerp: [R] Best method Hi, I would like to ask for advice about best statistics method for my problem. I was done questionnaire about headache. My data are: Y - frequency of symptoms occur - times per mon

[R] Best method

2010-01-15 Thread Vladimir Pekar
Hi, I would like to ask for advice about best statistics method for my problem. I was done questionnaire about headache. My data are: Y - frequency of symptoms occur - times per month in range <0..30> (where 30 is daily and zero for never) and independent variables: X1 - sex - category {M,F} X2 -

Re: [R] best method to format output of frequency table

2009-09-16 Thread esawdust
Perfect, that works well. Thank you for the suggestion. Henrique Dallazuanna wrote: > > Try this: > > as.matrix(table(x)) > > -- View this message in context: http://www.nabble.com/best-method-to-format-output-of-frequency-table-tp25462448p25472239.html Sent from the R help mailing lis

Re: [R] best method to format output of frequency table

2009-09-16 Thread Henrique Dallazuanna
Try this: as.matrix(table(x)) On Tue, Sep 15, 2009 at 6:50 PM, esawdust wrote: > > I have some security alert log data that I'm parsing and doing some stats on. > One of the fields is the "Classtype" which is the enumerated value of the > type of alert found. > > classtypes = factor( alerts$Cla

[R] best method to format output of frequency table

2009-09-15 Thread esawdust
I have some security alert log data that I'm parsing and doing some stats on. One of the fields is the "Classtype" which is the enumerated value of the type of alert found. classtypes = factor( alerts$Classtype ) fclass_types = table( classtypes ) fclass_types gives me a frequency table of the