helpers: Auxiliary functions.

class_get_subclassesR Documentation

Auxiliary functions.

Description

Auxiliary functions.

Usage

class_get_subclasses(x)

class_get_subclasses_vec(x)

pkg_get_all_methods(pkg)

Arguments

x

A class (length-one character vector).

pkg

Unquoted package name.

Details

class_get_subclasses will retur a two-column data.frame (columns "super" and "sub") with the relations between super- and subclasses.

class_get_subclasses_vec will return a character vector with all subclasses that inherit from x.

Examples

library(polmineR)
class_get_subclasses("count")
class_get_subclasses_vec
class_get_subclasses_vec("textstat")
pkg_get_all_methods(polmineR)

PolMine/ruml documentation built on April 8, 2023, 7:26 a.m.