Description Usage Arguments Value Examples
View source: R/residuals_statistics.R
Calculates the Cramer von Mises value or Kolmogorov value given a linear model compatible with 'fitted.values' and 'residuals' functions.
1 | statistic_value(model, value = "cvm_value")
|
model |
An existing fit from a linear model function. |
value |
Type of value to compute, can be 'cvm_value' or 'kmv_value'. |
The statistic value of the model.
1 2 3 4 5 6 | x <- 1:10
y <- 2*x + rnorm(10)
model <- lm(y~x-1)
statistic_value(model)
statistic_value(model, value = "cvm_value")
statistic_value(model, value = "kmv_value")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.