qwdap.pcr | R Documentation |

Principle component regression. This is a linear regression method used to establish the linear relationship between the original time series and the modes generated by quantum walks.

qwdap.pcr(in_data, data_range, plotting)

`in_data` |
a 'QWMS' object, which includes the target series and the selected modes which can be obtained from modes selection. |

`data_range` |
the range of the train samples. |

`plotting` |
whether to plot. |

a 'QWMODEL' object which includes the information of regression analysis.

data("traffic.n1") res.pcr <- qwdap.pcr(traffic.n1,c(1,500), FALSE)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.