首页 > 解决方案 > 在 R 中使用Integrate() 进行集成

问题描述

我尝试使用集成()但得到以下错误

> integrate(function(x) x,lower=0,upper=1)
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘integrate’ for signature ‘"function"’

有什么问题吗?

标签: r

解决方案


推荐阅读