Displaying 4 results from an estimated 4 matches for "prcp".
Did you mean:
arcp
2005 Jan 31
2
coercing a list to a data frame, lists in foreloops
...this data set. The only way I know to do
this is unsing a foreloop, but this won't work on a list. I've tried to
convert the list to a data frame, but that won't happen, either.
I want to fill rows in this table:
> newtest[10:15,]
yrmos yearmo snow.sum snow.mean snow.dep.mean prcp.sum prcp.mean tmin.min
10 195410 NA NA NA NA NA NA NA
11 195411 NA NA NA NA NA NA NA
12 195412 NA NA NA NA NA NA NA
13 195501 NA NA NA...
2005 Jan 25
1
chron: parsing dates into a data frame using a forloop
...ther data
frame with one column of dates, one of years, one of months, one of a unique
combination of year and month, and one of days, but R seems to have some
problems with this. My initial data frame looks like this (ignore the NAs in
the other fields):
> mans[1:10,]
date loc snow.new prcp tmin snow.dep tmax
1 11/01/54 2 NA NA NA NA NA
2 11/02/54 2 NA NA NA NA NA
3 11/03/54 2 NA NA NA NA NA
4 11/04/54 2 NA NA NA NA NA
5 11/05/54 2 NA NA NA NA NA
6 11/06/54 2 NA NA NA...
2005 Jan 26
1
summarizing daily time-series date by month
...rame with one column of dates, one of years, one of months, one of a unique
: combination of year and month, and one of days, but R seems to have some
: problems with this. My initial data frame looks like this (ignore the NAs in
: the other fields):
:
: > mans[1:10,]
: date loc snow.new prcp tmin snow.dep tmax
: 1 11/01/54 2 NA NA NA NA NA
: 2 11/02/54 2 NA NA NA NA NA
: 3 11/03/54 2 NA NA NA NA NA
: 4 11/04/54 2 NA NA NA NA NA
: 5 11/05/54 2 NA NA NA NA NA
: 6 11/06/54 2 N...
2010 Oct 11
2
filled.contour: colour key decoupled from main plot?
...o capture the whole range (of rainfall for example), including the more extreme values both sides. In the colour key this results in uneven distribution of the colour bars (and I understood why). Here is the code with simplistic data:
xlon <- seq(10, 60, len=10)
ylat <- seq(20, 50, len=10)
prcp <- abs(rnorm(length(xlon)*length(ylat)))*1000
zprcp <- array(zprcp,c(length(xlon),length(ylat)))
zprcp.colour <-c("#EDFFD2","#00FFD2","#00F0FF","#00B4FF","#0078FF","#003CFF","#0000FF","#3C00FF","#7800FF&q...