Learn R Programming

simsem (version 0.2-8)

printIfNotNull: Provide basic summary of each object if that object is not NULL.

Description

Provide basic summary of each object if that object is not NULL. This function is mainly used in the summary function from the linkS4class{SimSet} object.

Usage

printIfNotNull(object, name=NULL)

Arguments

object
The target object to be printed, which can be linkS4class{SimMatrix}, linkS4class{SymMatrix}, or linkS4class{SimVector}.
name
The name of the target object

Value

  • None. This function will print only.

Examples

Run this code
# This function is not public

# AL <- simVector(rep(NA, 5), "0")
# printIfNotNull(AL, "Factor mean")

Run the code above in your browser using DataLab