Skip to content

Commit 6aa7871

Browse files
committed
bug fixes
1 parent 8d36719 commit 6aa7871

File tree

7 files changed

+15
-7
lines changed

7 files changed

+15
-7
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: forceR
22
Title: Force Measurement Analyses
3-
Version: 1.0.3
3+
Version: 1.0.4
44
Description: An R package for time series cleaning and analysis. forceR can be used for any time series measurements, but was initially written and optimize to deal with bite force measurements of insects. forceR includes a full workflow to load, plot and crop data, correct amplifier and baseline drifts, identify individual peak shapes, rescale (normalize) peak curves, and find best polynomial fits to describe and analyze force curve shapes.
55
License: MIT + file LICENSE
66
URL: https://github.com/Peter-T-Ruehr/forceR

R/peak_finding.R

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,15 @@
4444
#' as orange points is saved as one PDF per measurement at `path.plots`.
4545
#'
4646
#' @examples
47+
#' require(dplyr)
4748
#' # Using the forceR::df.all.200.tax dataset:
4849
#'
50+
#' # reduce dataset
51+
#' df.all.200.tax_filtered <- df.all.200.tax %>%
52+
#' filter(species == "species_A")
53+
#'
4954
#' # find strongest peaks
50-
#' peaks.df <- find_strongest_peaks(df = df.all.200.tax,
55+
#' peaks.df <- find_strongest_peaks(df = df.all.200.tax_filtered,
5156
#' no.of.peaks = 5,
5257
#' print.to.pdf = FALSE)
5358
#'

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ The package `forceR` has originally been written for insect bite force data prep
1414
* reduction of curves to 100 time steps each
1515
* finding of best polynomial fits to describe all curves
1616

17-
18-
1917
### Installation
2018

2119
#### This is the development version of `forceR`
@@ -30,12 +28,12 @@ devtools::install_github("https://github.com/Peter-T-Ruehr/forceR")
3028
```
3129

3230
#### Official release
33-
To install the development version of `forceR` from [GitHub](https://github.com/Peter-T-Ruehr/forceR) use the following command:
31+
To install the development version of `forceR` from [GitHub](https://github.com/Peter-T-Ruehr/forceR) use the following command (not yet valid):
3432
```
3533
install.packages('forceR')
3634
```
3735

3836
### Citation
3937
If you use this package, please cite the original publication (currently under review):
4038

41-
Rühr, PT & Blanke, A (**2021**): `forceX` and `forceR`: a mobile setup and R package to measure and analyze a wide range of animal closing forces. *XXX* **XXX**: pp.XX-XX. doi: XXX
39+
Rühr, PT & Blanke, A (**2022**): `forceX` and `forceR`: a mobile setup and R package to measure and analyze a wide range of animal closing forces. *XXX* **XXX**: pp.XX-XX. doi: XXX

man/find_strongest_peaks.Rd

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
-45.3 KB
Binary file not shown.
-4.47 KB
Binary file not shown.
-23 KB
Binary file not shown.

0 commit comments

Comments
 (0)