Please help resolve this error that I get when I execute the following:
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"))