pathwayPredict: Summary of predicted and observed response values along a...

Description Usage Arguments Value See Also Examples

View source: R/pathwayPredict.R

Description

Predict response variable values along a pathway

Usage

1
pathwayPredict(x, path, newdata = NULL)

Arguments

x

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

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, netSEMm

Examples

1
2
3
4
5
6
# Load the sample acrylic data set
data(acrylic)
ans <- netSEMm(acrylic)
paths <- pathwayRMSE(ans,maxlen=3)
response <- pathwayPredict(ans, paths[10,2])
response

netSEM documentation built on May 2, 2019, 6:32 a.m.