ipfPlotEstimation {ipft} | R Documentation |
Plots the estimated locations
Description
Plots the estimated locations
Usage
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
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)
[Package ipft version 0.7.2 Index]