PEPpredictBBvector: 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
PEPpredictBBvector(BB_sample)

Arguments

BB_sample

Sample input as vector

Value

Result of prediction

Examples

1
2
3
4
5
# Bad Sample - should give {"result": "Failed", "status": "403", "message": "Off-Specifications"}
PEPpredictBBvector(scan(system.file("extdata", "BB_badsample_1.csv", package = "bluQplantQPEPBB")))

# Good Sample - should give {"result": "Passed", "status": 200, "message": "Within-Specifications"}
PEPpredictBBvector(scan(system.file("extdata", "BB_goodsample_1.csv", package = "bluQplantQPEPBB")))

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