Re: [R] Plot mortality data and show trend

2013-12-09 Thread Jim Lemon
On 12/10/2013 07:53 AM, Norbi Gurracho wrote: I have a mortality data over many years and I wish to plot the data and also add some smoother to clearly highlight the trend. How could I do that in R with base graphics or ggplot? I have the following sample data: require(lubridate) mdate<-seq(y

[R] Plot mortality data and show trend

2013-12-09 Thread Norbi Gurracho
I have a mortality data over many years and I wish to plot the data and also add some smoother to clearly highlight the trend. How could I do that in R with base graphics or ggplot? I have the following sample data: require(lubridate) mdate<-seq(ymd('2000-01-01'),ymd('2010-12-31'), by = '1 day'