Re: [R] how to get coefficient and scores of Principal component analysis in R?

2015-03-19 Thread smb123
Actually, the loadings are quite different from the coefficients. The loadings are simply correlations of the original values to the scores for a PCA factor. The coefficients, on the other hand, allow one to compute the scores. There is a coefficient for each variable. The coefficient is multip

[R] Discrete variables with logistf

2015-02-17 Thread smb123
I am relatively new to R and I would appreciate some advice on how to include both discrete and continuous predictor variables in a stepwise backward log likelihood ration logistic regression. I have a model that includes 3 continuous predictor variables (soilmois, grasscov, and ranvar) and one dis