R/python-class.R

PythonClass <- R6::R6Class(
  classname = "PythonClass",
  public = list(
    set_python_class = function(py_class) {
      private$python_class = py_class
    },
    get_python_class = function() {
      private$python_class
    }
  ),
  private = list(
    python_class = NULL
  )
)

Try the rgudhi package in your browser

Any scripts or data that you put into this service are public.

rgudhi documentation built on March 31, 2023, 11:38 p.m.