Commit e9bec832 authored by William F Godoy's avatar William F Godoy
Browse files

Update package information

parent 0cd6a38c
......@@ -5,6 +5,9 @@ version = "0.0.1"
[deps]
Glob = "c27321d9-0574-5035-807b-f59d2c89b15c"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
GLM = "38e38edf-8417-5370-95a0-9cbb8c7f171a"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
[compat]
julia = "1"
......
......@@ -14,7 +14,10 @@ For simple usage see tests:
2. Run tests:
`$ julia --project=. test/runtests.jl`
Optionally, when developing run tests from the Julia REPL for preloading libraries,
as it results in faster runtimes after the first time.
`$ julia --project=.`
`julia> include("test/runtests.jl")
Formatting the code:
......
......@@ -7,5 +7,8 @@ using Pkg
Pkg.add("JuliaFormatter")
Pkg.add("Glob")
Pkg.add("DataFrames")
Pkg.add("GLM")
Pkg.add("Plots")
exit()
......@@ -71,3 +71,21 @@ end
test_AmrexCastro()
@time using DataFrames
X=[1,2,3,4,5,6]
Y=[2,4,7,9,11,13]
data = DataFrames.DataFrame(X=X,Y=Y)
println(data)
@time using GLM
ols = GLM.lm(@formula(Y ~ X), data)
println(ols)
@time using Plots
display(plot(X,Y))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment