%matches%.spec {spec} | R Documentation |
Check Whether Spec matches Dataset
Description
Checks whether spec matches dataset by checking whether dataset matches spec.
Usage
## S3 method for class 'spec'
x %matches% y, ...
Arguments
x |
spec |
y |
object |
... |
passed arguments |
See Also
Other matches:
%matches%.character()
,
%matches%.data.frame()
,
%matches%()
Examples
data(drug)
file <- tempfile()
spec <- specification(drug, tol = 3)
write.spec(spec, file = file)
spec %matches% drug
[Package spec version 0.1.9 Index]