trim_training_data {VisitorCounts}R Documentation

trim training data

Description

Makes sure that the provided onsite_usage and ref_series have at least 12 counts and overlap.

Usage

trim_training_data(onsite_usage = NULL, ref_series = NULL)

Arguments

onsite_usage

A vector which stores monthly on-site usage for a particular social media platform and recreational site.

ref_series

A numeric vector specifying the original visitation series. The default option is NULL, implying that no such series is available. If such series is available, then its length must be the same as that of onsite_usage.

Value

a list of onsite_usage and ref_series that has been trimmed and modified to share same window of time.


[Package VisitorCounts version 2.0.0 Index]