spatial_markov
Computes spatial Markov transition matrices from regional value columns in a shapefile to analyze spatial dependence and value-class transitions.
Instructions
Spatial Markov transition matrix for a panel of regional values stored as columns.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"shapefile_path": "<shapefile_path>",
"value_columns": "<value_columns>"
},
"name": "spatial_markov"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| m | No | ||
| fixed | No | ||
| drop_na | No | ||
| relative | No | ||
| target_crs | No | EPSG:4326 | |
| permutations | No | ||
| value_columns | Yes | ||
| shapefile_path | Yes | ||
| weights_method | No | queen | |
| distance_threshold | No | ||
| fill_empty_classes | No |