Add geoprofile to dynamic map
overlay_geoprofile( myplot, project, K = NULL, source = NULL, realised = FALSE, threshold = 0.1, col = col_hotcold(), opacity = 0.8, smoothing = 1, legend = FALSE )
myplot | dynamic map produced by |
---|---|
project | an RgeoProfile project, as produced by the function
|
K | which value of K to plot. |
source | which source to plot. If NULL then plot combined surface. |
realised | if TRUE then plot surface for realised sources only. |
threshold | what proportion of geoprofile to plot. |
col | set of plotting colours. |
opacity | opacity of geoprofile (that is not invisible due to being below threshold). |
smoothing | what level of smoothing to apply to geoprofile. Smoothing is
applied using the |
legend | Set to TRUE or FALSE, this will add a hitscore legend to the plot. |
p <- rgeoprofile_file("tutorial1_project.rds") plot1 <- plot_map() plot1 <-overlay_geoprofile(myplot = plot1, project = p, K = 2, source = NULL, threshold = 0.5) plot1