This functions taked a data frame of BioCro Output containing three columns-Longitude, Latitude, and Yield and a Shapefile of polygon and add an additional column of given name "Variable" in the shapefile
@param shapefile @param BioCroOutPut @param VariableName will be the name of new field in shapefile @param GridResolution is used in creating prediction raster Grid for interpolating BioCro Output @param InterpolationMethod- I can currently use only thin plate spline method provided in R package fields. I can extend this later providing options for kriging etc. @return A list containing mean value of zonal analysesi and raster of the BioCroOutput in ascii format @export
1 2 | BioCroOutput_to_shapefile(InputShapefile, BioCroOutput, VariableName,
GridResolution = 0.0166, InterpolationMethod = "Tps")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.