powered by
Predict response variable values along a pathway in principle 1.
pathwayPredict(x, path, newdata = NULL)
An object of class pathway, which is a list of the following items:
"pathway": A string form that shows the pathway.
"RMSE": A value of the root mean squared error.
"Resp": A matrix. The first column is the observed response values and the second is the predicted response values.
An object of class "netSEM", the returned list from netSEMp1.
netSEMp1
A string form for a pathway, the default output format from pathwayRMSE.
A data frame of the stress variable. The default is NULL.
pathwayRMSE, netSEMp1
if (FALSE) { # Load the sample acrylic data set data(acrylic) ans <- netSEMp1(acrylic) paths <- pathwayRMSE(ans,maxlen=3) response <- pathwayPredict(ans, paths[10,2]) response }
Run the code above in your browser using DataLab