new_class {ontologics} | R Documentation |
Add a new valid class to an ontology
Description
Add a new valid class to an ontology
Usage
new_class(new, target, description = NULL, ontology = NULL)
Arguments
new |
|
target |
|
description |
|
ontology |
|
Value
the updated ontology that contains the new class(es) defined here.
Examples
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)
[Package ontologics version 0.7.0 Index]