PEPpredictBBcsv: Models on-the-fly and predicts PEP result for BB

Description Usage Arguments Value Examples

Description

Models on-the-fly and predicts PEP result for BB

Usage

1
PEPpredictBBcsv(samplecsv)

Arguments

samplecsv

Path to the sample csv input file

Value

Result of prediction

Examples

1
2
3
4
# Bad Sample - should give {"result": "Failed", "status": "403", "message": "Off-Specifications"}
PEPpredictBBcsv(system.file("extdata", "BB_badsample_1.csv", package = "bluQplantQPEPBB"))
# Good Sample - should give {"result": "Passed", "status": 200, "message": "Within-Specifications"}
PEPpredictBBcsv(system.file("extdata", "BB_goodsample_1.csv", package = "bluQplantQPEPBB"))

mjmg/bluQplantQPEPBB documentation built on May 27, 2019, 7:27 a.m.