mmukaigawara / geocausal Goto Github PK
View Code? Open in Web Editor NEWCausal inference with spatio-temporal data in R
License: Other
Causal inference with spatio-temporal data in R
License: Other
Hi author,
Many thanks for your original work and open-source code, which is helpful for follow-up research.
While working with your library, I noticed that I was getting errors when using the get_estimate
function, and I believe that some of my passed parameters were the problem.
Specifically, I want to get the distance map object by get_dist_focus
function to pass it as dist_map
,
> get_dist_focus(window = iraq_window,
+ longitude = c(44.366), #Baghdad
+ latitude = c(33.315),
+ resolution = 0.5,
+ grayscale = FALSE,
+ mile = FALSE,
+ preprocess = FALSE)
but I got
Error in (function (classes, fdef, table) : unable to find an inherited method for function ‘geom’ for signature ‘"SpatialPolygonsDataFrame"
Could you please help me what the problem is.
By the way, is it possible to provide a demo code that shows how to correctly combine these functions in the library to achieve one task.
I now also wonder if I entered the other parameters of the get_estimate
function correctly or not...
The geocausal package version 0.3.0. is available through CRAN. The key updates are the following. We are finalizing an article that summarizes the use of this package.
plot()
and summary()
).Could you kindly share the source code for the paper titled "Causal Inference with Spatio-Temporal Data: Estimating the Effects of Airstrikes on Insurgent Violence in Iraq"? Reproducing the paper solely through functions has proven to be quite challenging. I would sincerely appreciate your assistance. Thank you!
First release:
usethis::use_cran_comments()
Title:
and Description:
@return
and @examples
Authors@R:
includes a copyright holder (role 'cph')Prepare for release:
git pull
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
git push
Submit to CRAN:
usethis::use_version('minor')
devtools::submit_cran()
Wait for CRAN...
git push
usethis::use_github_release()
usethis::use_dev_version()
git push
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.