Skip to content

Commit

Permalink
Fix formatting in readme (#161)
Browse files Browse the repository at this point in the history
* Fix formatting in readme

* Update README.md

* Update README.md

Co-Authored-By: Cameron Pfiffer <[email protected]>
  • Loading branch information
willtebbutt and cpfiffer committed Dec 17, 2019
1 parent 62f6122 commit e1a64e7
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,24 @@ Summarize parameters | Summarize chains
### Chains type
```julia
# construction of a Chains object with no names
Chains(val::AbstractArray{A,3};
start::Int=1,
thin::Int=1,
evidence = 0.0,
info=NamedTuple())
Chains(
val::AbstractArray{A,3};
start::Int=1,
thin::Int=1,
evidence = 0.0,
info=NamedTuple(),
)

# construction of a chains object with new names
Chains(val::AbstractArray{A,3},
parameter_names::Vector{String},
name_map = copy(DEFAULT_MAP);
start::Int=1,
thin::Int=1,
evidence = 0.0,
info=NamedTuple())
Chains(
val::AbstractArray{A,3},
parameter_names::Vector{String},
name_map = copy(DEFAULT_MAP);
start::Int=1,
thin::Int=1,
evidence = 0.0,
info=NamedTuple(),
)

# Indexing a Chains object
chn = Chains(...)
Expand Down

0 comments on commit e1a64e7

Please sign in to comment.