Displaying 7 results from an estimated 7 matches for "d15n".
Did you mean:
d15
2012 Sep 03
1
Scatter plot from tapply output, labels of data
Hei,
i am trying to plot the means of two variables (d13C and d15N), by 2
grouping factors (Species and Year) that i obtained by the function tapply.
I would like to plot with different colours according to the Year and show
the "Species" as data labels.
My data looks like this:
Species d13C d13N Year
"Species1" 14,4 11...
2013 Sep 18
1
ggplot2: changing strip text in facet_grid and a legend text problem
...uot;, "zooplankton"))
scale_fill_discrete(name="organism",
breaks=c("cyano", "seston"),
labels=c("cyanobacteria", "seston"))
for some reason nothing works. Ideas?
mydata <- data.frame(
D15N = c(runif(100, min = -2), runif(100), runif(100, max = 2), runif(100)),
year = rep(c('2007', '2008'), each = 100),
organism = rep(c('cyano', 'seston'), each = 200),
station = sample(c('B1', 'H2', 'H3', 'H4'), 400, replace = TRUE)...
2013 Oct 31
0
SIAR problem with model running
...e package SIAR.
I have prepared my data according to Inger, R., Jackson, A., Parnell, A.,
Bearhop, S. : SIAR V4 (Stable Isotope Analysis in R) an Ecologist's Guide
(also better known as 'SIAR for dummies'), which is as follows:
- consumer data table (columns include code for species, d15N signatures,
d13C signatures)
- source data table (columns include Source, mean d15N, SD d15N, Mean
d13C, SD d 13C)
- trophic enrichment factor table (columns include source, mean15N, SD
d15N, mean d13C, SD d13C)
I've read the tables in as .txt ('data' for consumer data, 'sources&...
2012 Jun 30
2
Significance of interaction depends on factor reference level - lmer/AIC model averaging
...nce.
Any help or advice would be appreciated,
Andrew Robertson
Below is the example code of what I am doing and an example of the model
summary and model averaging results with location A as the ref level or
location B.
if A is the reference level...
#full model
Amodel<-lmer(d15N~(AGECAT2+Sex+Location1+AGECAT2:Location1+Sex:Location1+AGE
CAT2:Sex+(1|Year)+(1|Location1/Socialgroup/Tattoo)), REML=FALSE,
data=nocubs)
#standardise model
Amodels<-standardize(Amodel, standardize.y=FALSE)
#dredge models
summary(model.avg(get.models(Adredge,cumsum(weight)<0.95)))...
2011 Nov 10
4
Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors
...of the error code below. Is this because of
the first column being names? How do I rename the columns and to what?
Below is the code and data frames with some omissions of values. In the
middle is the model I am trying to run, which returns with the error code
above.
> data
pond d13C d15N
1 A3 -2.07 6.06
2 F4 -2.39 1.3
3 K3 -2.11 1.70
> tef
tefsources tefMeand13C tefSDd13C tefMeand15N tefSDd15N
1 Copepoda 0.4 1.3 3.4 0.99
2 Algal Paste 0.4 1.3 3.4 0.99
3 Amphipoda 0....
2011 Nov 10
3
Error in matrix, not ordered vectors or numerical value, and SIAR.
Help!
model1 <- siarmcmcdirichletv4(data, source, tef, concdep=0, 500000, 50000)
Error in matrix(1, ncol = (numsources + numiso) * numgroups, nrow =
(siardata$iterations - :
invalid 'ncol' value (too large or NA)
In addition: Warning message:
In Ops.ordered((numsources + numiso), numgroups) :
'*' is not meaningful for ordered factors
Previous message, but more problems:
2012 Nov 14
0
SIAR: problem> session aborted
...of the SIARmodel, I get a warning screen with
"Session Aborted". Everything crashes and I can start all over again.
This is my script:
/# loading SIAR:
library(SIAR)
#get CONUSMERtable (NB: I do not use location now, since 'help' told me a
single group is more easy):
> d15N<-c(13.3175, 13.8675, 12.8775, 15.0785, 15.351, 14.6755,
> 14.94002083, 14.2072, 13.4987, 13.6522, 14.8447, 13.4257, 13.5632,
> 15.4282, 11.4187, 14.4442, 13.5187, 12.7762, 14.8627, 13.1272)
> d13C<-c(-23.4585, -23.078, -22.386, -17.8665, -16.1325, -20.914,
> -20.2144375, -15...