search for: famecon

Displaying 1 result from an estimated 1 matches for "famecon".

Did you mean: gamecon
2012 Mar 10
1
problem with effects : 'subscript out of bounds'
...p nor.trust <- as.factor(norway$trust) #### nor.trust is my IV, a factor as you can see. n.diversity <- norway$v221 ## control n.net <- norway$v228 ##control (there are others but they were coded the same) n.mod1 <- lm(nor.dem ~ nor.trust + n.diversity + n.age + n.sex + n.educ + famecon + n.net) ### linear model. all of these variables already are specific to the dataset which i called 'norway' so there is no need to specify in the model. summary(n.mod1) > plot(effect("nor.trust", n.mod1), multiline=T) Error in plot(effect("nor.trust", n.mod1), m...