Displaying 20 results from an estimated 1000 matches similar to: "cca in vegan (formula instead of community matrix data)"
2010 Aug 17
2
Independent variables omitted in lm and glm
Dear List,
Some independent variable were missing in calculation using lm and glm
(gaussian).
(X= Y1+Y2+…..+Y16, Independent number: 16 variable)
However, those variables did work well in cor(X, Y) respectively.
str(dataframe) was also run to ensure that the variables were all numbers.
Moreover, the missing variables were different in lm and glm.
In lm, 3 factors were not taken into
2010 Aug 17
2
AIC in MuMIn
Hello,
I am using package MuMIn to calculate AIC for a full model with 10
explanatory variables.
Thanks in advance in sharing your experience.
Q1
In the AIC list of all models, each model is differentiated by model number.
Please kindly advise if it is possible to
find the corresponding explanatory variable(s) for the model number.
Q2 error message
I tried to display sub-model with only
2010 Jul 17
1
data.frame required for cca in ade4
Dear List,
I tried to conduct cca using csv data but failed.
The message said that data.frame is required.
Please kindly share how to convert a csv-imported file to a data.frame.
Thank you.
Elaine
code
rm(list=ls())
spec <-read.csv("c:/migration/M_R_20100718_winterM_spec_vegan.csv",header=T,
row.names=1)
dim(spec)
spec[1,]
envi
2007 Jul 23
1
cca and cca.predict in vegan-what sort of prediction is possible
Hi All
I am not clear quite how one could use cca from package vegan and the associated
predict.cca to predict species abundance from environmental data (or if this is possible
in a generalised way). In other words, can one derive a cca object based on known
community data and use that to predict e.g. species abundances in a different number
of samples based on environmental data? The help
2009 Sep 04
1
NA in cca (vegan)
Dear all,
I would like to calculate a cca (package vegan) with species and environmental data. One of these environmental variables is cos(EXPOSURE).
The problem: for flat releves there is no exposure. The value is missing and I can't call it 0 as 0 stands for east and west.
The cca does not run with missing values. What can I do to make vegan cca ignoring these missing values?
Thanks a lot,
2010 Aug 14
1
cca biplot (vegan) failed in matplot
Dear List,
I am trying to plot the result of cca using matplot but failed.
Pls kindly help and thanks.
Elaine
The error message was
error in xy.coords(x, y, xlabel, ylabel, log = log) :
(list) object cannot be coerced to type 'double'
code
rm(list=ls())
library(vegan)
library(MASS)
# input richness
birdrich
2007 Apr 27
1
partitioning variation using the Vegan CCA routine?
Hello
I am using Jari Oksanen's CCA routine from the Vegan package on some estuary
data, following a technique applied in (Anderson, M.J. & Gribble, N.A.,
1998, Partitioning the variation among spatial, temporal and environmental
components in a multivariate data set, Australian Journal of Ecology 23,
158-167).
Some steps in the process require that the dependent matrix be constrained
by
2012 Nov 09
1
CCA with Vegan - Plot problem
Hi,
I've just started using R and am having some problems with CCA using vegan.
I'm looking at abundance p/m2 (hence decimals) vs environmental variables
and have been using
http://ecology.msu.montana.edu/labdsv/R/labs/lab12/lab12.html to guide me
through.
My organism data looks like this:
Sample "Species_1" "Species_2" "Species_3" etc
Sample_1
2011 Oct 11
1
Vegan: Anova.CCA accessing original data using option by="margin"
Hello,
I am attempting to use the ANOVA.CCA function with the by="margin" option.
The process works fine using the by="terms" option and I note in the Vegan
manual that Jari suggests that an error may occur if the anova does not have
access to the data on the original constraints.
This is the error that I get:
Error in dimnames(x) <- dn :
length of 'dimnames'
2011 Mar 10
1
vegan CCA I am Completely new to ordination analyses
Dear list,
I am trying to predict species volume from bioclimatic data, I have various
sites and I have a data frame with species volume and
the corresponding bioclimatic data for each site.
I read on a discussion forum that you can use ordination to predict species
abundance (in my case volume) from 'new' climate data for sites where you do
not know the abundance.
Unfortunately I
2010 Sep 21
1
partial dbRDA or CCA with two distance objects in Vegan.
I am trying to use the cca/rda/capscale functions in vegan to analyse
genetic distance data ( provided as a dist object calculated using
dist.genpop in package adegenet) with geographic distance partialled out
( provided as a distance object using dist function in veganthis method
is attempting to follow the method used by Geffen et al 2004 as
suggested by Legendre and . FORTIN (2010).
I
2004 Jan 14
1
cca in vegan
Hello all,
I'm hoping this is a simple problem.
I'm trying to do cca of my data. I have my plant data and environmental data as 2 separate files. I have 3 years of data, stacked vertically, within these files. I want to conduct the cca for each year and am trying to create separate year files using the following:
cnts94 <- cnts[1:27,]
env94 <- env[1:27,]
when I run
2013 Mar 27
1
Conditional CCA and Monte Carlo - Help!
Hi All,
I am using canonical correspondence analysis to compare a community
composition matrix to a matrix of sample spatial relationships and
environmental variables. In order to parse out how much variance is
explained purely by space (S/E) or the environment (E/S) I am using a
conditional (partial) CCA. I want to test significance via Monte Carlo but
I can not find a way to do this with a
2010 Apr 27
1
cca standard error species
Dear all,
I realised a correspondence analysis with function cca() of vegan library.
Just like in Okansen (2010) in the example of R help:
library(vegan)
data(varespec)
data(varechem)
vare.cca<-cca(varespec~ Al + P + K, varechem)
With plot.cca() function I represented the species matrix in the next way:
plot(vare.cca,display="species")
Being similar to:
plot((c(-2,2)),(c(-2,2)),
2011 Sep 26
0
vegan cca: syntax
Dear all,
I am a new member to the list - and to the analysis that I am attempting.
I have the following case
A group of us have been monitoring (over a period of a few years) a number
of paired plots that were flooded and / or burnt.
The plots are located in two topographical settings, some were burnt, some
were flooded, some were burnt & flooded and some were not affected at all.
At
2008 Sep 26
1
cca constraining variables table
I performed canonical correspondence analysis (cca) with the example data of
vegan, but I'm not able to obtain a table like scores() for the constraining
variables. I can see them in the summary() mode, but it would be great to
have in a separate table. Any suggestion?, thanx Gianandrea
require(vegan)
data(varespec)
data(varechem)
vare.cca<-cca(varespec,varechem)
scores(vare.cca)
2009 Feb 08
0
library vegan - cca - versus CANOCO
Hi R users,
I have two data matrix, one with community data and another with
environmental data. Prior to preform the CCA, I have used PCA to select some
environmental variables and to avoid redundance information. The result is
that I have 4 environmental variables and my community data matrix where,
following bibliography, I have eliminated rare species.
All variables were log-transformed (x+1)
2012 Nov 27
1
CCA plot
Hi, I have a couple questions about fitting environmental (land use
factors, plant species presence-absence, and soil variables) constraints to
my CCA biplot. 1. After successfully plotting species and site scores in my
CCA, I have been trying to insert the biplot arrows of the environmental
constraints in my data set using the text() function. When I do that, the
plot changes completely. Is there
2009 Mar 20
1
CCA - manual selection
Hello,
I am trying to obtain f-values for response (independent) variables from a
CCA performed in vegan package, to see which ones of them have
significative influence in my dependent variables (like the manual selection
in canoco), but I can't find any function (or package) that do such a thing.
The dependents variables are species data, and the independents are
ambiental data.
Than you.
2012 Jun 10
0
VEGAN ordistep, stepwise model selection in CCA - familywise error correction.
I am using VEGAN ordistep function for stepwise model selection. By
default the Pin and Pout values are set to .05 and .1
Is it appropriate to use a family wise correction ( such as bonferroni or
one of the alternatives) to adjust these values where there are several
(5-10), potentially correlated variables in the model selection process?
--
Nevil Amos
Molecular Ecology Research Group