R/getPrediction.R

#' Retrieving a BigML Prediction
#' @export
#' @family prediction methods
#' @references \url{https://bigml.com/developers/predictions}
#' @param prediction_id the id of the prediction resource.
#' @template dots
#' @template prediction_return
#' @template normal_methods
#' @template author
getPrediction <-
function (prediction_id, ...)
{
    message("Retrieving the prediction...")
    return(.basic_api(.PREDICTION_URL)$get(id = prediction_id))
}

Try the bigml package in your browser

Any scripts or data that you put into this service are public.

bigml documentation built on May 2, 2019, 2:06 a.m.