Displaying 20 results from an estimated 500 matches similar to: "Using XY location data to calculate ecological parameters"
2007 Aug 13
2
Error message when using zero-inflated count regression model in package zicounts
I have data on number of vines per tree for ~550 trees. Over half of
the trees did not have any vines and the data is fairly skewed
(median = 0, mean = 1.158, 3rd qu. = 1.000). I am attempting to
investigate whether plot location (four sites), species (I'm using
only the four most common species), or tree dbh has a significant
influence on the number of vines per tree. When I
2003 Nov 04
1
glm offset and interaction bugs (PR#4941)
Full_Name: Charles J. Geyer
Version: 1.8.0
OS: i686-pc-linux-gnu (Suse 8.2)
Submission from: (NULL) (134.84.86.22)
Two bugs (perhaps related, perhaps independent) revealed by the same
Poisson regression with offset
mydata <- read.table(url("http://www.stat.umn.edu/geyer/5931/mle/seeds.txt"))
out.fubar <- glm(seedlings ~ burn01 + vegtype * burn02 +
offset(log(totalseeds)),
2006 Apr 23
1
Comparing GLMMs and GLMs with quasi-binomial errors?
Dear All,
I am analysing a dataset on levels of herbivory in seedlings in an
experimental setup in a rainforest.
I have seven classes/categories of seedling damage/herbivory that I want to
analyse, modelling each separately.
There are twenty maternal trees, with eight groups of seedlings around each.
Each tree has a TreeID, which I use as the random effect (blocking factor).
There are two
2009 Aug 31
2
interactions and stall or memory shortage
Hello,
After putting together interaction code that worked for a single pair of
interactions, when I try to evaluate two pairs of interactions(
flowers*gopher, flowers*rockiness) my computer runs out of memory, and the
larger desktop I use just doesn't go anywhere after about 20 minutes.
Is it really that big a calculation?
to start:
mle2(minuslogl = Lily_sum$seedlings ~ dnbinom(mu = a,
2008 May 15
2
mixed effects models with nested factors
Hi everybody,
I am trying to fit a model with the lmer function for mixed effects. I have an experimental design consisting of 5 field plots. Each plot is divided in 12 subplots where the influence of three factors on the growing of tree seedlings is tested: (1) seed (1 = presence; 0 = absence); (2) seedling species (oak holm vs. pine); (3) treatment (three different treatments). In each of
2005 Sep 22
3
anova on binomial LMER objects
Dear R users,
I have been having problems getting believable estimates from anova on a
model fit from lmer. I get the impression that F is being greatly
underestimated, as can be seen by running the example I have given below.
First an explanation of what I'm trying to do. I am trying to fit a glmm
with binomial errors to some data. The experiment involves 10
shadehouses, divided between
2009 Aug 28
1
Help with glmer {lme4) function: how to return F or t statistics instead of z statistics.
Hi,
I'm new to R and GLMMs, and I've been unable to find the answers to my
questions by trawling through the R help archives. I'm hoping someone
here can help me.
I'm running an analysis on Seedling survival (count data=Poisson
distribution) on restoration sites, and my main interest is in
determining whether the Nutrients (N) and water absorbing polymer Gel
(G) additions to the
2005 Jul 19
2
Regression lines for differently-sized groups on the same plot
Hi there,
I've looked through the very helpful advice about adding fitted lines to
plots in the r-help archive, and can't find a post where someone has offered
a solution for my specific problem. I need to plot logistic regression fits
from three differently-sized data subsets on a plot of the entire dataset.
A description and code are below:
I have an unbalanced dataset
2011 Jun 28
2
coxph() - unexpected result using Crawley's seedlings data (The R Book)
Hi,
I ran the example on pp. 799-800 from Machael Crawley's "The R Book" using package survival v. 2.36-5, R 2.13.0 and RStudio 0.94.83. The model is a Cox's Proportional Hazards model. The result was quite different compared to the R Book. I have compared my code to the code in the book but can not find any differences in the function call. My results are attached as well as a
2011 Apr 10
1
survival object
Hi All,
I am trying to do a survivorship analysis with library(survival)from a data
set that looks like this:
I followed a bunch of naturally germinated seedlings of an annual plant from
germination to death (none made it to reproduce, and died in a period of ~60
days after germination.)
I also know the size of the seed of every individual censused. So I am
trying to analyze seedling survival as
2010 Apr 20
1
multiple plots problem
hello,
i try to plot 3 graphs which have the same x.axis underneath each other. i'd
like the plots to be aligned without margings between the boxes and draw a
single x axis beneath the lowest plot.
i managed to get the alignment by setting par(mar), but the middle box is
stretched
and i cant't figure out how to get around this. par(pin) was my guess, but
this doesn't do the job
2009 Oct 05
1
interpreting glmer results
Hi all,
I am trying to run a glm with mixed effects. My response variable is
number of seedlings emerging; my fixed effects are the tree species
and distance from the tree (in two classes - near and far).; my random
effect is the individual tree itself (here called Plot). The command
I've used is:
mod <- glmer(number ~ Species + distance + offset(area) + (1|Plot),
family = poisson)
2013 Oct 03
2
SSweibull() : problems with step factor and singular gradient
SSweibull() : problems with step factor and singular gradient
Hello
I am working with growth data of ~4000 tree seedlings and trying to fit non-linear Weibull growth curves through the data of each plant. Since they differ a lot in their shape, initial parameters cannot be set for all plants. That’s why I use the self-starting function SSweibull().
However, I often got two error messages:
2009 Sep 26
1
Multiple comparisons for coxph survival analysis model
Hello, all R-users!
I am working on fitting a survival analysis model using the coxph
function for Cox proportional hazards regression model. Data look like
usual:
==========================
group block death censor
Group1 1 4 1
Group1 1 12 1
...
Group2 30 4 1
Group2 30 4 1
...
Group3 57 16
2009 Aug 28
0
Help with glmer {lme4} function: how to return F or t statistics instead of z statistics?
Hi,
I'm new to R and GLMMs, and I've been unable to find the answers to my
questions by trawling through the R help archives. I'm hoping someone
here can help me.
I'm running an analysis on Seedling survival (count data=Poisson
distribution) on restoration sites, and my main interest is in
determining whether the Nutrients (N) and water absorbing polymer Gel
(G) additions to the
2008 Feb 22
3
projection.matrix() {popbio} for more than one matrix
Hello,
I am trying to use the projection.matrix( ) function and am following the
example given. I have my data formatted very similar to the test.census
example.
> str(AsMi05mat)
`data.frame': 1854 obs. of 6 variables:
$ Tag : num 501 502 503 504 505 506 507 508 509 510 ...
$ Year : int 1995 1995 1995 1995 1995 1995 1995 1995 1995 1995 ...
$ Length : num 34
2012 Jul 31
0
Arrangement of names
Dear R-help members
I would be grateful if anyone could help me with the following problem:
1: I changed the font style of the plant names (along x-axis, under the bars) to "italic" . How can I avoid that the font in the legend also changes to "italic"?
2. I would like to place the plant names (along x-axis, under the bars) in a way that :
a) the first plant name is under the
2009 Nov 13
0
z-test with NAs
Dear all
I am learning R
I am doing Z-test with package 'BSDA'
here is my syntax and result:
> sdgr.ztest<-z.test(growth[type=='SD'& from_treeline=='above'], + growth[type=='SD'& from_treeline=='below'],alternative = "two.sided", + mu = 0, sigma.x =(sd(growth[type=='SD'& from_treeline=='above'],na.rm = T)), +
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)
2009 Oct 28
2
x11(title=' ')
Dear all
I was trying to put a title for my plot, but i got this result,
> x11(width=10,height=5,title="seedling");par(mfrow=c(1,2))Error in x11(width = 10, height = 5, title = "seedling") : unused argument(s) (title = "seedling")>
The title is not taking
How can i give a title for the plot (where in need to make 2 plots within a window of x11() )
thanking