knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-" )
As of now this package only containts the uc.check
function wich checks whether the roots of a given polynomial lie outside the Unit circle.
The function uc.check
has the following Arguments:
Argument | Description ------------- | -------------------------------------------------------------------- pol_ | A vector of polynomial coefficients in increasing order. plot_output | Logical that defines whether a graphical output should be created. print_output | Logical that defines whether to print the results.
library(UnitCircle) uc.check(pol_ = c(1,0,0.99999), plot_output = FALSE)
uc.check(pol_ = c(2,0,2.2,-3), plot_output = TRUE)
You can install the official Version from CRAN:
install.packages("UnitCircle")
You can install the latest development version from github with
# install.packages("devtools") devtools::install_github("BerriJ/UnitCircle")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.