PROTECTED]
To
Patrick Burns <[EMAIL PROTECTED]>
cc
[EMAIL PROTECTED], r-help@r-project.org
Subject
Re: [R] Supressing printing from a function: ecdf
Hello
Since the summary.ecdf function first do a "cat", and then calls
summary(knots(object),...) , I guess you will obtain the s
Hello
Since the summary.ecdf function first do a "cat", and then calls
summary(knots(object),...) , I guess you will obtain the same result
without the printing, by just use the latter part of the summary.ecdf
function like this:
a <- summary(knots(ecdf(rnorm(100["1st Qu."]
Hope this he
On Tue, 15 Jul 2008, Patrick Burns wrote:
If you do:
getAnywhere('summary.ecdf')
you will see the 'cat' statement that is doing
the printing that is annoying you.
It seems to me that a better definition of the
function would have an argument called something
like 'verbose' that controlled if
If you do:
getAnywhere('summary.ecdf')
you will see the 'cat' statement that is doing
the printing that is annoying you.
It seems to me that a better definition of the
function would have an argument called something
like 'verbose' that controlled if the 'cat' statement
was executed.
I'm not s
Dear R Users,
I am trying to suppress the information printed by the ecdf function
during an assignment. Various alternatives have failed me so far:
> a=summary(ecdf(rnorm(100)))["1st Qu."]
Empirical CDF:100 unique values with summary
> invisible(a=summary(ecdf(rnorm(100)))["1st Qu."])
Empir
5 matches
Mail list logo