normalize8nbn: normalizes a /nbn/

View source: R/f05.nbnma.code.r

normalize8nbnR Documentation

normalizes a /nbn/

Description

returns a nbn with a given expectation and variance through an transformation leaving the correlation unchanged.

Usage

normalize8nbn(nbn, mu=0, sigma=1)

Arguments

nbn

The nbn object to transform.

mu

Imposed expectations. When NULL nothing is changed. When of length one, this value is given to all the node expectations. If not the complete vector of expect

sigma

The same as mu but for the standard deviations.

Value

The transformed nbn.

Examples

 print8nbn(normalize8nbn(rbmn0nbn.01));

rbmn documentation built on July 9, 2023, 6:37 p.m.