percent_at_home

bandicoot.spatial.percent_at_home(positions, user)

The percentage of interactions the user had while he was at home.

Note

The position of the home is computed using User.recompute_home. If no home can be found, the percentage of interactions at home will be None.