Open ctmccull opened 2 years ago
Try passing the data frame to stargazer
Also if you add the option results = asis to the code chunk then markdown will render the table to look nice.
so
# ```{r, results = "asis"}
stargazer(dat, type = "HTML")
#```
Yes, I know. I figured out the whole lab, except for providing the summary statistics. Here is what I did and the error I'm getting. I also tried as.numeric, but to no avail. I also don't get anything when I just do summarize(pdata). Any advice?
Error in UseMethod("summarise") : no applicable method for 'summarise' applied to an object of class "c('double', 'numeric')"