genSensors | R Documentation |
Generate a data.frame
providing sensor geometry data.
genSensors(...)
... |
a |
see examples below on the usage of genSensors
...
a data.frame
of class Sensors
Christoph Haeni
Class-Sensors
, genInputList
, genInterval
, genSources
, genModel
, genTolerances
, runbLS
, bLSmodelR-package
.
## Not run:
## generate a point and two line sensors (way1):
Sensors1 <- genSensors(PointSensor=list(x=0,y=0,z=1.5)
,LineSensor1=list(x=c(-10,10),y=0,z=1.25,n=40)
,LineSensor2=list(x=0,y=c(-20,10),z=c(1.05,1.25),d=0.5))
Sensors1
## generate a point and two line sensors (way2):
SensorDF2 <- data.frame(c("PointSensor2","LS1b_1","LS1b_2","LS2b_1","LS2b_2"),c(0,-10,10,0,0)
,c(0,0,0,-20,10),c(1.5,1.25,1.25,1.05,1.25),c("","LineSensor1b","LineSensor1b","LineSensor2b",
"LineSensor2b"),c(1,40,0,NA,NA),c(0,0,0,0.5,0))
Sensors2 <- genSensors(SensorDF2)
Sensors2
## join Sensors data frames:
Sensors4 <- join(Sensors1,Sensors2)
Sensors4
siteMap(Sensors4,PtArgs=list(pch=4,cex=0.8,lwd=2,col="darkred")
,SensorTextArgs=list(cex=0.7,pos=3),LSArgs = list(col="navyblue"))
addScaleBar()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.