Shiny app for hallucinating dykes.

- Install R
- Start R
- In R run the commands:
- install.packages( c("shiny", "RColorBrewer", "inline", "devtools") )
- library("devtools")
- devtools::install_github( "suppechasper/Dykifier" )

- Start R.
- In R run the commands:
- library(Dykifier)
- dykify() for a subset, or dykify("intersections") for the whole data set

The plot on the left shows an overview. By dragging an area a zoomed in version is shown in the middle plot. The colors are quartz diorite (red), basalt (green), other (blue) and the gray lines are the hallucinated dykes.

The sliders adjust how the probability of connecting dyke segments is computed. For angle a smaller value means that more emphasis is put on the segments connecting in a straight line, larger values allow more kinks. For the distance a smaller value puts emphasis on connecting only dykes that are close by, a larger value will still prefer smaller distance but penalizes larger distances less. The probability slider is a threshold for excluding connections that are smaller than the selected value. The plot shows the distributions of probability values for connecting segments. After changing the values the Apply Updates button needs to be clicked to effect the changes.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.