Displaying 1 result from an estimated 1 matches for "inaesthet".
Did you mean:
inaesthetic
2012 Nov 15
4
Selecting the "non-attribute" part of an object
...s(tmm))
[1] FALSE
But I can't find any good way to compare the "main" part of objects.
What I'm doing now is:
> tm_new <- tm
> tmm_new <- tmm
> attributes(tm_new) <- attributes(tmm_new) <- NULL
> identical(tm_new, tmm_new)
[1] TRUE
But that seems very inaesthetic, besides requiring that I create two
pointless objects.
I have read ?attributes, ?attr and some web introductions to how R
objects work, but have not found an answer.
Thanks for any help.