Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PharmCat committed Feb 8, 2021
1 parent b420fc7 commit 11e8248
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
10 changes: 5 additions & 5 deletions docs/src/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ using Metida, StatsPlots, CSV, DataFrames, MixedModels;
rds = CSV.File(joinpath(dirname(pathof(Metida)), "..", "test", "csv", "1fptime.csv"); types = [String, String, Float64, Float64]) |> DataFrame
@df rds plot(:time, :response, group = (:subject, :factor), colour = [:red :blue], legend = false)
savefig("plot1.svg"); nothing # hide
p = @df rds plot(:time, :response, group = (:subject, :factor), colour = [:red :blue], legend = false)
png(p, "plot1.png"); nothing # hide
```

Model: response ~ 1 + factor*time

![](plot1.svg)
![](plot1.png)

Metida result:

Expand Down Expand Up @@ -61,10 +61,10 @@ using Metida, StatsPlots, CSV, DataFrames, MixedModels; # hide
rds = CSV.File(joinpath(dirname(pathof(Metida)), "..", "test", "csv", "1freparma.csv"); types = [String, String, Float64, Float64]) |> DataFrame
@df rds plot(:time, :response, group = (:subject, :factor), colour = [:red :blue], legend = false)
savefig("plot2.svg"); nothing # hide
png("plot2.png"); nothing # hide
```

![](plot2.svg)
![](plot2.png)

ARMA:

Expand Down
8 changes: 2 additions & 6 deletions docs/src/instanduse.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ fit!(lmm)

### Model construction

```@docs
Metida.LMM
```
[`Metida.LMM`](@ref)

* `model` - example: `@formula(var ~ sequence + period + formulation)`

Expand All @@ -55,9 +53,7 @@ Metida.LMM

### Fitting

```@docs
Metida.fit!
```
[`Metida.fit!`](@ref)

* `solver` - `:default` solving with Optim.jl, for `:nlopt` and `:cuda` MetidaNLopt.jl and MetidaCu.jl should be installed.

Expand Down

2 comments on commit 11e8248

@PharmCat
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

v0.2.4

  • minor optimizations
  • docs remake
  • split test and validation
  • new test datasets

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/29652

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.4 -m "<description of version>" 11e8248eb6209c41ec62bc5c1268f2918b1f848a
git push origin v0.2.4

Please sign in to comment.