I'm trying to print a table of combined lm's in Rstudio using Stargazer and I keep getting this message:
Error in if (nchar(text.matrix[r, c]) > max.length[real.c]) { : missing value where TRUE/FALSE needed
This is the code I'm using:
stargazer(model1.1, model1.2, model1.3, model1.4, model1.5, model1.6,
title = "The association between talent development and further education",
dep.var.labels = "Whether to participate in talent development",
covariate.labels = c("B4.1", "C2_score", "C1_score"),
type = "html",
star.cutoffs = c(0.05, 0.01, 0.001),
out = "學才藝與升學.html")```
It appears 'Error in if (nchar(text.matrix[r, c]) > max.length[real.c]) { : missing value where TRUE/FALSE needed' .
How should I correct it?