Learn R Programming

rcdf (version 0.1.2)

as_rcdf: Convert to rcdf class

Description

Converts an existing list or compatible object into an object of class rcdf.

Usage

as_rcdf(data)

Value

The input object with class set to rcdf.

Arguments

data

A list or object to be converted to class rcdf.

Examples

Run this code
my_list <- list(a = 1, b = 2)
rcdf_obj <- as_rcdf(my_list)
class(rcdf_obj)

Run the code above in your browser using DataLab