as.spec.data.frame: Coerce to Spec from Data Frame

View source: R/spec.R

as.spec.data.frameR 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))

bergsmat/spec documentation built on Feb. 21, 2024, 1:20 p.m.