Displaying 2 results from an estimated 2 matches for "yldeonr".
2004 Nov 14
1
Combining expressions and objects within labels
...me from some more complicated R
calculations).
In one of this labels I'd like to place a superscript, however I cannot
find a way to place both the expression and the object in the same label.
Thanks in advance and best regards.
Please look at the example below:
# my objects
eonr <- 75
yldeonr <- 150
r_2 <- 0.95
# the plot and simple labels
plot(0:100, 0:100)
text(60,40, paste("EONR=",eonr))
text(60,36, paste("Yield at EONR=",yldeonr))
# I'd like to place the superscript on the r
text(60,32, paste("Pseudo r^2=",r_2))
# This does not seem to wor...
2004 Mar 17
0
NLS question:Quadratic plus plateau fit
...001, x0=135),
trace=T)
qp.nls.fit
summary(qp.nls.fit)
c.qp.fit <- coefficients(qp.nls.fit)
attach(as.list(c.qp.fit))
yld.x0 <- b0 + b1*x0 + b2*x0^2
maxn <- -b1/(2*b2)
eonr <- (ratio - b1)/(2*b2)
eonr2 <- round(eonr, digits = 0)
yldmaxn <- b0 + b1*maxn + b2*maxn^2
yldeonr <- b0 + b1*eonr + b2*eonr^2
yldeonr2 <- round(yldeonr, digits = 0)
plot(yield ~ nrate,
pch = 16,
main = "Quadratic plus Plateau Model",
xlab = expression(paste("Nitrogen rate [lbs ac" ^-1,"]")),
ylab = expression(paste("Corn yield [bu ac...