model_frame function

Model data-frame.