convergence.check.var: Variance by window size check

Description Usage Arguments

View source: R/bootstrap_functions.R

Description

This function will estimate the variance in the time series based on the window size.

Usage

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)

Arguments

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)


tbonne/netTS documentation built on July 26, 2021, 2:27 a.m.