[R] how to get growth rate of a (time series) data?

2013-06-19 Thread Yanyuan Zhu
Hello all, now I'm trying to switch from Excel to R to deal with the data, and as a newbie i got the problem as follows. suppose I have a data named test test- data.frame(year=c(1996:2011),

[R] an entry level (stupid) question

2012-12-20 Thread Yanyuan Zhu
Hello all, i'm a newbie to R and now I get stuck by the question, would anybody help me please? Suppose, I got the following test - data.frame(test1=c(c(0.00, 0.005, 0.01, 0.015, 0.02))) test test1 1 0.000 2 0.005 3 0.010 4 0.015 5 0.020 Now I want another column inside test, named test2

[R] an entry level (stupid) question

2012-12-20 Thread Yanyuan Zhu
Hello all, i'm a newbie to R and now I get stuck by the question, would anybody help me please? Suppose, I got the following test - data.frame(test1=c(c(0.00, 0.005, 0.01, 0.015, 0.02))) test test1 1 0.000 2 0.005 3 0.010 4 0.015 5 0.020 Now I want another column inside test, named test2

Re: [R] I can not install DAAG package . help

2009-10-09 Thread Yanyuan Zhu
, 2009, at 4:27 AM, Yanyuan Zhu wrote: I use R on my Ubuntu 9.04 laptop, which was installed by aptitude install way The is an R-SIG-Debian which is going to have more people with knowledge of your particular OS. Now i'm learning a book of R which needs MASS and DAAG installed. So i

Re: [R] I can not install DAAG package . help

2009-10-09 Thread Yanyuan Zhu
-- Forwarded message -- From: joris meys jorism...@gmail.com Date: Thu, Oct 8, 2009 at 8:25 PM Subject: Re: [R] I can not install DAAG package . help To: Yanyuan Zhu caoanroad4...@gmail.com Cc: r-help@r-project.org Quite a strange error. The function installed.packages should be in the utils

[R] I can not install DAAG package . help

2009-10-08 Thread Yanyuan Zhu
non-zero exit status 2: In install.packages(DAAG) : installation of package 'DAAG' had non-zero exit status library(DAAG) Error in library(DAAG) : there is no package called 'DAAG' -- --- Yanyuan Zhu Doctoral Candidate School of Economics Management, Tongji University MSN