Displaying 20 results from an estimated 1000 matches similar to: "Re peated ANOVA or nested ANOVA, or parallel one way ANOVA six times?"
2009 Mar 04
0
(no subject)
Hi, every body!
I am a new comer for R, so my question would unavoidablely sounds stupid. Sorry!
in my experiment, there are two type of soil ( soil F and soil D), each half of them were subjected to steam sterilize (result in FS and DS soil). A equal volume of soil from two of the four soil types (F, D, FS, DS) were mixed as follows: F+F, F+D, F+FS, F+DS, D+F, D+FS, D+DS, FS+DS (eight treatment).
2017 Jun 21
0
Help/ Mathematics
Hi Ahmed,
Your problem appears trivial as you have already specified the form of
the calculation.
Learn how to "extract" specified elements from a data structure:
# first value
sum(dataset1$NPP[dataset1$date >= date1 &
dataset1$date <= date2])
# second value
dataset2$biomass[dataset2$date == date2] -
dataset2$biomass[dataset2$date == date1]
# third value
2017 Jun 21
4
Help/ Mathematics
Hi R users,
I need your help to write a code in r that does the following
calculation from three different datasets;
ac = 1/sum (NPP from date 1 to date 2, dataset=1) * (biomass at date 2
-biomass at date 1, dataset = 2) + (littfall at date 2, dataset=3).
all the dates are in yr-month-day format. Which library or function
Should I use to tell R do these calculations of these variables at
2017 Jun 30
3
Predict
Sorry for the confusion, here is the edited question.
The data= Stand_Height (attached) is recorded from 12/1/2009 to
12/31/2015 (25 observations) and the other dataset (leafbiom) is
recorded from 10/7/2009 to 12/29/2016 (daily observations).
I want to use the 25 observations of stand height to predict the daily
stand height from 10/7/2009 to 12/29/2016. The daily stand height will
be multiplied
2017 Jun 30
0
Predict
There are a bunch of things wrong here, although without a
reproducible example I can't really fix most of them.
- You're overwriting SH within the loop.
- You're running the regression 2641 times, even though the result
never changes.
- You're never predicting from your linear model using the other data
not in the regression.
- Leaf biomass data is never used for anything. I
2017 Jun 30
0
Predict
Once again, you are over-writing your variable. This time, you are overwriting
the entirety of Stand_Height with the timeseries of height.
Perhaps you should spend some time with one of the good introductory R
resources out there, and think a bit more about your procedure.
Sarah
On Fri, Jun 30, 2017 at 11:23 AM, Ahmed Attia <ahmedatia80 at gmail.com> wrote:
> Sorry for the confusion,
2011 Sep 23
0
vegan rda na adaptation
Dear R users,
I know, the topic is more related to the r-sig-ecology. I decided to
post it to the r-help as some specific topics of my question deals
with NA-values and RDA (R vegan) and an adaptated RDA code due to a
specific study design (including a second matrix).
I am calculating a RDA for a dependent matrix (different variables for
tree performance) and different explanatory
2018 Aug 20
0
[jobs] postdoc in remote sensing with USDA-ARS
The USDA-Agricultural Research Service, Southeast Watershed Research Unit
in Tifton, GA, is seeking a postdoctoral research associate for a
full-time, 2 year appointment. The research associate will develop,
calibrate, and validate a semi-empirical model for estimating cotton
biomass from fields within the southeastern United States. Model
development will involve the use of optical and radar
2008 Mar 12
0
Re peated Measures (lme?)
Hello, I have a general data analysis question. I recently visited a
lab where they are testing a new treatment and they had done the
experiment several times on different dates. They repeated the
experiment 3-5 times per day. And then for practical reasons they
repeated the whole procedure for 5 days.(they wanted a large sample
size but practically they couldn't handle more than 5-10
2009 Sep 23
1
re peated measures
Hi,
I am performing a repeated measures 2-way ANOVA to assess the influence of
plant and leaf on aphid fecundity. Fecundity is measured for each aphid on a
single leaf.
Here is what I typed.
wingless <- reshape(Wingless,
varying =
2004 Apr 19
0
SE for combined data
Dear all
I have just had the question from a colleague. I know that it is not directly related to R (I will probably use R to do the analysis), but I hope someone can give us some insight:
Thanks,
AJ Smit
I sampled populations of a seaweed in the intertidal in order to estimate
the standing biomass of that seaweed at that site.
Due to clumped distribution patterns, I chose a stratified
2017 Jun 30
2
Predict
Hi folks,
I have 25 stand height observations over 7 years period and daily
leafbiomass data during this period. I want to use the 25 plant height
observations as inputs and predict the daily stand height during the 7
years.
SH=matrix(data=NA , nrow = 2641, ncol = 1)
for (i in 1:2641) {
SH<- predict(lm(height~Date, data=Stand_Height));
dl=leafbiom$Date[i-1];
de=leafbiom$Date[i];
2005 Nov 10
2
IF/Else
Hi,
I am trying to write a for loop with if else statements to calculate
biomass density estimates for different types of sampling gear.
My code is:
bmd=for (i in 1:length(Gear)){
if (Gear==20) {bioden=Biomass/141}
else {if (Gear==23) {bioden=Biomass/68}}
else {if (Gear==160) {bioden=Biomass/4120}}
else {if (Gear==170) {bioden=Biomass/2210}}
else {if (Gear==300)
2011 Feb 06
1
anova() interpretation and error message
Hi there,
I have a data frame as listed below:
> Ca.P.Biomass.A
P Biomass
1 334.5567 0.2870000
2 737.5400 0.5713333
3 894.5300 0.6393333
4 782.3800 0.5836667
5 857.5900 0.6003333
6 829.2700 0.5883333
I have fit the data using logistic, Michaelis?Menten, and linear model,
they all give significance.
> fm1 <- nls(Biomass~SSlogis(P, phi1, phi2, phi3), data=Ca.P.Biomass.A)
2012 Feb 03
1
ordering of factor levels in regression changes result
I was surprised to find that just changing the base level of a factor variable changed the number of significant coefficients in the solution.
I was surprised at this and want to know how I should choose the order of the factors, if the order affects the result.
Here is the small example. It is taken from 'The R Book', Crawley p. 365.
The data is at
2017 Jul 06
0
Bayes Factor
Hello R Community,
Subject: Bayes Factor
A Bayesian ANOVA of the form:
competitionBayesOut <- anovaBF(biomass ~ clipping, data = competition)
Returns the following Error message:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ?compare? for
signature ?"BFlinearModel", "missing", "tbl_df"?
My guess the problem is in
2012 Sep 14
1
linear mixed-effects models with two random variables?
Dear R users,
Does anyone knows how to run a glmm with one fixed factor and 2 random
numeric variables (indices)? Is there any way to force in the model a
separate interaction of those random variables with the fixed one?
I hope you can help me.
#eg.
Reserve <- rep(c("In","Out"), 100)
fReserve <- factor(Reserve)
DivBoulders <- rep
2013 Nov 07
1
problem with interaction in lmer even after creating an "interaction variable"
Dear all,
I have a problem with interactions in lmer. I have 2 factors (garden and
gebiet) which interact, plus one other variable (home), dataframe arr. When
I put:
/
lmer (biomass ~ home + garden:gebiet + ( 1|Block), data = arr)/
it writes:
/Error in lme4::lFormula(formula = biomass ~ home + garden:gebiet + (1 | :
rank of X = 28 < ncol(X) = 30/
In the lmer help I found out that if not
2011 Apr 13
1
print to .jpeg
Evening folks,
I'm trying to print a series of graphs to .jpeg using a variable as the
title, but run into the difficultly that I can't find a way to append the
file extension to the .jpeg (in this case extensionless!) files.
Example:
----
species.name="CussoniaHolstii"
dia<-10:100
biomass = -21.4863 + 0.5797 * (dia ^ 2)
biomass
jpeg(species.name)
plot (biomass,
2010 Sep 16
0
problems trying to reproduce structural equation model using the sem package
Hello,
I've been unsuccessfully trying to reproduce a sem from Grace et al.
(2010) published in Ecological Monographs:
http://www.esajournals.org/doi/pdf/10.1890/09-0464.1
The model in question is presented in Figure 8, page 81. The errors
that I've been getting are:
1. Using a correlation matrix:
res.grace <- sem(grace.model, S = grace, N = 190)
Warning message:
In sem.default(ram