A Function to detect the anomalies using restricted cubic square regression (from RMS)
1 | detection_anomalies_rcs(sample_complete, knots = 3)
|
details |
While you can use a different number of knots, 3 is generally a good fit. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.