View source: R/bootstrap_functions.R
This function will estimate the variance in the time series based on the window size.
1 2 3 | convergence.check.var(data, windowsize_min = days(10),
windowsize_max = days(40), by = days(1), windowshift = days(1),
directed = FALSE, measureFun = igraph::edge_density, SRI = FALSE)
|
data |
Dataframe with relational data in the first two rows, and a time stamp in the third row. Note: time stamps should be in ymd or ymd_hms format. The lubridate package can be very helpful in organizing times. |
windowsize_min |
The min size of windowsize to test. |
windowsize_max |
The max size of windowsize to test. |
by |
The resolution at which to test window sizes between the min and the max window sizes |
windowshift |
The amount of time to shift the window when generating networks. |
directed |
Whether to consider the network as directed or not (TRUE/FALSE). |
measureFun |
The measurment function to perform the bootstap on (Default: density). |
SRI |
Wether to use the simple ratio index (Default=FALSE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.