Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Godoy, William
jexio
Commits
e9bec832
Commit
e9bec832
authored
Jun 22, 2020
by
William F Godoy
Browse files
Update package information
parent
0cd6a38c
Changes
4
Show whitespace changes
Inline
Side-by-side
Project.toml
View file @
e9bec832
...
...
@@ -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"
...
...
README.md
View file @
e9bec832
...
...
@@ -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:
...
...
scripts/requirements.jl
View file @
e9bec832
...
...
@@ -7,5 +7,8 @@ using Pkg
Pkg
.
add
(
"JuliaFormatter"
)
Pkg
.
add
(
"Glob"
)
Pkg
.
add
(
"DataFrames"
)
Pkg
.
add
(
"GLM"
)
Pkg
.
add
(
"Plots"
)
exit
()
test/test_AmrexCastro.jl
View file @
e9bec832
...
...
@@ -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
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment