DNEDensities: Plot advanced results of a DNE surface analysis

View source: R/DNEDensities.R

DNEDensitiesR Documentation

Plot advanced results of a DNE surface analysis

Description

Plot advanced results of a DNE surface analysis

Usage

DNEDensities(
  DNE_File,
  main = "",
  type = "DNE",
  legendPos = "topright",
  convexCol = "hotpink",
  concaveCol = "deepskyblue"
)

Arguments

DNE_File

An object that stores the output of the DNE function

main

User's title for plot. Default is blank

type

string determining which density plots to make. Default

legendPos

string to determine location of the legend. Default='topright' see details. is to plot DNE face densities. Alternatively can plot face areas with 'area'

convexCol

Color for the convex density polygon, Default='hotpink'

concaveCol

Color for the concave density polygon, Default='deepskyblue'

Details

This function creates a set of overlapping density plots of two potential types. The user can plot overlapping density plots that sort the surface into concave and convex portions for plotting. The function will default to plotting DNE density values, however density of face surface areas sorted into concave and convex portions of the surface can be plotted by calling type='area'. Colors can be customized by altering the convexCol and concaveCol arguments.

Examples

DNE_output <- DNE(Tooth)
DNEDensities(DNE_output)

molaR documentation built on Feb. 16, 2023, 10:33 p.m.