Displaying 3 results from an estimated 3 matches for "y_vals".
Did you mean:
x_vals
2009 Mar 24
2
Properly labeling abline with text?
...us if there is a preferred procedure for labeling the abline. Is there a way to "fill" the text label and also put a box around the text label? I guess I would also like to have the box around the text match the abline format.
Thank you for any info or insights.
x_vals<-1:1000
y_vals<-rnorm(1000)
plot(x_vals, y_vals)
top_label<-paste("Top Label = ", format(max(y_vals), digits=2), sep="")
abline(h=max(y_vals), col="darkred")
text(max(x_vals), max(y_vals), top_label, pos=2)
bottom_label<-paste("Bottom Label = ", format(min(y_val...
2012 Sep 27
3
problem with nls starting values
Hi
I would like to fit a non-linear regression to the follwoing data:
quantiles<-c(seq(.05,.95,0.05))
slopes<-c( 0.000000e+00, 1.622074e-04 , 3.103918e-03 , 2.169135e-03 ,
9.585523e-04
,1.412327e-03 , 4.288103e-05, -1.351171e-04 , 2.885810e-04 ,-4.574773e-04
, -2.368968e-03, -3.104634e-03, -5.833970e-03, -6.011945e-03, -7.737697e-03
, -8.203058e-03, -7.809603e-03, -6.623985e-03,
2007 Oct 26
5
help
hello,
please can anyone help me out. Am a new user of R
program. Am having problem
with this code below, not getting the expected
results.
1. Each m, the cumulative sum should be 1.000 but the
2nd and 3rd m returned 2.000 and 3.000
instead of 1.000.
2. to get the LCL(m) and UCL(m) for each m base on
these instructions
if out.cum > 0.025 then LCL(m)= y-1
if out.cum >0.975