Learn R Programming

bandicoot (version 1.0.0)

BASE$del_attr: Delete an attribute

Description

This function delete an attribute.

Usage

BASE$del_attr(attr_name)

Value

Return the object itself.

Arguments

attr_name

Character. Attribute name.

Examples

Run this code

test <- BASE$instantiate()
test$set_attr("x", 1)
test$x
test$del_attr("x")
test$x

Run the code above in your browser using DataLab