Load a GPF from different sources

Load a GPF from different sources

load_GPF(x)

Arguments

x

One of

  1. GPF,

  2. data.frame(estimates...),

  3. IQRnlmeProject or

  4. file.path

Value

GPF

Author

Daniel Lill (IntiQuan)

Examples

if (FALSE) { # \dontrun{
xlsfile <- system.file("examples/GPFExamples/xls2_ExponentialDecay.xlsx", package = "IQRtools")
# 1. From file
xls_fromFile <- load_GPF(xlsfile)
est <- xls_fromFile$estimates
# 2. Supply "estimates" only
xls_fromEst <- load_GPF(est)
# 3. From xls (just returns the object, think of it as as.GPF)
xls_fromGPF <- load_GPF(xls_fromEst)
# 4. From IQRnlmeProject
projPath <- system.file("examples/GPFExamples/project3_Epo", package = "IQRtools")
xls_fromProject <- load_GPF(projPath)
} # }