在R中,当我使用lowess()并使用line()函数绘制平滑时,是否可以给定x的任何值来提取平滑的y值?请怎么做?谢谢!
R中可以从给定的x值提取平滑的y值的任何其他平滑方法?
答案 0 :(得分:1)
如果从 //tapRecognizer.cancelsTouchesInView = false
tapRecognizer.delegate = self
view.addGestureRecognizer(tapRecognizer)
extension MyViewController: UIGestureRecognizerDelegate {
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
return true
}
切换到替换它的较新lowess
,那么您将获得一种预测方法。来自loess
:
example(predict.loess)