summary: Generate a statistical summary of taxonomic characters using...

View source: R/summary.R

summaryR Documentation

Generate a statistical summary of taxonomic characters using CONFOR

Description

This function creates a directives file for the CONFOR program to generate a statistical summary of characters for a DELTA dataset. The summary includes character types, states, and frequency distributions.

Usage

summary(delta, heading = NULL, remove_temp = TRUE)

Arguments

delta

A Delta dataset object (created by load_delta)

heading

Heading for the summary (default = NULL, uses heading from specs file)

remove_temp

Logical; if TRUE, remove temporary files after conversion (default = TRUE)

Details

The function assumes that the CONFOR program executable is available in the system PATH or in the current working directory.

Value

Invisibly returns the path to the generated summary file

Examples

# Requires the CONFOR executable on the PATH.

try({
  delta <- load_delta(
    system.file("extdata", "chars_viola", package = "RDelta"),
    system.file("extdata", "items_viola", package = "RDelta"),
    system.file("extdata", "specs_viola", package = "RDelta")
  )
  summary(delta)
  summary(delta, heading = "Genre Viola")
})


RDelta documentation built on Oct. 28, 2026, 5:12 p.m.