mutable: Remove the "immutable" S3-class from an R object, allowing it...

View source: R/immutable-class.R

mutableR Documentation

Remove the "immutable" S3-class from an R object, allowing it to be modified normally again.

Description

Remove the "immutable" S3-class from an R object, allowing it to be modified normally again.

Usage

mutable(object)

Arguments

object

An R object inheriting from the "immutable" class.

Value

The object with the "immutable" class stripped from it.

Examples

immut_list <- immutable(list())
mutable(immut_list)


bhklab/CoreGx documentation built on March 14, 2024, 3:04 a.m.