Description Usage Arguments Value Author(s) Examples
Create a table view of the solved problem, with integer values. Ready to be written into a tex file.
1 | as.latex.table.discrete(sp, maxcol = NULL)
|
sp |
a solved case produced by |
maxcol |
an optional integer containing the highest count of columns to display (useful for large tables) |
a string containing a LaTeX table
Samuel Thiriot <samuel.thiriot@res-ear.ch>
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(dwellings_households)
prepared <- matching.prepare(
dwellings_households$sample.A, dwellings_households$sample.B,
dwellings_households$pdi, dwellings_households$pdj,
dwellings_households$pij)
solved <- matching.solve(
prepared, nA=50000, nB=40000, nu.A=1, phi.A=0,
delta.A=0, gamma=0, delta.B=0, phi.B=0, nu.B=1, verbose=TRUE)
# create the string
dv <- as.latex.table.discrete(solved)
print(dv)
# write it into a file
# write(dv, , file="case1_discrete.tex")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.