portal: Portals to class instantiate methods

portalR Documentation

Portals to class instantiate methods

Description

These functions are the same as class$instantiate.

Usage

vi_model(..., env = new.env(parent = parent.frame()), init_call = sys.call())

cubic_model(
  ...,
  env = new.env(parent = parent.frame()),
  init_call = sys.call()
)

simple_cubic_model(
  ...,
  env = new.env(parent = parent.frame()),
  init_call = sys.call()
)

quartic_model(
  ...,
  env = new.env(parent = parent.frame()),
  init_call = sys.call()
)

poly_model(..., env = new.env(parent = parent.frame()), init_call = sys.call())

heter_model(
  ...,
  env = new.env(parent = parent.frame()),
  init_call = sys.call()
)

ar1_model(..., env = new.env(parent = parent.frame()), init_call = sys.call())

non_normal_model(
  ...,
  env = new.env(parent = parent.frame()),
  init_call = sys.call()
)

phn_model(..., env = new.env(parent = parent.frame()), init_call = sys.call())

Arguments

...

Arguments passed to init method.

env

Environment. The instance environment.

init_call

Call. Contents of the ..init_call... It is recommended to leave it as default. Default is init_call = sys.call().

Functions

  • vi_model(): VI_MODEL

  • cubic_model(): CUBIC_MODEL

  • simple_cubic_model(): SIMPLE_CUBIC_MODEL

  • quartic_model(): QUARTIC_MODEL

  • poly_model(): POLY_MODEL

  • heter_model(): HETER_MODEL

  • ar1_model(): AR1_MODEL

  • non_normal_model(): NON_NORMAL_MODEL

  • phn_model(): PHN_MODEL


TengMCing/visage documentation built on Aug. 28, 2024, 3:27 p.m.