Displaying 20 results from an estimated 2000 matches similar to: "projection.matrix() {popbio} for more than one matrix"
2008 Jan 28
2
matrix creation
Hello,
I am trying to create multiple matrices (to run a PVA) but can't import all
of them from a .csv without the numbers treated as labels and not factors.
I can enter the matrix slowly:
Site05_96 <- matrix(c(0.07,0,0.03,0.00,NA,0.00,
0.09,0.166666667,0.31,0.42,NA,0.00, 0.00,0,0.00,0.00,NA,0.00,
0.00,0,0.00,0.00,NA,0.00,
2008 Jan 25
2
Popbio - can't find or load
Hello,
I'm in need of running a PVA and want to load {popbio}. However, I can't find
it. I can't see where or how to load it. I have added repositories and
changed the CRAN mirror site. I see {polynom} and {popgen} but no {popbio}
between.
What am I doing wrong?
Thanks,
Michelle
[[alternative HTML version deleted]]
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
2009 Oct 16
1
Modify the plot from countCDFxt
Hello,
I am running the plot from countCDFxt (popbio). I would like to report the
y-axis as a percent instead of the log scale (e^01...). I can add an axis
with axis(2, 0:1, line =2) but I'm having trouble understanding how to assign
the tic marks (with 'at ='). I'd like to tell it to make tics with the
percent value (or decimal if that's my only option) at the equivalent of
2007 May 05
1
NA in wilcox.test
Hello,
I'm trying to compare the allozyme data from two taxa. I have several
columns of data (19 loci) for each species. I want to do a Mann-Whitney
U-test or the wilcox.test (two sample Wilcoxon). When I try to run my code
(the first two columns are 1:name of the species, 2:name of individual) I
get the error message:
"Error in wilcox.test.default(CaScSc, CaScCo, alternative
2011 Jan 26
0
using popbio, reduce number of digits in image2 plot
Hello All.
I am using the image2 plot function in the popbio package to create 6
elasticity analyses. I am trying to reduce the number of significant digits
that displays -- from 3 digits to 2. I tried rounding my original matrices,
but one is comprised primarily of zeros, and the cut / breaks options
returns an error message. (see code and error message below)
Here are the elasticity values
2010 Feb 12
1
popbio and stochastic lambda calculation
Hello R users,
I am trying to calculate the stochastic lambda for a published matrix
population model using the popbio package.
Unfortunately, I have been unable to match the published results. Can
anyone tell me whether this is due to slightly different methods being
used, or have I gone wrong somewhere in my code?
Could the answer be as simple as comparing deterministic lambdas to
2005 Nov 04
1
Stress in multidimensional scaling
Hello,
We are trying to find a function to compute "stress" in our
multidimensional scaling analysis of a dissimilarity matrix. We've used
"dist()" to create the matrix and "cmdscale()" for the scaling. In order
to determine the number of dimensions we would like to plot stress vs.
dimensions. However, we cannot find a pre-made command. It seems that
other
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
2005 Dec 02
1
cloud() 3D scatter plot
Hello,
I am creating a 3D scatter plot with the cloud function. I ask it to
group my rows by a "Treatment" column (there are 4 different groups). I
need to know which points in the plot correspond to which rows (which
treatment). By default it assigns pchs and cols to each group. When I
try to define the colors or point shapes it seems to use the first color
and pch for both the first
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
2006 Dec 01
1
cloud() question
Hello,
I am trying to plot lines in 3 dimensions from a multiple linear model
to illustrate the interaction of two of the explanatory variables. I'm
trying to use the cloud function (though I'm open to a different
function if an easier one exists). I keep getting the error message:
Error in cloud(lmPeHa061201, data = PeHa061201, cex = 0.8, main =
"Table 99: PeHa", :
2003 Nov 03
10
USA map
R users,
In S, there was a function called usa() that
would draw the map of the United States, plus
it had other options for graphics. I have looked
but I can't find the equivalent in R. Is there one?
Thanks,
Jason
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
2001 Aug 08
1
NLME augPred error
Could someone explain the meaming of this error message from augPred:
> augPred(area3.pen.nlme, primary=~day)
Error in predict.nlme(object, value[1:(nrow(value)/nL), , drop =
FALSE], :
Levels 1,2,3 not allowed for block
>
predict.nlme(area3.pen.nlme) does not produce an error.
area3.pen.nlme was created with:
> area3.pen.nlme <- nlme(area ~ SSlogis(day, Asym, xmid, scal),
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
2006 Feb 09
1
converting lat-long coordinates to Albers Conical Equal Area coordinates
####################################################################################
We have used maptools to construct state, county, township, census-tract,
and zipcode
level R maps with an Albers Conical Equal Area projection. We would like
to be able to
plot the location of weather stations or other point locations on the
maps. The data
the point locations are in latitude-longitude units
2007 Mar 23
1
Completely off topic, but amusing?
Folks:
Thought that many on this list might find this amusing, perhaps even a bit
relevant. Hope it's OK:
************
WASHINGTON - The government's estimate of the number of Americans without
health insurance fell by nearly 2 million Friday, but not because anyone got
health coverage.
The Census Bureau
<http://search.news.yahoo.com/search/news/?p=Census+Bureau> said it has
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
2008 Jan 17
1
Any tools for working with US 2000 census data?
I've been given the job of extracting some data from the United States
2000 census (files at
http://www2.census.gov/census_2000/datasets/Summary_File_2/Maryland/all_
Maryland.zip 52M). I'm only interested in Census Block Groups (CBGs)
located within Baltimore City, Maryland. Additionally, I just have to
extract certain data fields. I think I'll be using Summary File 2. This
is my first