Learn R Programming

ProSGPV (version 1.0.0)

print.sgpv: print.sgpv: Print variable selection results

Description

S3 method print for an S3 object of class sgpv

Usage

# S3 method for sgpv
print(x, ...)

Arguments

x

An sgpv object

...

Other print arguments

Value

Variable selection results

Examples

Run this code
# NOT RUN {
# prepare the data
x <- t.housing[, -ncol(t.housing)]
y <- t.housing$V9

# run one-stage algorithm
out.sgpv.1 <- pro.sgpv(x = x, y = y, stage = 1)

out.sgpv.1
# }

Run the code above in your browser using DataLab