search for: prec_djf_1851_03

Displaying 1 result from an estimated 1 matches for "prec_djf_1851_03".

2011 Jul 07
1
Select element out of several ncdf variables
.../cstocker/data/atm/tr_1500_", i,"/PRECT/PREC_tr1500_", i,"_", j,"_", k,".nc", sep="")) prect <- get.var.ncdf(data, "PRECT") assign(paste("prec", k, j, i, sep="_"), prect) } } } I produced 48 variables called prec_DJF_1851_03 and so on.. Now, how can I select an element out of each of these variables? If I have only one variable, I use: example[1:5, 6:10, 10:15] ...just as you would choose out of a simple array. That I don't have to do it for every single variable by hand, I wanted to create something like: for...