View source: R/calcPlantingAngle.R
calcPlantingAngle | R Documentation |
Calculates planting angle based on an initial longitude and longitude, terminal longitude and latitude, direction of rotation and planting direction.
calcPlantingAngle(LongLat1,LongLat2,rotation,plantingDir)
LongLat1 |
this is the initial longitude and latitude of where you plan to begin planting. Values should be stored as c(-98.1878745,40.8915224). |
LongLat2 |
the is the terminal longitude and latitude for where your first planting row will end. Values should be stored as c(-98.1878745,40.8915224). |
rotation |
direction you will be rotating field. There are one of two inputs to select from (arguments must be in quotes): "cw" - clockwise, "ccw" - counter-clockwise |
plantingDir |
the direction you will be planting. There are one of two inputs to select from: "N/S" - north/south planting direction, "E/W" - east/west planting direction |
The function returns a planting angle based on initial and terminal long/lat
planting angle in degrees
##see Vignette at https://github.com/cb-agr/agriPlot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.