Смотреть видео: math - How to plot user-defined functions in R? - Stack Overflow