frame_in_r function

Compute archetypes frame