fit_resid: Fit the residency model

Description Usage Arguments Value Examples

View source: R/models.R

Description

this function fits the models when the migrants have higher social support than the native in interclan context.

Usage

1
fit_resid(fit_method, DF1)

Arguments

fit_method

"PQL" or "PQL/L"

DF1

dataset to use: resid_social

Value

a list (fitted model with spaMM)

Examples

1
2
3
4
5
## Not run: 
data(resid_social)
resid_mod <- fit_resid(fit_method = "PQL", DF1 = resid_social)

## End(Not run)

hyenaproject/vullioud_2018 documentation built on Aug. 4, 2021, 12:01 a.m.