Description Usage Arguments Details Value Examples
View source: R/fit_trend_surface.R
Fits a trend surface by leastsquares to a RasterLayer.
1  fit_trend_surface(x, size = ncell(x), np = 3)

x 

size 
positive integer giving the number of items to choose 
np 
degree of polynomial surface 
sampleProportion 
numeric. Fraction. Approximate proportion of pixels
that will be passed on to 
Fits a trend surface by leastsquares to an object of class
RasterLayer. This function is powered by surf.ls
.
RasterObject
.
1 2 3 4 5 6 7 8 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.