init: Initialize objects within constructor functions

initR Documentation

Initialize objects within constructor functions

Description

init() is a generic intended to initialize objects within a constructor function. Usage is only meaningful as a way to isolate special operations needed for a certain class from the structure of the object itself. This keeps the code more readable.

Usage

init(x, ...)

Arguments

x

An object of the class to be initialized

Value

An object of the class being initialized, as modified by the init.className method.


rmvegasm/schron documentation built on June 3, 2022, 7:14 a.m.