OPCbinareas {molaR}R Documentation

Visualize surface area distribution into separate OPC orientation bins.

Description

This function will make either a bar plot or pie chart showing the surface area assigned to each OPC orientation bin.

Usage

OPCbinareas(
  OPC_File,
  main = "",
  binColors = hsv(h = (seq(10, 290, 40)/360), s = 0.9, v = 0.85),
  type = "bar"
)

Arguments

OPC_File

An object that stores the output of an OPC analysis using OPC().

main

Title for plot.

binColors

Allows the user to define the fill colors for each directional bin. see details

type

String argument to determine type of plot, either bar' or 'pie'. Default is set to 'bar'

Details

This function will create either bar or pie chats visualising the distribution of surface area into each of the OPC orientation bins. Colors can be customized but are meant to match the default settings in the OPC3d() function.

Examples

OPC_Object <- OPC(Tooth)
OPCbinareas(OPC_Object) 

[Package molaR version 5.3 Index]