%matches%.spec {spec} | R Documentation |
Checks whether spec matches dataset by checking whether dataset matches spec.
## S3 method for class 'spec'
x %matches% y, ...
x |
spec |
y |
object |
... |
passed arguments |
Other matches:
%matches%.character()
,
%matches%.data.frame()
,
%matches%()
data(drug)
file <- tempfile()
spec <- specification(drug, tol = 3)
write.spec(spec, file = file)
spec %matches% drug