Learn R Programming

eRTG3D (version 0.7.0)

test.verification.3d: Statistical Verification of the simulated track

Description

Uses two-sample Kolmogorov-Smirnov test or the one-sample t-test to compare the geometric characteristics of the original track with the characteristics of the simulated track.

Usage

test.verification.3d(track1, track2, alpha = 0.05, plot = FALSE, test = "ks")

Arguments

track1

data.frame or list of data.frames with x,y,z coordinates of the original track

track2

data.frame or list of data.frames with x,y,z coordinates of the simulated track

alpha

scalar: significance level, default alpha = 0.05

plot

logical: plot the densities or differences of turn angle, lift angle and step length of the two tracks?

test

character: either "ks" or "ttest" to choose the kind of test procedure.

Value

Test objects of the 6 two-sample Kolmogorov-Smirnov test conducted.

Examples

Run this code
# NOT RUN {
test.verification.3d(niclas, niclas)
# }

Run the code above in your browser using DataLab