This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module gg | |
using Compose, Gadfly | |
PositionedGuide = Guide.PositionedGuide | |
top_guide_position = Guide.top_guide_position | |
right_guide_position = Guide.right_guide_position | |
struct Marginal <: Gadfly.GuideElement | |
side::String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module spm | |
using Distributions, LinearAlgebra | |
import MeasurementErrorModels as MEM | |
function Pf(s::T, p::T) where T<:AbstractVector | |
Dist = (s .-s').^2 | |
return p[2]*exp.(-Dist./p[1]) | |
end |