The regression package includes two class of which one of then is for plotting.
calculates all the needed variables and saves then in an object called formulas,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.