Description Usage Arguments Value
根据参数,为ggplot生成某个函数的绘图用的df = data.frame(x, y, params:str)
1 | makeDfWithParams(fun, params, x_points)
|
fun |
要绘制的函数 |
params |
函数参数df,类似params = data.frame(alpha = 1:10, beta = 1:10) |
x_points |
x轴上的取样点 |
绘图用的df = data.frame(x, y, params:str)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.