pathanalysis(corMatrix, resp.col, collinearity = FALSE)corMatrix that corresponds to
the response variable. TRUE, an external interactive display is
used to pass a value, say k, at which to evaluate the system:
(X'X + Ik)B = X'Y, being X'X the correlation matrix between explanatory variables,
X'Y the correlation vector between all explanatory variables and the response variable,
B is the vector of path coefficients and k is a value between 0 and 1; default is FALSE, i.e., k = 0. collinearity = TRUE, an interactive graphic is displayed for dealing with collinearity.data(peppercorr)
pathanalysis(peppercorr, 6, collinearity = FALSE)
# End (not run)
Run the code above in your browser using DataLab