View source: R/sequence-analysis-audit.R
| audit_sequence_analysis | R Documentation |
Inspects supported gp3sequences objects for structural contract validity, recoverable provenance, identifiers, state levels, method settings, and randomness metadata. The audit does not reinterpret sequence structure as a psychological, diagnostic, cognitive, emotional, or causal construct.
audit_sequence_analysis(x, strict = FALSE, tolerance = 1e-08)
x |
A gp3sequences analysis result or supported structural object. |
strict |
Logical; if |
tolerance |
Numerical tolerance used for matrix/probability checks. |
An object of class gp3_sequence_analysis_audit containing
summary, issues, provenance, contract, and status.
sequences <- data.frame(
sequence_id = rep(c("s1", "s2", "s3"), each = 3L),
sequence_order = rep(1:3, times = 3L),
state = c(
"A", "B", "C",
"A", "B", "B",
"C", "B", "A"
)
)
distance <- compute_sequence_distance(
sequences,
method = "levenshtein"
)
audit_sequence_analysis(distance)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.