make_summary_matrix function

Creates summary matrix

Creates summary matrix

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

make_summary_matrix(df, m)

Arguments

  • df: sorted data frame of processed PCL data
  • m: matrix of PCL hit density with x and z coordinates

Returns

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

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.

Examples

pcl_summary <- make_summary_matrix(pcl_split, pcl_vai)