r - How to make an object from a class table print as a table in stargazer? -
i'm using markdown document write text r. @ point, want add table calculated using table()
function. it's not working.
library(stargazer) x=structure(c(2075l, 49l), .dim = 2l, .dimnames = structure(list( c("0", "1")), .names = ""), class = "table") stargazer(x) error in objects[[i]]$zelig.call : $ operator invalid atomic vectors
what's going on , how fix it?
how this?
stargazer(as.data.frame(x), type = 'text', summary = false, rownames = false)
Comments
Post a Comment