小编Var*_*air的帖子

这段代码给了我一个错误: Error in if (is.na(s)) { : the condition has length > 1

请帮助解决我执行以下命令时遇到的错误:

stargazer(as.data.frame(st_sect.hh.earnings[st_sect.hh.earnings$sector.f=="Rural",c(1,3,4)]), 
      type="html", 
      title="Mean and Standard Deviation of Monthly Household Income by State for Rural India (Unweighted)", 
      summary=F, covariate.labels=c("S.No.", "State", "Mean", "Std.Dev."), 
      digits=0,
      notes=c("Source: Periodic Labour Force Survey, 2017-18"), 
      out=c("tb2.state-rural.hh.earnings.html"))
Run Code Online (Sandbox Code Playgroud)

if-statement r stargazer

3
推荐指数
1
解决办法
7774
查看次数

标签 统计

if-statement ×1

r ×1

stargazer ×1