[R] ecdf --- title suggestion and question
ivowel at gmail.com
Wed May 8 22:59:00 CEST 2013
ooops...never mind. I mixed up "title" and "main" as options.
Ivo Welch (ivo.welch at gmail.com)
On Wed, May 8, 2013 at 1:54 PM, Steve Lianoglou
<lianoglou.steve at gene.com> wrote:
> 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"
> 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 Lianoglou
> Computational Biologist
> Department of Bioinformatics and Computational Biology
More information about the R-help