-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME.Rmd
96 lines (63 loc) · 3.33 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# vjsim <img src="man/figures/vjsim-logo.png" align="right" width="200" />
<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/vjsim)](https://cran.r-project.org/package=vjsim)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3740291.svg)](https://doi.org/10.5281/zenodo.3740291)
<!-- badges: end -->
`vjsim` is R package that simulates vertical jump with the aim of teaching basic biomechanical principles, FV profiling, and exploring assumptions of FV optimization models.
## Installation
You can install the development version from [GitHub](https://github.com/mladenjovanovic/vjsim) with:
``` r
# install.packages("devtools")
devtools::install_github("mladenjovanovic/vjsim")
require(vjsim)
```
## Usage
Please read accompanying vignettes for examples and usage of the `vjsim` package
### [Introduction](https://mladenjovanovic.github.io/vjsim/articles/introduction-vjsim.html)
This vignette discusses the basic mechanical representation of the vertical jump system. Please read this to understand the overall setup. Access it by clicking the above link or running the following code:
``` r
vignette("introduction-vjsim")
```
### [Simulation](https://mladenjovanovic.github.io/vjsim/articles/simulation-vjsim.html)
This vignette continues the [Introduction](https://mladenjovanovic.github.io/vjsim/articles/introduction-vjsim.html) vignette and expands on the topic of simulation and how vertical jump is simulated. Access it by clicking the above link or running the following code:
``` r
vignette("simulation-vjsim")
```
### [Profiling](https://mladenjovanovic.github.io/vjsim/articles/profiling-vjsim.html)
Once you understand how the [Simulation](https://mladenjovanovic.github.io/vjsim/articles/simulation-vjsim.html) works, we can start playing with profiling. Force-Velocity (FV), Load-Velocity (LV), and other profiles are discussed. Access it by clicking the above link or running the following code:
``` r
vignette("profiling-vjsim")
```
### [Optimization](https://mladenjovanovic.github.io/vjsim/articles/optimization-vjsim.html)
In this vignette I will introduce few optimization models, influenced by the work of Pierre Samozino and Jean-Benoit Morin. Access it by clicking the above link or running the following code:
``` r
vignette("optimization-vjsim")
```
### [Exploring](https://mladenjovanovic.github.io/vjsim/articles/exploring-vjsim.html)
In this vignette we are going to explore various assumptions of the model, "optimal" FV profiles and some other interesting questions. Access it by clicking the above link or running the following code:
``` r
vignette("exploring-vjsim")
```
### [Modeling](https://mladenjovanovic.github.io/vjsim/articles/modeling-vjsim.html)
In this vignette I am going to show you how you can use `vjsim` to create athlete profiles from collected data
``` r
vignette("modeling-vjsim")
```
## [Shiny App](https://athletess.shinyapps.io/shiny-simulator/)
To run the Shiny app, use the following code, or by clicking on the above link (this will take you to the *shinyapps.io*)
``` r
# install.packages(c("shiny", "plotly", "DT"))
run_simulator()
```