write_stata_spmat: Write apatial weight matrix to a '.txt' file which can be...

Description Usage Arguments Examples

View source: R/write_stata_spmat.R

Description

Write apatial weight matrix to a .txt file which can be read by Stata15

Usage

1
write_stata_spmat(long2mat_list, file_name, save_check_list = FALSE)

Arguments

long2mat_list

output of long2mat

file_name

just path and file name

save_check_list

save ID check list as both save_check_list = TRUE and id_is_int = FALSE

Examples

1
2
3
4
## Not run: 
write_stata_spmat(long2mat_list = queen_list, file_name = "World_spmat", save_check_list = TRUE)

## End(Not run)

Juzzzzzz/spmat4stata documentation built on May 19, 2019, 9:40 p.m.