【发布时间】:2019-11-01 13:10:23
【问题描述】:
我使用这些代码来解决 R 中的一个问题。f(a)= |x|+5a-6,其中 |x|。绘制合并的值是否正确。我得到一条直线。
merge <- function(x) {
y <- abs(a) + 5*(a)-6
return(y)
}
merge (-4.534)
#c. Obtain the graph of the function.
plot (merge)
merge <- function(x) {
y <- abs(a) + 5*(a)-6
return(y)
}
merge (-4.534)
#c. Obtain the graph of the function.
plot (merge)
【问题讨论】:
标签: r