Learn R Programming

dilp (version 1.1.0)

dilp_processing: Process raw leaf physiognomic data

Description

dilp_processing() will typically only be called internally by dilp(). However, it can be used on its own to generate and view a processed DiLP dataset that includes raw and derived physiognomic values useful for DiLP and other physiognomic analyses. Returns a data frame.

Usage

dilp_processing(specimen_data)

Value

A data frame containing cleaned and processed specimen level leaf physiognomic data. New variables calculated are:

  • Leaf area

  • Feret diameter

  • Feret diameter ratio (FDR)

  • Raw blade perimeter corrected (Raw blade perimeter - length of cut perimeter)

  • Internal raw blade perimeter corrected (Internal raw blade perimeter - length of cut perimeter)

  • Total tooth count

  • Total tooth count : internal perimeter (TC:IP)

  • Perimeter ratio

  • Petiole metric

  • Aspect ratio

  • Shape factor

  • Compactness

  • Tooth area

  • Tooth area : perimeter (TA:P)

  • Tooth area: internal perimeter (TA:IP)

  • Tooth area : blade area (TA:BA)

  • Average primary tooth area (Avg TA)

  • Tooth count : blade area (TC:BA)

  • Tooth count : perimeter (TC:P)

Arguments

specimen_data

A data frame containing specimen level leaf physiognomic data. A good reference for how to put together the data: McAbeeExample

Examples

Run this code
dilp_dataset <- dilp_processing(McAbeeExample)
dilp_dataset

Run the code above in your browser using DataLab