convert_fitted_data: Convert fitted data

Description Usage Arguments Examples

View source: R/convert_fitted_data.R

Description

This function combines a vector of fitted values and a vector of dates and melts it into the correct format for plotting.

Usage

1
convert_fitted_data(fitted_vals, date_df)

Arguments

fitted_vals

Vector of fitted values

date_df

Dataframe that has date in same order in variable $date

Examples

1
convert_fitted_data(mnl_fitted_ts, sentiment_states_wide)

leslie-huang/MApkg documentation built on May 21, 2019, 5:11 a.m.