Re: [R] Converting daily data series to monthly series

2010-04-20 Thread zow...@ncst.go.ke
. 15077895632 Website: www.nuist.edu.cn From: "Gabor Grothendieck" Sent: Wednesday, April 21, 2010 11:46 AM To: zow...@ncst.go.ke Subject: Re: [R] Converting daily data series to monthly series

[R] Converting daily data series to monthly series

2010-04-20 Thread zow...@ncst.go.ke
Hi Users, I have daily series of data from 1962 - 2000, with the data for February 29th in leap years excluded, leaving 365 daily values for each year. I wish to convert the daily series to monthly series. How can I do this using the zoo package or any other package? Thanks ZABLONE OWITI G

[R] Problem writing netcdf data with Rclim

2010-04-12 Thread zow...@ncst.go.ke
Dear Users: I am able to read the file precip.nc (CMAP monthly precip) using the Rclim package. How ever, when I try to write the data in a netcdf file, I get the following error about the missing value attribute: > pcpmon<-netcdfread("precip.nc","lon","lat","time","precip",unpack=T) > netcdfw

[R] Adding country boundaries on field map plots

2010-04-11 Thread zow...@ncst.go.ke
Hi R users, What is the command for adding (or how do we add) country boundaries on r-spatial plots. Thanks ZABLONE OWITI GRADUATE STUDENT Nanjing University of Information, Science and Technology College of International Education Add: 219 Ning Liu Rd, Nanjing, Jiangsu, 21004, P.R. China

[R] Adjusting X-axis time scale

2010-04-04 Thread zow...@ncst.go.ke
Dear all, I am plotting daily data from 1950 to 2000 and I wish to have the time in X-axis to indicate years and NOT days (i.e 1950 1951,..,2000 instead of 1,2, 3, ..). How do I set the x-axis to show years instead of days. ZABLONE OWITI GRADUATE STUDENT Nanjing University of Informat