DNEpie: Plot advanced results of a DNE surface analysis
Description
Plot advanced results of a DNE surface analysis
Usage
DNEpie(
DNE_File,
main = "",
type = "area",
convexCol = "hotpink",
concaveCol = "deepskyblue"
)
Arguments
- DNE_File
An object that stores the output of the DNE()
function
- main
User's title for the plot
- type
string determine which parameters to plot. Default='DNE'
also accepts 'area' to plot pie charts of the area.
- convexCol
Color for the portion of the pie chart representing convex
contribution. Default='hotpink'. Accepts any color keyword.
- concaveCol
Color for the portion of the pie chart representing concave
contribution. Default='deepskyblue'. Accepts any color keyword.
Details
This function creates a pie chart of the total area or DNE of the surface
originating from the concave or convex portions of the surface. The function
defaults to plotting surface area, however, relative proportion of total DNE from the
concave and convex portions of the surface can be plotted by calling type='DNE'
.
Colors can be customized by altering the convexCol
and concaveCol
arguments.
Examples
Run this codeDNE_output <- DNE(Tooth)
DNEpie(DNE_output)
Run the code above in your browser using DataLab