R package for Funmap