Description Usage Arguments Examples
View source: R/canopy.profile.R
This function allows you to plot the canopy profile for mangrove forest transects from pcqm data.
1 2 | canopy.profile(x, samplingpoint = "samplingpoint", height = "height",
interval10 = TRUE, interval = "interval", ymax = NULL, xmax = NULL)
|
samplingpoint |
Column name for sampling points (numerical). Default name is "samplingpoint". First sampling point must be 1. |
height |
Column name for height. Default name is "height". Values must be in meters. |
interval10 |
Logical argument for distance between PCQM sampling points. If interval10=TRUE (Default), the canopy plot assumes equidistant 10-meter spacing between all sampling points. If interval10=FALSE, a unique column must exist in the dataframe with distance from the previous sampling point. |
interval |
Column name for the distances between sampling points (required if interval10=FALSE). Default name is "interval". The first row (samplingpoint 1) must be a value of 0. Each successive sampling point number represents the distance from the previous sampling point, NOT the additive distance from sampling point 1. |
ymax |
Optional argument for specifying the maximum extent of the y axis. If not specified (Default), ymax is estimated based on dataframe values. |
xmax |
Optional argument for specifying the maximum extent of the x axis. If not specified (Default), xmax is estimated based on dataframe values. |
1 2 | canopy.profile(mangrove_data)
canopy.profile(mangrove_data, ymax = 50, samplingpoint = "Sampling_Point", interval10=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.