Publications by gluc
R data.tree 0.3 “Apple Tree” on CRAN: Now with tree plot!
In Celtic mythology, the apple tree is a symbol for fruitfulness. May data.tree blossom and fructify … and generate that perfect tree plot for us! The hottest feature of the new release are tree plots: Thanks to the DiagrammeR package, we can now generate beautiful plots in html format. You can include them in RMarkdown documents, web pages, sh...
2802 sym R (1176 sym/5 pcs) 4 img
Password protect Shiny Apps
In this post, we explain how you can password protect apps hosted on Shiny Open Source server. This tutorial is the fourth in our Shiny AWS series. It builds on the previous tutorials, namely: Setting up an AWS instance for R Installing Shiny Server on AWS Shiny https As with the other tutorials in the series, this builds on Amazon AWS. But it...
4984 sym R (371 sym/6 pcs) 4 img
Solving Math Puzzles with data.tree
I got a note from Karim Lahrichi, who even thinks about math when he’s supposed to be drinking beer. The bar puzzle they were trying to solve goes like this: Using all of the numbers 1, 3, 4, 6 exactly once, and any combination of: addition, subtraction, multiplication and division (and parenthesis to group operations however you like), arriv...
1037 sym
Reference semantics in R
Question I recently got a mail from Václav on reference semantics in data.tree, reading as follows: Dear Christoph, I am rather inexperienced when it comes to environments in R and henceforth I apologize if my question is basic; however, my colleagues are no better than me to answer my question. I would have a question iro the following behav...
3118 sym R (442 sym/2 pcs)
R profiling
Profiling in R R has a built in performance and memory profiling facility: Rprof. Type ?Rprof into your console to learn more. The way the profiler works is as follows: you start the profiler by calling Rprof, providing a filename where the profiling data should be stored you call the R functions that you want to analyse you call Rprof(NULL) ...
2785 sym R (6040 sym/14 pcs) 2 img
YAML: Define an R function
YAML to define hierarchic models Glenn is using the data.tree package to model commercial mortgage-backed securities. If you don’t know what that is, you can read it all up on Wikipedia. But in a nutshell, CMBS (or REMIC) are financial instruments that bundle multiple commercial real estate mortgages, and securitize (or bundle) them into trade...
2572 sym R (1368 sym/3 pcs)