| identicalNoAttr | R Documentation | 
A wrapper for function identical. Some attributes of the two 
objects can be ignored when testing.
identicalNoAttr(x, y, ignore.attrs = NULL, ...)
identicalFMatch(x, y, ...)
| x,y | Any R objects. | 
| ignore.attrs | Names of attributes in 'x' and 'y'. The selected attributes will be removed before testing. Default is 'NULL' (keep all attributes) | 
| ... | Arguments passed to  | 
'identicalFMatch' is a wrapper for 'identicalNoAttr', where 'ignore.attrs' is 
set to '".match.hash"'. This function is helpful to test two vectors after 
using fmatch, which add external hash tables to the 
compared vectors.
A single logical value ('TRUE' or 'FALSE'), same as identical.
x1 <- LETTERS[1:10]
x2 <- sample(x1, 5)
x3 <- x1[fastmatch::fmatch(x2, x1)]
identical(x3, x2)  ## TRUE, but x1 has the '.match.hash' attribute now.
identical(LETTERS[1:10], x1)  ## FALSE
identicalFMatch(x3, x2)  ## TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.