library(scmamp)
writeTabular(data,
savetex.names, # latex 文件名, 以.tex结尾
caption = caption, # caption 名字
print.col.names = TRUE, # latex table 中是否显示列名
print.row.names = FALSE, # 是否显示rownames(或行号)
digits = 4, #(数据小数点位数)
wrap.as.table = TRUE, # 是否封装成单独的lable
table.position = "hbtp", # latex table在文章中位置 h here t 本页的上方 b 本页的下方 p 自动调整
caption.position = "t", # caption的位置, t表示在top
centering = TRUE #table在latex文件中是否居中显示
)