make_summary_matrix: Creates summary matrix

View source: R/make_summary_matrix.R

make_summary_matrixR Documentation

Creates summary matrix

Description

make_summary_matrix creates a summary matrix of data through data wrangling the VAI data frame.

Usage

make_summary_matrix(df, m, method)

Arguments

df

sorted data frame of processed PCL data

m

matrix of PCL hit density with x and z coordinates

method

"MH" is MacArthur-Horn and "Bohrer" is the Bohrer method

Details

This makes a dataframe that is as long as a transect is. If the transect is 40 m, this data frame has 40 rows. As input, make_summary_matrix requires a data frame of values from split_transects_from_pcl first, and second, the data frame of VAI from the function calc_vai.

#' This function allows you to express your love of cats.

Value

a matrix of summary stats by each x and z coordinate position

Examples


pcl_summary <- make_summary_matrix(pcl_split, pcl_vai, method = "Bohrer")


atkinsjeff/forestr documentation built on Dec. 12, 2023, 5:36 a.m.