M. Beausoleil M. Beausoleil - 1 year ago 289
Markdown Question

How to make an object from a class table print as a table in stargazer?

I'm using a markdown document to write text from R. At some point, I want to add a table that I calculated using the

function. But it's not working.

x=structure(c(2075L, 49L), .Dim = 2L, .Dimnames = structure(list(
c("0", "1")), .Names = ""), class = "table")


Error in objects[[i]]$zelig.call :
$ operator is invalid for atomic vectors

What's going on and how do I fix it?

Answer Source

How about something like this?

          type = 'text',
          summary = FALSE,
          rownames = FALSE)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download