similar to: Popbio - can't find or load

Displaying 20 results from an estimated 500 matches similar to: "Popbio - can't find or load"

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,
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
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", :
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
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
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
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
2008 Jan 14
1
stochastic growth rate (package biopop)
Dear all, I am running matrix population models using package "popbio". In a deterministic model {i.e., transition matrix is defined as A <- matrix(c(0.70, 0.70,0.35,0.50), nrow=2,byrow=TRUE}, population growth rate can be estimated from the dominant eigenvalue {command "eigen.analysis"}. However, I cannot figure out the way to compute the asymptotic stochastic population
2007 Sep 19
1
R advice
Dear R-help As a novice to R I was seeking some advice with respect to using R to help solve a problem I have. I have a large number of infiles that need analysed. This can be done, I believe, using 2 separate R packages (popgen and ape) with the output from 'popgen' being used as input for 'ape'. What I would like to know is whether it is possible within R to write some
2017 Nov 05
3
Change colour of line in logi.hist.plot
I am using the function logi.hist.plot in package popbio. I want to change the colour of the probability line from the default red to black. I have not been able to find out how to do that. [[alternative HTML version deleted]]
2007 Oct 22
3
Elasticity in Leslie Matrix
Dear R-users, I would like to calculate elasticities and sensitivities of each parameters involved in the following transition matrix: A <- matrix(c( sigma*s0*f1, sigma*s0*f2, s, v ), nrow=2, byrow=TRUE,dimnames=list(stage,stage)) The command "eigen.analysis" avaliable in package "popbio" provides sensibility matrix and elasticity matrix
2012 Mar 20
1
Problem in loop
Dear R users I want change the entries in a matrix. I did a matrix A=0 1 5 .3 0 0 0 .5 0 A1<-A A2<-A*0.90 A2 1 2 3 1 0.00 0.90 4.5 2 0.27 0.00 0.0 3 0.00 0.45 0.0 I need replace elements one by one in a loop I tried the following using package POPBIO, total <-matrix(0, nrow=5, ncol=60) for(i in 1:10){ A1<-A A1[1,2] <- A2[1,2]
2012 Mar 07
1
plot intersecting planes
Hi all, I need to plot two intersecting planes in a graph. Using persp() function (see code below) I am not able to add a second plane with good results. I tried with par(new=TRUE) but the output was very poor. I have found some previous discussions about this point but (apparently) without a clear solution. Any advice would be appreciated. Simone Tenan ################## library(popbio)
2006 Oct 07
1
Installing Lindsey's packages
Dear r-helpers, I downloaded http://popgen.unimaas.nl/~jlindsey/rcode/rmutil.tar (it was originally .tgz, but got unzipped by my browser). Can anyone give me detailed instructions on installing this and Lindsey's other packages on R version 2.4.0 (2006-10-03)---(powerpc- apple-darwin8.7.0, locale: C)? _____________________________ Professor Michael Kubovy University of Virginia
2017 Nov 05
0
Change colour of line in logi.hist.plot
> On Nov 5, 2017, at 6:03 AM, G?ran Bergqvist <Goran.Bergqvist at jagareforbundet.se> wrote: > > I am using the function logi.hist.plot in package popbio. I want to change the colour of the probability line from the default red to black. I have not been able to find out how to do that. If you look at the code for that function you see this line: logi.curve <-
2008 Apr 10
2
QP.solve, QPmat, constraint matrix, and positive definite
hello all, i'm trying to use QPmat, from the popbio package. it appears to be based on solve.QP and is intended for making a population projection matrix. QPmat asks for: nout, A time series of population vectors and C, C constraint matrix, (with two more vectors, b and nonzero). i believe the relevant code from QPmat is: function (nout, C, b, nonzero) { if (!"quadprog" %in%
2004 Mar 31
3
(no subject)
Hi, I wonder if you can help me: I cannot seem to be able to import my data anymore. When I try to import the attached file with the string FunctRes<-read.table("C:/Documents and Settings/FunctRes.txt", header=FALSE) I obtain: > FunctRes V1 1 ??C 2 \n 3 C 4 0 5 0 6 B 7 \n 8 C 9 0 10 1 11 B 12 \n 13 C 14 0 15 0 16 B 17 \n 18 C 19 0
2008 Mar 10
2
parmat error from MASS?
i'm in the midst of using R for a PVA/matrix project. my math skills are lousy and programming skills are worse. to deal with an error that i couldn't solve, i changed a parameter that used a new part of a routine in our PVA package's code: else if (ES == "ParDraw") { require(MASS) (previously, ES was "MatrixDraw" and MASS wasn't called for) now,
2017 Mar 15
5
[Bug 2693] New: ssh: Include'ed host is not resolved by ssh
https://bugzilla.mindrot.org/show_bug.cgi?id=2693 Bug ID: 2693 Summary: ssh: Include'ed host is not resolved by ssh Product: Portable OpenSSH Version: 7.4p1 Hardware: amd64 OS: Linux Status: NEW Severity: normal Priority: P5 Component: ssh Assignee: unassigned-bugs at
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