Stargazer: line type


I am struggling with working out how to control the line style settings in stargazer. Below is my current working example. I like the double line at the top of the table, but I would like to replace the double line at the bottom of the table with a single line, and I would also like to replace the single solid line that separates the slope and intercept information from the summary information with a dashed/dotted line. For all steps up to this point I have been able to follow the stargazer documentation, but have become stuck at this point.

Any and all suggestions would be much appreciated.

lobster.data<- data.frame( distance= c(0, 2, 3, 4, 4, 5, 6, 7, 9, 12, 18, 20, 20, 23, 24, 26, 27, 28, 30), size= c(116.89, 96.90, 120.97, 116.40, 89.86, 96.83, 116.18, 117.02, 79.03, 69.86, 105.60, 68.12, 78.12, 69.86, 66.64, 62.11, 59.11, 59.94, 44.43)) lm.lobster <- lm(size~distance, data = lobster.data) # create our model stargazer(lm.lobster, type = 'latex', single.row = TRUE, omit.stat=c("ser","f", "adj.rsq"), no.space=TRUE, title ="Lobster linear regression", dep.var.caption="", digits =2, dep.var.labels ="Lobster size",covariate.labels=c("Distance", "Intercept") )
stargazer(lm.lobster, type = 'latex', single.row = TRUE, omit.stat=c("ser","f", "adj.rsq"), no.space=TRUE, title ="Lobster linear regression", dep.var.caption="", digits =2, table.layout ="-d-t-s=n", dep.var.labels ="Lobster size", covariate.labels=c("Distance", "Intercept") )

I added the line table.layout ="-d-t-s=n", with this you can control the layout, what elements the table should contain and which style of lines you like. With the - you make single lines with the = you make double lines.

here is the list of all options:

"-" single horizontal line "=" double horizontal line "-!" mandatory single horizontal line "=!" mandatory double horizontal line "l" dependent variable caption "d" dependent variable labels "m" model label "c" column labels "#" model numbers "b" object names "t" coefficient table "o" omitted coefficient indicators "a" additional lines "n" notes "s" model statistics



  • PHP Change XML node values
  • Retrieving Value from Row in Struts2 Table While using Displaytag
  • Android BottomNavigationView with Badge [closed]
  • LIBSODIUM decrypt data inside mysql query like did with AES_DECRYPT
  • How to make infinite threaded comments
  • Faces Servlet not parsing .xhtml pages in jsf 2. running on tomcat 7
  • programatically send a form with POST
  • Compiling and linking NASM and 64-bit C code together into a bootloader [duplicate]
  • How to sort by Lucene.Net field and ignore common stop words such as 'a' and 'the
  • Selenium Webdriver IE could not find element
  • yii rewrite url with many sub categories
  • How to implement Google Drive and Google Plus sdk in ios project
  • MFMailComposer send email without presenting view
  • Issues with converting data into a matrix after running lapply()
  • dmtracedump doesn't work, HELP!
  • How can I filter an array of dictionaries in 'updateSearchResultsForSearchController' to s
  • Getting Microsoft Calibri font on Amazon EC2 ubuntu
  • How to display content depending on dropdown menue user selection
  • Allowing audio files in Spring MVC 3.0?
  • separate tokens in batch file
  • .Net core Hosted Services guaranteed to complete
  • How to change the host IP sent in emails to new GitLab users to a publicly visible IP, not the local
  • Java Collections.shuffle() weird behaviour [closed]
  • LINQ to populate treeview based upon grouping
  • Ajax call on Multiple selection in Select box
  • Annotate objects in a queryset with next and previous object ids
  • Neo4j…how to get a visual representation of my data?
  • How to include associated objects using gon in Rails/jQuery
  • How can I ssh into a server that requires 2 password authentication using python's paramiko mod
  • how do i compare two rows and store the similarities of the two rows in another column
  • How to clear a browser cache in Protractor
  • php “page caching” solution suggestions for CMS Applications
  • Jersey serializes character value to ASCII equivalent numeric string
  • How to use FirstOrDefault inside Include
  • Firebase: How to read from external DB?
  • PHP Permalinks.. how to change?
  • CAS 4 - Not able to retrieve the LDAP groups after successful authentication
  • Running R's aov() mixed effects model from Python using rpy2
  • What does the “id” field in an Android “Google Play Music” broadcast intent correspond to?
  • ReferenceError: TextEncoder is not defined