Re: [R] Identifying breakpoints/inflection points?

2010-04-26 Thread Charlotte Chang
(0,5)) > > > -- > Clint Bowman                    INTERNET:       cl...@ecy.wa.gov > Air Quality Modeler             INTERNET:       cl...@math.utah.edu > Department of Ecology           VOICE:          (360) 407-6815 > PO Box 47600                    FAX:            (360) 40

[R] Identifying breakpoints/inflection points?

2010-04-26 Thread Charlotte Chang
Hello! I have a dataset with the following two vectors: year<-c(1967,1968,1969,1970,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009) piproute<-c(0.733

Re: [R] Using optim function for logistic model simulation

2010-04-26 Thread Charlotte Chang
gt;>> Consider trying the following code: >>>> b<-1.22 >>>> c<-0.55 >>>> bird<-bird.density[0] # I assume this exists >>>> eqn<- function(K1, bird) { >>>>                b<-1.22 >>>>                c<-0.55 >&g

[R] Using optim function for logistic model simulation

2010-04-25 Thread Charlotte Chang
Hello! I'm a college undergrad desperately trying to finish up my thesis. I have a dataset on the distribution of a grassland bird from the Breeding Bird Survey. I have a very straightforward and simple version of the logistic growth model to describe changes in this bird's abundance over time. Th