gini {laeken}出错

时间:2015-03-09 23:47:16

标签: r variance confidence-interval

我试图使用laeken包来估算R中基尼系数的方差。这是我的代码:

c1 <- gini("LIFPRTNR", weights="weight3var", design="stratvar", cluster="panelvar", years="time3group", breakdown="RSEX", data=Concentration, var = "bootstrap", bootType = "naive", seed = 1234)

我一直收到错误

Error in rownames<-(*tmp*, value = c("lower", "upper")) : 
  attempt to set 'rownames' on an object with no dimensions

我是否需要将数据框中的列转换为列表?

0 个答案:

没有答案