r structuring