Hello,
A bit late but thanks for the extra explanation.
Rui Barradas
Às 16:00 de 16/09/2022, peter dalgaard escreveu:
As a general matter, empty arguments are allowed and are used meaningfully in some
contexts, notably A[i,], which is syntactic sugarcoating of "["(A,i,).
I.e., these are diff
As a general matter, empty arguments are allowed and are used meaningfully in
some contexts, notably A[i,], which is syntactic sugarcoating of "["(A,i,).
I.e., these are different:
> "["(Sigma,2,) # 2nd row
[1] 0.077 0.168
> "["(Sigma,2) # 2nd element
[1] 0.077
It is somewhat rare to have an e
> By putting in the comma, unless I am mistaken, you are effectively
> saying the second element is NULL, which is how it's naturally
> defined.
No, in f(x,) the second argument is missing, not NULL.
-Bill
On Fri, Sep 16, 2022 at 7:43 AM Avraham Adler
wrote:
> That may actually be the case for
That may actually be the case for EVERY default plot, if I understand
correctly. The default S# plot is defined as
## Default S3 method:
plot(x, y = NULL, type = "p", xlim = NULL, ylim = NULL,
log = "", main = NULL, sub = NULL, xlab = NULL, ylab = NULL,
ann = par("ann"), axes = TRUE, fr