An R Package including various useful functions to work with spatial analysis of on-farm experiments

calc_angle | Function to get the heading angle between two points: |

calc_direction | Function to get the heading angle between all consecutive... |

calc_distance | Function to get distances between consecutive points: |

creat_lines | Function to create trials around points: |

creat_polygons | Function to generate polygon from each point: TODO: Split in... |

expand_lines | Function to expand both extremities of a line: |

get_coverage | Function to generate polygon coverage over a field: |

get_subpols | Function to create the subpolygons in each pass: |

group_subpols | Function to create the experimental units based on the... |

make_headland | Function to make the field headland. |

make_line | Function to create a line based in a starting point and an... |

make_trial | Function to create trials around points: |

parallel_lines | Function to generate parallel straight lines: |

sfc_as_cols | Function to rotate a polygon by a given angle: |

st_over | Complements the over function in sf: |

st_rotate | Function to rotate a polygon by a given angle: |

st_utm | Tranform any projection to UTM for a sf object: |

to_line | Function to rotate a polygon by a given angle: |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.