[R] dcc in 'bootRes' package

R-assist philgraeve at gmail.com
Fri Feb 10 01:24:37 CET 2012


I've been having the same issues as the ones outlined in this thread.  I've
included dummy samples of my data and the code at the bottom, with error
message.  Anyone able to help me out?  it keeps asking for a start time and
I'm not sure how to input that.

thanks!

> chrono
  year  logdens
1 2000 3.255273
2 2001 3.235528
3 2002 3.049218
4 2003 3.181844
5 2004 3.264818
6 2005 3.283301
> clim
   year month meantemp
1  2000     1     26.5
2  2001     1     20.4
3  2002     1     21.1
4  2003     1     28.2
5  2004     1     20.2
6  2005     1     29.0
7  2000     2     31.2
8  2001     2     27.8
9  2002     2     22.0
10 2003     2     26.9
11 2004     2     23.7
12 2005     2     28.7
13 2000     3     35.3
14 2001     3     36.3
15 2002     3     30.9
16 2003     3     35.1
17 2004     3     40.7
18 2005     3     33.9
19 2000     4     46.5
20 2001     4     44.8
21 2002     4     47.2
22 2003     4     43.5
23 2004     4     45.1
24 2005     4     43.0
... up to month 12...

> dcc.test<-dcc(chrono, clim, method="response", start=1, end=4)
Error in (start.year - 1 + offset):end.year : argument of length 0

--
View this message in context: http://r.789695.n4.nabble.com/dcc-in-bootRes-package-tp3899990p4374913.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list