Hi R- USER,
I have been struggling to compute path analysis in R. I installed package
"sem" and I tried to run the analysis but could not get a diagram.
I have very big data set, here I just copied a sample of my data and I wanted to
see how I can do the path analysis and get the patch diagram (with r2 in each
path).
I have two tables; 1: num. of species - which is the depended variable and 2.
env is the independent(predictors) variable.
I was trying to do multiple regression (num. of species vs env) and trying to
see the path diagram (structural model). But I could not do it.
would you help me on how I can perform the analysis and show in diagram of the
model?
dput(env)
structure(list(preci = c(45.145, 38.501, 32.631, 38.392, 44.807,
45.774, 46.917, 44.384), wind = c(90L, 113L, 127L, 63L, 54L,
43L, 31L, 38L), radiation = c(11.805, 18.31, 19.381, 13.154,
9.752, 7.075, 5.558, 7.616), temp = c(12L, 15L, 21L, 20L, 14L,
18L, 21L, 18L)), .Names = c("preci", "wind",
"radiation", "temp"
), class = "data.frame", row.names = c(NA, -8L))
dput(num.of.species)
structure(list(S = c(4L, 7L, 9L, 10L, 10L, 8L, 8L, 1L)), .Names = "S",
class = "data.frame", row.names = c(NA,
-8L))
Sincerely,
Kristi
[[alternative HTML version deleted]]