# Load acrylic data set
data(acrylic)
# Build a netSEM model
ans <- netSEMp1(acrylic)
# Plot the network model
plot(ans,cutoff = c(0.3,0.6,0.8))
# Plot the network diagram with latent argument labels
plot(ans, cutoff = c(0.3, 0.6, 0.8),
latent = c('IAD1' = 'FundAbsEdge',
'IAD2' = 'UVStab',
'IAD2p' = 'UVStab',
'IAD3' = 'YelMet'))
# Drop relationships lower than minimum cutoff value
plot(ans, cutoff = c(0.3,0.6,0.8), style = FALSE)
if (FALSE) {
# Save plot
plot(ans, cutoff = c(0.3, 0.6, 0.8), plot.save = TRUE, filename = 'acrylic-netSEMp1')
}
Run the code above in your browser using DataLab