Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1473c34
commit c158348
Showing
43 changed files
with
2,721 additions
and
634 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Generated by using Rcpp::compileAttributes() -> do not edit by hand | ||
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 | ||
|
||
#' This function calculates parameters for the polynomials | ||
#' | ||
#' The function accepts two vectors with the parameters for the polynomials and returns | ||
#' the vector of parameters after their multiplication. This can be especially useful, | ||
#' when working with ARIMA models. | ||
#' | ||
#' @param x The vector of parameters of the first polynomial. | ||
#' @param y The vector of parameters of the second polynomial. | ||
#' | ||
#' @template author | ||
#' | ||
#' @return The function returns a matrix with one column with the parameters for | ||
#' the polynomial, starting from the 0-order. | ||
#' | ||
#' @seealso \link[stats]{convolve} | ||
#' | ||
#' @examples | ||
#' | ||
#' polyprod(c(1,-2,-1),c(1,0.5,0.3)) | ||
#' | ||
#' @useDynLib greybox | ||
#' @export | ||
polyprod <- function(x, y) { | ||
.Call('_greybox_polyprod', PACKAGE = 'greybox', x, y) | ||
} | ||
|
Oops, something went wrong.