pathwayPredict {netSEM}R Documentation

Summary of predicted and observed response values along a pathway

Description

Predict response variable values along a pathway in principle 1.

Usage

pathwayPredict(x, path, newdata = NULL)

Arguments

x

An object of class "netSEM", the returned list from netSEMp1.

path

A string form for a pathway, the default output format from pathwayRMSE.

newdata

A data frame of the stress variable. The default is NULL.

Value

An object of class pathway, which is a list of the following items:

See Also

pathwayRMSE, netSEMp1

Examples

## Not run: 
# Load the sample acrylic data set
data(acrylic)
ans <- netSEMp1(acrylic)
paths <- pathwayRMSE(ans,maxlen=3)
response <- pathwayPredict(ans, paths[10,2])
response

## End(Not run)

[Package netSEM version 0.6.2 Index]