Panel data allows to approximate the characteristic function of the error taking differences of observations for each individual. This way is not unique when there are more than two replicates per individual. This function allows to do it in several ways.
1 | process_differences(smp, method, na.rm = TRUE)
|
smp |
n x d matrix |
method |
Integer or word specifying method to process differences. 1 or "all", all pairwise differences. 2 or "vs_first", all minus first. 3 or "indep_pairs", independent columns. |
na.rm |
Logical value specifying if NAs will be removed. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.