We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The syntax myList[] <- X typically allows entries of a list to be modified without overwriting attributes.
myList[] <- X
Compare:
myList <- structure(1:5, class = 'myClass') class(myList) # "myClass" myList[] <- sapply(myList, `*`, 2) class(myList) # attributes retained myList <- lapply(myList, `*`, 2) class(myList) # attributes lost
The text was updated successfully, but these errors were encountered:
[<-.multiPhylo
[]
c.multiPhylo
Accidental duplicate of #36, sorry!
Sorry, something went wrong.
No branches or pull requests
The syntax
myList[] <- X
typically allows entries of a list to be modified without overwriting attributes.Compare:
The text was updated successfully, but these errors were encountered: