Learn R Programming

gfcanalysis (version 1.8.0)

calc_pixel_areas: Calculates the pixel area for each line of a raster

Description

Calculates the pixel area for each line of a raster

Usage

calc_pixel_areas(x)

Value

a vector with the area in square meters of the pixels in each line of x (vector has length equal to nrow(x))

Arguments

x

a Raster* object