Hi again (, I am the PO from my own email account)
I agree that the word "basically" puts the NA issues aside. But my
point is that R subsetting behavior when there are NAs in a logical
index is quite tricky to say the less, and deserves the trouble of
pointing it out in every place it is appro
I think there is an error in duplicated() help page when it states that:
"The array method calculates for each element of the sub-array
specified by MARGIN if the remaining dimensions are identical to those
for an earlier (or later, when fromLast = TRUE) element (in row-major
order). "
Instead of:
-- Forwarded message -
De: Juan Gomez
Date: vie., 10 may. 2019 a las 11:12
Subject: Re: [R] error in duplicated() man page
To: Bert Gunter
Coming back to my example, which I think illustrates my point, we have
3x2 groups (as specified in MARGIN dimensions) with one cell in each
Function unique() man page states that:
"The array method calculates for each element of the dimension
specified by MARGIN if the remaining dimensions are identical to those
for an earlier element (in row-major order). "
I think that the last precission: "(in row-major order)" is
meaningless here,
4 matches
Mail list logo