Displaying 2 results from an estimated 2 matches for "stream_dist".
2012 Jul 09
3
Package 'MASS' (polr): Error in svd(X) : infinite or missing values in 'x'
...er=T)
>
> attach(Jdata)
> names(Jdata)
[1] "POINTID" "Lat_Y_pos" "JVeg5" "Subregion" "Rock_U_Nam"
"Rock_Name" "Elevation" "Slope" "Aspect" "Hillshade"
"Stream_dist" "Coast_dist" "Coast_SE"
[14] "Coast_E" "Wind_310" "TPI" "Landform"
>
> Global <- polr(JVeg5 ~ Elevation + Lat_Y_pos + Coast_dist + Stream_dist,
> data=Jdata)
>
> summary(Global)
Error in svd...
2012 Jul 11
1
Package MuMIn (dredge): Error in ret[, ] <- cbind(x, se, rep(if (is.null(df)) NA_real_ else df, : number of items to replace is not a multiple of replacement length.
...a)
##NNET
##MULTINOMIAL LOGISTIC REGRESSION
##multinom(formula, data, weights, subset, na.action, contrasts = NULL,
##Hess = FALSE, summ = 0, censored = FALSE,
##model = FALSE, ...)
##Full Model
##14 variables
model1 <- multinom(JVeg5~Elevation + Lat_Y_pos + Coast_dist + Coast_SE +
Coast_E + Stream_dist + Subregion + Rock_Name + Slope + Aspect + Hillshade +
Wind_310 + TPI + Landform, data=Jdata, maxit=600)
##with 14 variables, maximum iterations reached without convergence,
therefore...
##have added maxit=600 argument, this increases maximum number of iterations
##from 100 to 600 (convergence at...