Again thank you everyone for their incredibly helpful advice and responsiveness!
The work flow I am envisioning is:
1) Use R to read in a csv file, filter according to some rules and then use propensity score matching (based on r packages) to create a model.
2) The final data output is a table with standardize coefficients and mean values.
3) This final data output is then used to create a table using Context/ Tikz to create the very specific format that I need for the final report.
I can do this using Sweave, but I need to be able to use context for some additional features (in particular the tagging/back end structure).
Best,
Claire
On 10/5/18, 2:07 PM, "Hans Hagen"
On 10/5/2018 8:00 PM, Kelley, Claire wrote:
Thank you for all the answers so far !
Ive gathered from that I need to use filter to call R externally.
What I am still most interested in is how I could get a single value from R to be part of the Context code. (Like you would do with \Sexpr{} in sweave. The use case for this is that I have some complicated tikz code that makes a fancy matrix - I want to fill it in with numbers that r reads from a csv file and processes. Can you give an example? Do you only need R for reading the csv?
Hans ntg-context@ntg.nl
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------