The function df2lim() turns a declaration file with linear inverse model specifications and creates the corresponding lim object.

df2lim(filename)

Arguments

filename

A character string specifying the path to the declaration file to import.

Value

An lim object containing, among other components, the matrices A, B, G and H that characterize the equality and inequality constraints defining the polytope associated to the LIM.

Examples

# Create a lim object from a Description file
DF <- system.file("extdata", "DeclarationFileBOWF-short.txt", package = "samplelim")
BOWF <- df2lim(DF)