Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

8 results for “from:Aman Verma”

minimum area bounding rectangles
Aman Verma · Mar 15, 2011 · r-sig-geo

bbox in the sp package is what you are looking for. -----Original Message----- From: r-sig-geo-bounces at r-project.org [mailto:r-sig-geo-bounces at r-project.org] On Behalf Of Murray Richardson Sent: March 15, 2011...

Is there a function for comparing a modeled timeseries to the measured one?
Aman Verma · Mar 9, 2011 · r-sig-geo

Hi Jan, In general, R-squared can be calculated as the square of the correlation coefficient. However, read here to understand what R-squared means in this case: http://en.wikipedia.org/wiki/R-squared#As_squared_correlation_coefficient aman...

ar.ols() behaviour when time series variance is zero
Aman Verma · Apr 14, 2012 · r-help

Hello, When the ar.ols function (in the package stats) is run with an argument that has a variance of zero, it returns an error: ar.ols(c(1,1,1)) Error in qr.default(x) : NA/NaN/Inf in...

replace values in spacetime (STFDF) object
Aman Verma · Mar 11, 2011 · r-sig-geo

Hi Martin, You put the brackets in the wrong place. You want to subset the dataframe, right, not the stfdf object, so: stfdf at data$values[1] <- stfdf at data$values[1] + 1 would increase the "value" in the first...

sample.Polygons fails for shapes with more than four Polygons
Aman Verma · Mar 7, 2011 · r-sig-geo

Hi everybody, I have discovered some strange behaviour in the function sample.Polygons in the sp package. Consider this code: library(maptools) library(sp) # Download and unpack this shape file to your working directory: # http://surveillance.mcgill.ca/countries_subdiv...

"Argument is of length 0" when extract values from a raster
Aman Verma · Mar 11, 2011 · r-sig-geo

Hi Xin, Yes, I came across this exact problem. The bug has been fixed in the latest release (1.8-0), but it isn't fixed in the stable release (1.7-46). You can pick up the "latest", by...

replace values in spacetime (STFDF) object
Aman Verma · Mar 11, 2011 · r-sig-geo

Hi Martin, It would be very helpful if you provided a clear example of exactly what you wanted to extract from the object, but I'll make a guess. As the vignette (of the class STFDF) mentions, you can select...

replace values in spacetime (STFDF) object
Aman Verma · Mar 11, 2011 · r-sig-geo

Hi Martin, Yeah, you can't replace values like that... here is a way to think about it. Consider: stfdf[,1] This returns a *completely new* spacetime object. You cannot set anything in this object because it has not been...

Can't find what you're looking for? Try searching with Google .