rev_model functions for residual testing and goodness of fit testing where the model is glm type or a time series model
1 |
1 2 3 4 | x <- c(1:30); y <- x^2+rnorm(30,0,2); model_ex = lm(y~x);
rev_model(model_a= model_ex)
model_ex_ts # to add an example
rev_model_ts(model_a=model_ex_ts)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.