Question: what is xtable function in r?
Answer: This function displays or writes to disk the code to produce a table associated with an object x of. class "xtable". The resulting code is either a LaTeX or HTML table, depending on the value of. type. The function also (invisibly) returns a character vector of the results (which can be helpful.