Used to represent training data for a machine learning classifier for image classificaion, or testing data used for testing a classification.
xa data.frame of independent variables (usually pixel values)
ya data.frame of the dependent variable (usually land cover 
classes)
pixel_srca data.frame used to link pixels in x and y to 
an input polygon
training_flaga binary vector of length equal to nrow(x) 
indicating each row in x should be used in training (TRUE) or in testing 
(FALSE)
polysa SpatialPolygonsDataFrame of the polygons used to choose 
the pixels in x and y.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.