楼主: huapu1994
2793 1

R语言提示错误:attempt to apply non-function [推广有奖]

  • 0关注
  • 0粉丝

等待验证会员

高中生

15%

还不是VIP/贵宾

-

威望
0
论坛币
171 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
143 点
帖子
3
精华
0
在线时间
42 小时
注册时间
2019-12-15
最后登录
2023-10-18

楼主
huapu1994 发表于 2022-4-16 19:33:42 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
    Q_t = array(NA, c(k, k, t0))
    B_t = array(NA, c(k, k*nlag, t0))
    pb = progress_bar$new(total= t0)
    for (i in 1:t0) {
      fit = var_model(x[i:(i+window.size-1),], configuration=configuration)
      B_t[,,i] = fit$B
      Q_t[,,i] = fit$Q
      pb$tick()
    }
Error in progress_bar$new(total = t0) : attempt to apply non-function

请问各位大神这个错误怎么修改呀?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:function Attempt apply Temp appl

沙发
huapu1994 发表于 2022-4-16 19:35:54
  上传格式有误,应该是这个
   Q_t = array(NA, c(k, k, t0))
    B_t = array(NA, c(k, k*nlag, t0))
    pb = progress_bar$new(total= t0)
    for (i in 1:t0) {
      fit = var_model(x[i:(i+window.size-1),], configuration=configuration)
      B_t[,,i] = fit$B
      Q_t[,,i] = fit$Q
      pb$tick()
    }
Error in progress_bar$new(total = t0) : attempt to apply non-function

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
扫码
拉您进交流群
GMT+8, 2026-1-30 04:26