The sky view factor is estimated by calculating and averaging the horizon elevation angle and sky view factor for a discrete number of azimuth angles. Increasing this discreet number of angles 'nAngles' will provide a better estimate of the actual sky view factor, at the expense of longer processing time.
The 'maxDist' parameter determines the maximum search radius for determining the horizon angle. Increasing the value of 'maxDist' will provide a better estimate of the actual sky view factor, at the expense of longer processing time.
The 'blockSize' parameter may be reduced to avoid memory errors when processing large input RasterLayer objects.