search for: valkror

Displaying 2 results from an estimated 2 matches for "valkror".

2000 Dec 10
1
basic plot() question
Dear all, I try to plot a logstic regression model as follows: Valkror<- read.table("Valkror.txt", header=T) np.bark<- glm(Npinc~bark, family=binomial, data=Valkror) plot.formula(np.bark$fitted.values~ Valkror$bark) The above looks nice but I want to connect the points with a line so I try: plot.formula(np.bark$fitted.values~ Valkror$bark, type=&quot...
2003 Jul 31
2
how as.numeric() !-> factor
...e divided two vectors: Np.occup97.98<- as.data.frame(cbind(site = levels(sums$site), Np.occup97.98 = sums$Ant.Nptrad97.98/Ant.trad$Ant.trad97.98)) > Np.occup97.98 site Np.occup97.98 1 erken97 0.342592592592593 2 erken98 0.333333333333333 3 rormyran 0.48471615720524 4 valkror 0.286026200873362 However, at a later stage of the analysis I want > round(Np.occup97.98[,2], 2) Error in Math.factor(x, digits) : "round" not meaningful for factors neither did this work: > round(Np.occup97.98[,2], 2) Error in Math.factor(x, digits) : "round" not meani...