IsEqualPvar {pvar} | R Documentation |
Test if two 'pvar' objects are equivalent.
Description
Two pvar
objects are considered to be equal
if they have the same x
, p
, value
and the same value of x
in the points of partition
(the index of partitions are not necessary the same).
All other tributes like dname
or TimeLabel
are not important.
Usage
IsEqualPvar(pv1, pv2)
Arguments
pv1 |
an object of the class |
pv2 |
an object of the class |
Examples
x <- rwiener(100)
pv1 <- pvar(x, 2)
pv2 <- pvar(x[1:50], 2) + pvar(x[50:101], 2)
IsEqualPvar(pv1, pv2)
[Package pvar version 2.2.7 Index]