comp_mat.mv_wind: Comparison Matrix for Moving Window

Description Usage Arguments Examples

View source: R/wf_moving_window.R

Description

Makes a comparison matrix for the moving window analysis

Usage

1

Arguments

x

An mv_wind object returned by construct_windows().

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Load lubridate
library(lubridate)

# Grab a date/time
right_now <- Sys.time()

# Construct windows
wind <- construct_windows(start = right_now,
                          width = days(10),
                          step = days(10),
                          end = right_now + days(100))

# Create comparison matrix
mat <- comp_mat.mv_wind(wind)

bsmity13/LoCoHverlap documentation built on Feb. 15, 2021, 12:43 p.m.