How to plot this step-wise function?

See the FAQ: How to do a minimal reproducible example reprex for beginners.

If the question is about plotting, a representative data set is needed. If it's about creating the data frame, do you mean \beta_{i\dots n}, etc? Otherwise, what are P_\theta and X_1?

  • List item