Description Usage Arguments Value Author(s) Examples
Creates a table storing matching probabilities
1 |
data |
a data frame containing matching probabilities |
norm |
if TRUE, will normalize the table so the totals sum up to one (defaults to TRUE) |
a matching probability table ready to be used for usage with matching.prepare
Samuel Thiriot <samuel.thiriot@res-ear.ch>
1 2 3 4 5 6 7 8 9 10 | dwellings_households.pij <- create_matching_probabilities_table(
data.frame(
'surface=1'=c(0.2, 0.1, 0.05, 0.025),
'surface=2'=c(0.0375, 0.125, 0.1, 0.05),
'surface=3'=c(0.0125, 0.025, 0.1, 0.175),
row.names=c("size=1", "size=2", "size=3", "size=4"),
check.names=FALSE
)
)
print(dwellings_households.pij)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.