qna_to_tlm | R Documentation |
The Linear Topic Map format, LTM (https://ontopia.net/download/ltm.html), allows specification of networks in a human-readable format.
qna_to_tlm(
x,
topicmapId = "rock_qna_topicmap",
topicmapTitle = "A ROCK QNA Topic Map"
)
x |
The parsed source object (as produced by |
topicmapId , topicmapTitle |
The topic map's identifier and title. |
If x
is a single parsed source: a character vector holding the
Linear Topic Map specification; or, if multiple network coding schemes were
used in parallel, each in a list. If x
contains multiple parseds sources,
a list of such objects (i.e., a list of vectors, or a list of lists of
vectors).
### Get path to example source
examplePath <-
system.file("extdata", package="rock");
### Read a souce coded with the Qualitative Network Approach
qnaExample <-
rock::parse_source(
file.path(
examplePath,
"network-example-1.rock"
)
);
### Convert and show the topic map
cat(
rock::qna_to_tlm(
qnaExample
),
sep="\n"
);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.