check_model.fit_model_spatial computes tests to assess if the model went well. It is important to run this step before going ahead with the analysis otherwise you may make mistakes in the interpretation of the results.

# S3 method for fit_model_spatial
check_model(x)

Arguments

x

outputs from model_spatial

Value

It returns a list with the following elements:

  • model_spatial : the output from the model

  • data_ggplot a list containing information for ggplot:

    • data_ggplot_residuals a list containing :

      • data_ggplot_normality

      • data_ggplot_skewness_test

      • data_ggplot_kurtosis_test

      • data_ggplot_shapiro_test

      • data_ggplot_qqplot

    • data_ggplot_variability_repartition_pie

Details

S3 method. The different test apply to the model are explained in the book here:

See also