O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works...

In the R script earlier, the line starting with the double pound sign (##) informs QGIS about the inputs and outputs of the algorithm to create the graphic user interface. This information creates the corresponding R variables to be used later as input for R commands. The first line of the script, Point-pattern-analysis=group, indicate, the name of the group in which you want to put your script.

For example, in the Plot.rsx scriptwe are defining an input called Layer of the vector type and other inputs called X, Y, and Group of type field that take value from the vector map table of airport data. Once we define the input and output in the script, we define the R algorithm for data handling and visualization. The showplots ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required