Displaying 2 results from an estimated 2 matches for "lat_y_po".
Did you mean:
lat_y_pos
2012 Jul 09
3
Package 'MASS' (polr): Error in svd(X) : infinite or missing values in 'x'
..., -9999 or blank values.
My script (in brief) is as follows, with results:
############
> library(MASS)
>
> ## ADD DATA
> Jdata<- read.delim("/Analysis/20120709 JLittle data file.txt", header=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"...
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.
...txt", header=T)
attach(Jdata)
names(Jdata)
##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...