Learn R Programming

spec (version 0.1.9)

as.spec.character: Coerce to Specification from Character

Description

Coerces to specification from character (length-one filepath).

Usage

# S3 method for character
as.spec(x, ...)

Value

spec

Arguments

x

character path to spec-formatted file

...

passed arguments

See Also

Other as.spec: as.spec.data.frame(), as.spec(), read.spec(), write.spec()

Examples

Run this code
data(drug)
file <- tempfile()
spec <- specification(drug, tol = 3)
write.spec(spec, file = file)
as.spec(file)

Run the code above in your browser using DataLab