On Fri, 28 Apr 2006, Thomas Adams wrote:
> Roger,
>
> Your suggestion:
>
> fullgrid(dem) <- FALSE
>
> did turn dem into class type SpatialGridDataFrame, but when I tried:
>
> z <- predict(UK_fit,newdata=dem)
>
> I got an error:
>
> Error in model.frame(... :
> invalid variable type.
>
> I t
Roger,
Your suggestion:
fullgrid(dem) <- FALSE
did turn dem into class type SpatialGridDataFrame, but when I tried:
z <- predict(UK_fit,newdata=dem)
I got an error:
Error in model.frame(... :
invalid variable type.
I think I should restate the problem:
I have a file 'temps' which has class
On Fri, 28 Apr 2006, Thomas Adams wrote:
> Roger,
>
> This got me further along, but I am encountering a problem with:
>
> z <- predict(UK_fit, newdata=BMcD_SPx)
>
> The gstat step works for me, where I have:
>
> UK_fit<-gstat(formula=temps$temp~dem,data=temps,model=efitted)
>
> temps has cla
Roger,
This got me further along, but I am encountering a problem with:
z <- predict(UK_fit, newdata=BMcD_SPx)
The gstat step works for me, where I have:
UK_fit<-gstat(formula=temps$temp~dem,data=temps,model=efitted)
temps has class SpatialPointsDataFrame:
coordinates cat x