| delta2sliks | R Documentation |
Converts a DELTA dataset to SLIKS (Simple List of Interactive Key States) format, which is used for interactive identification keys.
delta2sliks(
delta,
output_file = "data.js",
exclude_numeric = TRUE,
remove_temp = TRUE
)
delta |
A DeltaParser object (created by |
output_file |
Output file name (default: "data.js") |
exclude_numeric |
Logical; if TRUE, exclude numeric and text characters |
remove_temp |
Logical; if TRUE, remove temporary files after conversion |
The function assumes that the CONFOR program executable is available in the system PATH or in the current working directory.
Invisibly returns the path to the output file
# 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")
)
delta2sliks(delta, output_file = file.path(tempdir(), "data.js"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.