Calculates the pixel area for each line of a raster

Description

Calculates the pixel area for each line of a raster

Usage

1

Arguments

x

a Raster* object

Value

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