File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed
Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 11Package: Rwaves
22Title: Electropenetrography (EPG) data analysis
3- Version: 0.0.2
3+ Version: 0.0.3
44Authors@R:c(
55 person(given = "Marco",
66 family = "Chiapello",
Original file line number Diff line number Diff line change 1+ # Rwaves 0.0.3
2+
3+ * Fix probing number
4+
5+ * Fix probing number time computation
6+
7+ * Update the processed dataframe to reflect the new computed data
8+
19# Rwaves 0.0.2
210
311* Updated the formulas. Now the compute values are correct
Original file line number Diff line number Diff line change @@ -79,12 +79,12 @@ rwaves <- function(x){
7979 ff24 <- function (x ){
8080 newname <- paste0(" f" , 24 )
8181 x $ cum <- c(diff(x $ time ), x $ time [length(x $ time )])
82- temp <- x %> %
82+ temp <- ( x % > % filter( waveforms != 99 ) % > % pull( cum ) % > % sum()) - x %> %
8383 dplyr :: filter(waveforms == 1 ) %> %
8484 dplyr :: group_by(waveforms ) %> %
8585 dplyr :: summarize(Sum = sum(cum )) %> %
8686 dplyr :: pull(Sum )
87- dplyr :: tibble(!! newname : = x $ time [nrow( x )] - temp )
87+ dplyr :: tibble(!! newname : = temp )
8888 }
8989 # %probtimeinC
9090 ff115 <- function (x , d = 2 ){
@@ -101,7 +101,7 @@ rwaves <- function(x){
101101 dplyr :: summarize(Sum = sum(cum )) %> %
102102 dplyr :: pull(Sum )
103103 dplyr :: tibble(!! newname : = temp / tt * 100 )
104- q }
104+ }
105105 # ##########################################################################
106106 # FUNCTION
107107 # # Intermediate table
You can’t perform that action at this time.
0 commit comments