[R] ecdf --- title suggestion and question
Steve Lianoglou
lianoglou.steve at gene.com
Wed May 8 22:54:25 CEST 2013
Hi Ivo,
On Wed, May 8, 2013 at 1:37 PM, ivo welch <ivowel at gmail.com> wrote:
> dear R-experts---first, a suggestion to martin: the ecdf() function
> could have an optional parameter to set the title. by looking at
> str(), I see the plot title is set in an attr named "call". i.e., I
> can reset it as
>
> ee <- ecdf( rnorm(25 ) )
> attr(ee,"call") <- "my own title"
> plot(ee)
Why not just:
R> plot(ee, main="my own title")
> alas, I cannot figure out how to get rid of the title altogether.
> attr(ee,"call") <- NULL gives me two quotation marks ("") . is it
> possible to remove the title altogether?
R> plot(ee, main="")
R> plot(ee, main=NULL)
-steve
--
Steve Lianoglou
Computational Biologist
Department of Bioinformatics and Computational Biology
Genentech
More information about the R-help
mailing list