Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

addline

Function to add lines to landscape


Description

adds a line from x1 to x2 to a raster layer

Usage

addline(r, x1, x2, val, plot = FALSE)

Arguments

r

raster that represents the landscape

x1

from coordinates

x2

to coordinates

val

resistance value 1 is no resistance

plot

switch if landscape should be plotted

Value

returns modified raster layer


PopGenReport

A Simple Framework to Analyse Population and Landscape Genetic Data

v3.0.4
GPL
Authors
Bernd Gruber [aut, cre], Aaron Adamack [aut]
Initial release
2019-02-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.