Displaying 3 results from an estimated 3 matches for "fn12".
Did you mean:
f12
2005 Nov 02
2
help with the coordinates of the ECDF object
Hi all R users
I would like to know how acess the coordinates
of the ECDF object.
I look for the example,
in this part:
######################
print(ls.Fn12 <- ls(env= environment(Fn12)))
######################
but I do not know to extract
the Y coordinate and put it in other variable.
My objective is to make a plot
and identify the points with labels.
############# Example by ?ecdf
y <- round(rnorm(12),1); y[3] <- y[1]
Fn12 <-...
2006 Jun 04
2
slanted ends of horizontal lines for certain line widths
...plot(c(1,2),c(1,1),xlim=c(0,3),lwd=4,type="l")
then the left end (1st example) or both ends (2nd example) of the lines
are not rectangular but slanted on the graphical display (screen).
That behavour first occurred when I was trying to plot a stepfun, e.g.,
y <- round(rnorm(12),1)
Fn12 <- ecdf(y)
plot(Fn12,verticals= FALSE, do.p = FALSE,lwd=2,col.h="red")
plot(Fn12,verticals= FALSE, do.p = FALSE,lwd=4,col.h="red")
(lwd=3 seems okay)
Bug or feature?
Suggestions? (I don't like the slanted ends but lwd=2 would be better
than lwd=3)
Robert Offinger
OvG-U...
1997 Sep 12
2
R-alpha: bug in passing of empty (...)
...ve been using in S-plus:
> tst <- function(...) ls(...)
> tst()#--- should really give the same as ls() !!
character(0)
> ls()
[1] "%in%" "As.integer" "Dir"
[4] "Dir0" "Fn12" "Slynx"
......
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in t...