AddPvar | R Documentation |
Merges two objects of p-variation and effectively recalculates the p-variation of joined sample.
AddPvar(PV1, PV2, AddIfPossible = TRUE)
PV1 |
an object of the class |
PV2 |
an object of the class |
AddIfPossible |
|
Note: a short form of AddPvar(PV1, PV2
is PV1 + PV2
.
An object of the class pvar
. See pvar
.
### creating two pvar objects: x = rwiener(1000) PV1 = pvar(x[1:500], 2) PV2 = pvar(x[500:1000], 2) layout(matrix(c(1,3,2,3), 2, 2)) plot(PV1) plot(PV2) plot(AddPvar(PV1, PV2)) layout(1) ### AddPvar(PV1, PV2) is eqivavalent to PV1 + PV2 IsEqualPvar(AddPvar(PV1, PV2), PV1 + PV2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.