[R] convhulln {geometry} output from .call

2007-07-13 Thread Daniel E. Bunker
computations. -- Daniel E. Bunker TraitNet Associate Director BioMERGE Associate Director Post-Doctoral Research Scientist Columbia University Department of Ecology, Evolution and Environmental Biology 1200 Amsterdam Avenue New York, NY 10027-5557 deb37ATcolumbiaDOTedu 917-843-5076 phone 212-854-8188

[R] aovlmer.fnc, lmer and binomial response

2007-04-24 Thread Daniel E. Bunker
take it this means that it will not work with family=binomial? If so, how can I modify it to assess binomial response data? Any advice or guidance would be greatly appreciated! -Dan -- Daniel E. Bunker BioMERGE Associate Director Post-Doctoral Research Scientist Columbia University Department

[R] line width (all elements) in Trellis

2006-11-06 Thread Daniel E. Bunker
(reference.line) tpar12$lwd=c(rep(2,7)) trellis.par.set(reference.line, tpar12) barchart(yield ~ variety | site, data = barley, groups = year, layout = c(1, 6), ylab = Barley Yield (bushels/acre), scales = list(x = list(abbreviate = TRUE, minlength = 5))) -- Daniel E. Bunker

Re: [R] line width (all elements) in Trellis

2006-11-06 Thread Daniel E. Bunker
Great! Thanks to both Paul and Deepayan for these efficient approaches! -Dan Deepayan Sarkar wrote: On 11/6/06, Paul Murrell [EMAIL PROTECTED] wrote: Hi Deepayan Sarkar wrote: On 11/6/06, Daniel E. Bunker [EMAIL PROTECTED] wrote: Dear All, I am hoping to implement a barchart

Re: [R] adding error bars to lattice plots

2006-10-13 Thread Daniel E. Bunker
to panel, does that mean I need to rewrite panel.superpose? Again, any advice would be greatly appreciated. Thanks, Dan Deepayan Sarkar wrote: On 10/12/06, Daniel E. Bunker [EMAIL PROTECTED] wrote: Dear R users, About a year ago Deepayan offered a suggestion to incorporate error bars

[R] adding error bars to lattice plots

2006-10-12 Thread Daniel E. Bunker
Dear R users, About a year ago Deepayan offered a suggestion to incorporate error bars into a dotplot using the singer data as an example http://finzi.psych.upenn.edu/R/Rhelp02a/archive/63875.html. When I try to utilize this code with a grouping variable, I get an error stating that the

[R] Convergence warnings from zeroinfl (package pscl)

2006-07-20 Thread Daniel E. Bunker
modpag:intact0.021262 0.004977 4.2721 1.937e-05 modsl:intact 0.008784 0.002573 3.4136 6.411e-04 modacpas:intact -0.009994 0.002735 -3.6546 2.576e-04 log(theta) -1.405175 0.062412 -22.5145 2.993e-112 Theta = 0.2453 -- Daniel E. Bunker BioMERGE Associate Director Post

[R] xYplot, lmline and abline

2006-06-06 Thread Daniel E. Bunker
) { panel.xyplot(x,y) panel.lmline(x,y, span=1) } ) -- Daniel E. Bunker BioMERGE Associate Director Post-Doctoral Research Scientist Columbia University Department of Ecology, Evolution and Environmental Biology 1200 Amsterdam Avenue New York, NY 10027-5557

[R] vecortizing uniroot() for numerical solutions

2005-06-30 Thread Daniel E. Bunker
could use a numerical solver such as XPPAUT, but would rather be able to do it all in R. #Any thoughts on vectorizing this would be greatly appreciated. #Thanks! -Dan -- Daniel E. Bunker Associate Coordinator - BioMERGE Post-Doctoral Research Scientist Columbia University Department

[R] vectorized approach to cumulative sampling

2005-04-07 Thread Daniel E. Bunker
) { i=sample(old, size=1, prob=p); new[length(new)+1]=i; newsum=sum(new) } new newsum target if(newsumtarget){new[length(new)]=target-sum(new[-length(new)])} new newsum=sum(new); newsum target -- Daniel E. Bunker Associate Coordinator - BioMERGE Post-Doctoral Research Scientist Columbia

[R] Efficient selection and alteration of dataframe records

2005-02-03 Thread Daniel E. Bunker
() #8. plot results, fit line print(sumdf) traitdf plot(sumdf$s.S, sumdf$s.crop) -- Daniel E. Bunker Associate Coordinator - BioMERGE Post-Doctoral Research Scientist Columbia University Department of Ecology, Evolution and Environmental Biology 1020 Schermerhorn Extension 1200 Amsterdam Avenue