new_class | R Documentation |
Add a new valid class to an ontology
new_class(new, target, description = NULL, ontology = NULL)
new |
|
target |
|
description |
|
ontology |
|
the updated ontology that contains the new class(es) defined here.
ontoDir <- system.file("extdata", "crops.rds", package = "ontologics")
onto <- load_ontology(path = ontoDir)
onto <- new_class(new = "use type", target = "class", description = "something",
ontology = onto)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.