ipft (version 0.2.2)

ipfPlotEcdf: Plots the cumulative distribution function of the estimated error

Description

Plots the cumulative distribution function of the estimated error

Usage

ipfPlotEcdf(estimation, xlab = "error",
  ylab = "cumulative density of error", title = "")

Arguments

estimation
an ipfEstimation
xlab
x-axis label
ylab
y-axis label
title
plot title

Examples

Run this code

    model <- ipfKnn(ipftrain[, 1:168], ipftest[, 1:168])
    estimation <- ipfEstimate(model, ipftrain[, 169:170], ipftest[, 169:170])
    ipfPlotEcdf(estimation)

    groups <- ipfGroup(ipftrain, LONGITUDE, LATITUDE)
    model <- ipfProb(ipftrain[, 1:168], ipftest[, 1:168], groups, k = 9, delta = 10)
    estimation <- ipfEstimate(model, ipftrain[, 169:170], ipftest[, 169:170])
    ipfPlotEcdf(estimation, title = 'Error cumulative distribution function')

Run the code above in your browser using DataCamp Workspace