Learn R Programming

ES (version 1.1)

ESpredict: ESpredict

Description

ESpredict extract coefficient estimates from a fitted ES object.

Usage

ESpredict(object, c)

Value

Vector or Matrix of Coefficients estimates.

Arguments

object

Fitted ES object

c

A vector of values that indexes the path. Values should fall between 0 and the maximum of object$c1.

References

Edge Selection for Undirected Graphs

See Also

Es, cv.ES

Examples

Run this code
data(marks)
attach(marks)
object <- ES(marks)
ESpredict(object,c=object$c1)
detach(marks)

Run the code above in your browser using DataLab