print.SelInd {IndexWizard}R Documentation

Function to nicely print a SelInd object

Description

Function to nicely print a SelInd object

Usage

## S3 method for class 'SelInd'
print(x, ...)

Arguments

x

An object of class SelInd

...

does nothing, only for compatibility with the generic function

Value

No return value, only prints formatted output.

Examples

tn <- c("RZM", "RZN", "RZEo")
G <- matrix(
    c(1.0,0.13,0.13,
    0.13,1.0,0.23,
    0.13,0.23,1.0),
    3, 3, dimnames = list(tn,tn)
    ) * 144
w <- c(0.7, 0.3, 0)
names(w) <- tn
r2 <- c(0.743, 0.673)
names(r2) <- tn[1:2]
res <- SelInd(
  w = w,
  G = G,
  r2 = r2
)
print(res)


[Package IndexWizard version 0.2.1.0 Index]