ipfPlotEstimation: Plots the estimated locations

Description Usage Arguments Examples

Description

Plots the estimated locations

Usage

1
2
3
ipfPlotEstimation(model, estimation, testpos = NULL, observations = c(1),
  reverseAxis = FALSE, showneighbors = FALSE, showLabels = FALSE,
  xlab = NULL, ylab = NULL, title = "")

Arguments

model

an ipfModel

estimation

an ipfEstimation

testpos

position of the test observations

observations

a numeric vector with the indices of estimations to plot

reverseAxis

swaps axis

showneighbors

plot the k selected neighbors

showLabels

shows labels

xlab

x-axis label

ylab

y-axis label

title

plot title

Examples

1
2
3
4
5
    model      <- ipfKnn(ipftrain[, 1:168], ipftrain[, 169:170])
    estimation <- ipfEstimate(model, ipftest[, 1:168], ipftest[, 169:170])
    ipfPlotEstimation(model, estimation, ipftest[, 169:170],
                      observations = seq(7,10), showneighbors = TRUE,
                      reverseAxis = TRUE)

ipft documentation built on May 2, 2019, 7:23 a.m.

Related to ipfPlotEstimation in ipft...