vislim: R function for computing the limit of visibility of an object...

Description Usage Arguments Details Examples

View source: R/vislim.R

Description

The function allows to plot the angular size of an object (in degrees) against the distance from the observer, and to compute at which distance from the observer the angular size of the object hits the limit of human visual acuity (0.01667 degrees).

Usage

1
vislim(vis.degree = 0.01667, targ.h)

Arguments

vis.degree:

limit of human visual acuity (0.01667 by default).

targ.h:

target size (=height in meters).

Details

The function returns:
-a plot displaying the decay in angular size as function of the object's distance from the observer; a black dot represents the distance at which the angular size hits the limit of human visual acuity;
-the value (in km) of the visibility limit.

Examples

1
limit <- vislim(targ.h=6) # calculate the visibility limit of an object of size 6m, and store the result (20.62 km) in the 'limit' variable

gianmarcoalberti/GmAMisc documentation built on May 3, 2019, 6:44 p.m.