Learn R Programming

FuzzySTs (version 0.5)

summary_prm: Full summary table of a PRM result

Description

Formats the list returned by prm_polygon (or its wrappers prm_triangle / prm_trapezoid) into a single-row data.frame, rounding numeric quantities and collapsing the Crossings and Partition vectors into readable strings.

Usage

summary_prm(res, digits = 6)

Value

A one-row data.frame with columns Core1,

Core2, Area1, Area2, D_dir, D_core,

D_PRM, S_dir, S_core, S_PRM, C

(share of the total distance that is directional, i.e.

\(|S_{dir}| / (|S_{dir}| + S_{core})\); NA when both are zero), Direction, Decision, Ncross (number of crossing points), Crossings (comma-separated string),

Nintervals (number of sign-partition intervals) and

Partition (comma-separated string).

Arguments

res

A list as returned by prm_polygon.

digits

Integer, number of digits used to round numeric columns (default 6).

See Also

summary_prm_scores for a compact, scores-only version.

Examples

Run this code
summary_prm(prm_triangle(c(1, 3, 6), c(4, 7, 9)))

Run the code above in your browser using DataLab