as.spec.data.frame {spec}R Documentation

Coerce to Spec from Data Frame

Description

Coerces to spec from data.frame already having basic properties.

Usage

## S3 method for class 'data.frame'
as.spec(x, ...)

Arguments

x

data.frame

...

passed arguments

Value

spec

See Also

Other as.spec: as.spec.character(), as.spec(), read.spec(), write.spec()

Examples

data(drug)
as.spec(specification(drug, tol = 3))

[Package spec version 0.1.9 Index]