model_local_foreign runs local foreign model

model_local_foreign(data, variable)

Arguments

data

The data frame on which the model is run. It should come from format_data_PPBstats.data_agro_LF #'

variable

variable to analyse

Value

The function returns a list with three elements :

  • info : a list with variable

  • ANOVA a list with two elements:

    • model

    • anova_model

Details

Find details in the book here.

See also