Description Usage Arguments Author(s) See Also Examples
Retrieves the projected area of the surface in area units.
1 | sal(x, LA)
|
x |
Numeric vector, commonly the output of functions of the |
LA |
Numeric vector containing the total area of the surface of each observation. |
Agustina Ventre-Lespiaucq and Silvia Santamaria Bueno.
SAL can be calculated with STAR data coming from star
, simu.star
, star.app
, and simu.star.app
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data(guava)
## Calculate SAL for a given location, date and time
gua<-star(guava,lat=40.82,long=-4.21,local.time=12,tz=1,
Ahmes=FALSE,ID=NULL,pitch=guava$pitch,roll=guava$roll,
horiz=FALSE,course=guava$course,date=30,o.format=NULL)
sal(gua,LA=guava$LA.cm2)
## Calculate SAL from simu.star()
sim.gua<-simu.star(guava,lat=40.82,long=-4.21,local.time=12,tz=1,
Ahmes=FALSE,ID=NULL, pitch=guava$pitch,roll=guava$roll,
horiz=FALSE,course=guava$course,date=30,o.format=NULL,
c.hour=c(7,9.5,12),c.date=30,c.lat=40.8,c.long=-4.2,c.tz=1,
LA=guava$LA.cm2,details=TRUE)
sal.guava<-sal(sim.gua$STAR,LA=sim.gua$LA)
#sal()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.