decodeBinary: Deserialize object

View source: R/decode_binary.R

decodeBinaryR Documentation

Deserialize object

Description

Decode a given string of a serialized object.

Usage

decodeBinary(bin, package = NULL)

Arguments

bin

('character(1L)') Binary string value containing the serialized model.

package

('character(1L)') Package required for object deserialization (default is 'NULL').

Value

Deserialized object from 'bin'

Author(s)

Daniel S.

Examples

mod = lm(Sepal.Width ~ ., data = iris)
bin = encodeObject(mod)
mod_b = decodeBinary(bin)
all.equal(mod, mod_b)

difuture-lmu/dsROCGLM documentation built on March 24, 2024, 1:07 p.m.