Displaying 20 results from an estimated 800 matches similar to: "ANOVA from imported data has only 1 degree of freedom"
2009 Jan 07
1
Replace Function (How to replace numbers in a data frame with a specific number)
taxa <- (structure(list(Date = structure(c(4L, 4L, 4L, 4L, 4L, 4L, 4L,
4L, 4L, 4L, 4L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L), .Label = c("2006/04",
"2006/05", "2006/07", "2006/10", "2006/12", "2007/02", "2007/04",
"2007/06", "2007/08", "2007/10", "2007/12", "2008/01"), class =
2010 Feb 05
2
number of Excel worksheets
Dear All,
I would like to count or list the names of the existing worksheets
within an .xls file. Any hints?
Thaks,
Gabor
--
Pozsgai G?bor
www.coleoptera.hu
www.photogabor.com
2011 Feb 05
1
very basic HLM question
Hi everyone,
I need to get a between-component variance (e.g. random effects Anova),
but using lmer I don't get the same results (variance component) than
using random effects Anova. I am using a database of students, clustered
on schools (there is not the same number of students by school).
According to the ICC1 command, the interclass correlation is .44
> ICC1(anova1)
[1] 0.4414491
2011 Aug 24
4
unused argument(s) (Header = True) help!
Hi,
I'm really new to R so I aoplogise if this is a stupid question.
I'm trying to import data from a .txt file into R using the read.table
command, the headers for the data columns are already in the text file so I
add Header = True after the file location. The problem is I keep getting the
error message *unused argument(s) (Header = True)*, does anyone know why?
The format of the text
2011 Oct 09
1
glmmadmb help
[cc'ed back to r-help]
I've started to take a look, and there's nothing immediately obvious
about the problem with the fit (the warnings and errors are about a
"non-positive-definite Hessian", which usually means an
overfitted/poorly identified model) -- still working on whether there's
a way to get more useful information.
As it turns out, glmmADMB's default
2006 Feb 26
2
subtotal, submean, aggregate
Dear All,
I would like to make partial sums (or means or any other function) of
the values in intervals along a sequence (spatial transect) where groups
are defined.
For instance:
habitats<-rep(c("meadow","forest","meadow","pasture"),c(10,5,12,6))
observations<-rpois(length(habitats),2)
2002 Sep 11
2
fitting a linear mixed effects model
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1284 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20020911/e68e2ecc/attachment.bin
2011 Apr 28
1
using lme4 with three nested random effects
Hi all,
I'm trying to fit models for data with three levels of nested random
effects: site/transect/plot. For example,
modelincrBS<-glmer(l.ru.ba.incr~shigo.av+pre.f.crwn.length+bark.thick.bh+Date+slope.pos.num+dens.T+dbh+leaf.area+can.pos.num+(1|site/transect/plot),
data=rws30.UL, family=gaussian, na.action=na.omit)
but I get the following error:
Error: length(f1) == length(f2) is not
2011 Nov 12
1
Subsetting data leads to funky plots
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 Pole 1-2
Quadrat 1,t,Acanthastrea,0,HP+MEM
2005,2005-04-30, 1 Fringing Reef,1, 1 Fringing Reef
2019 Jan 04
3
My 1973 VW Karmann Ghia
I wonder if it's the same part as used on the VW Samba!
J
On 04/01/2019 21:55, Steven Hirsch via samba wrote:
> On Fri, 4 Jan 2019, Susan Slayter King via samba wrote:
>
>> I crashed my car and need the entire turn indicator assembly. Drivers
>> side.
>> Can anybody help. No local retailers have it. I did get a wiring tube
>> but
>> still need the seal,
2003 Feb 12
1
Na/NaN error in subsampling script
R-help readers,
I''m having a problem with an R script (see below), which regularly generates the error message,
Error in start:(start + (sample.length - 1)) :
NA/NaN argument
, for which I am unsure of the cause.
In essence, the script (below) generates the start and end points for random subsamples from along a vector (in reality a transect (of a given length,
2010 Aug 13
1
loop for inserting rows in a matrix
Dear R friends,
I have a matrix with 2060 rows and 41 columns. One column is Date, another is Transect, and another is Segment. I want to ensure that there are 9 Transects (1 to 9) for each Date, and 8 Segments (1 to 8) for each Transect in the matrix, by inserting rows where these are missing.
I am new to coding, but am trying to write a loop which checks if each of the transects already
2008 Mar 20
1
minimum distances
Hi,
I have a question about computing shortest Euclidean distances between
two data frames of spatial points...
I have 2 dataframes (not yet converted to spatial class)
>Sewers<-data.frame(x=c(10,20,35,50),y=c(100,150,200,300))
>transect <- data.frame(x=seq(from=0, to=50, by=1),y=seq(from=100,
to=150, by=1))
I would like to be able to compute the shortest distance from the
2011 Nov 18
1
One-way repeated measures ANOVA
Hi all,
I'm trying to run a repeated measures ANOVA on some univariate ecological
data that was collected over two growing seasons. I ran the test using the
methodology found on this website:
http://rtutorialseries.blogspot.com/2011/02/r-tutorial-series-one-way-repeated.html
Upon running the actual ANOVA I got this error message:
"> rmanova=anova(yearmodel, idata=yearframe,
2008 Aug 17
1
before-after control-impact analysis with R
Hello everybody,
In am trying to analyse a BACI experiment and I really want to do it
with R (which I find really exciting). So, before moving on I though it
would be a good idea to repeat some known experiments which are quite
similar to my own. I tried to reproduce 2 published examples but without
much success. The first one in particular is a published dataset
analysed with SAS by
2006 Sep 12
1
Using XY location data to calculate ecological parameters
Dear R gurus,
I have XY data giving the locations of tree seedlings that were
surveyed during a 210 meter belt transect. This belt transect was
taken by stretching a line across the field, then measuring all
seedlings within 1 meter on either side of the line. The end result
was XY coordinates and height for ~1,300 seedlings. I would like to
use that data to calculate density of
2005 Jan 06
1
GLMM and crossed effects
Hi again. Perhaps a simple question this time....
I am analysing data with a dependent variable of insect counts, a fixed
effect of site and two random effects, day, which is the same set of 10
days for each site, and then transect, which is nested within site (5
each).
I am trying to fit the cross classified model using GLMM in lme4. I
have, for potential use, created a second coding
2011 Jan 27
1
Quasi-poisson glm and calculating a qAIC and qAICc...trying to modilfy Bolker et al. 2009 function to work for a glm model
Sorry about re-posting this, it never went out to the mailing list when I
posted this to r-help forum on Nabble and was pending for a few days, now
that I am subscribe to the mailing list I hope that this goes out:
I've been a viewer of this forum for a while and it has helped out a lot,
but this is my first time posting something.
I am running glm models for richness and abundances. For
2011 Sep 08
1
random sampling but with caveats!
Hi,
I wonder if someone can help me. I have built a gam model to predict the presence of cold water corals and am now trying to evaluate my model by splitting my dataset into training/test datasets.
In an ideal world I would use the sample() function to randomly select rows of data for me so for example with 936 rows of data in my HH dataset I might say
ss <- sample(nrow(HH), size =
2012 Jul 18
2
loop searching the id corresponding to the given index (timestamp)
Hello,
I have the following loop for two data sets: diveData_2008 and
diveData_2009. It uses two other data: diveCond_all and fishTable. The
problem is at the point to identify the dive_id for the given index (index
is timestamp). It keeps on saying
for the1st loop
Error in fishReport$dive_id[i] <- dive_id : replacement has length zero
for the 2nd loop
Error in fishReport$dive_id[i + j] <-