slope: Set or get the slope slot.

Description Usage Arguments Details Value See Also Examples

Description

Set or get the the slope of the photosite in which the photograph represented by a CanopyPhoto was taken.

Usage

1
2
3
4
5
6
7
slope(x)

## S4 method for signature 'CanopyPhoto'
slope(x)

## S4 replacement method for signature 'CanopyPhoto,Angle'
slope(x) <- value

Arguments

x

CanopyPhoto.

value

Angle that represents the slope of x.

Details

The slope is the complement of the line-of-sight zenith angle. For zenith angle definition, see the details of lensPolyCoef.

Value

Angle.

See Also

loadPhoto.

Examples

1
2
3
4
5
6
7
8
9
x <- loadPhoto()
elevation(x)
elevation(x) <- asAngle(55)
elevation(x)

## Not run: 
  elevation(x) <- asAngle(c(10,20))

## End(Not run)

GastonMauroDiaz/caiman documentation built on Jan. 22, 2022, 4:43 a.m.