data / plumber.R
ucii's picture
upload model file
fadd432
raw
history blame contribute delete
256 Bytes
# Generated by the vetiver package; edit with care
library(pins)
library(plumber)
library(rapidoc)
library(vetiver)
b <- board_folder(path = ".")
v <- vetiver_pin_read(b, "PasienCHD")
#* @plumber
function(pr) {
pr %>% vetiver_api(v, type = "prob")
}