[chronojump] SprintRadar. No need to name exactly the athletes columns
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] SprintRadar. No need to name exactly the athletes columns
- Date: Mon, 15 Apr 2019 15:34:09 +0000 (UTC)
commit b56c41e31f0bcbddaa87307fa0d859ec4697783f
Author: Xavier Padullés <x padulles gmail com>
Date: Thu Apr 11 12:38:32 2019 +0200
SprintRadar. No need to name exactly the athletes columns
r-scripts/sprintRadar.R | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/r-scripts/sprintRadar.R b/r-scripts/sprintRadar.R
index dbfd9e6a..f481356d 100644
--- a/r-scripts/sprintRadar.R
+++ b/r-scripts/sprintRadar.R
@@ -70,6 +70,7 @@ getRadarDynamicsFromFolder <- function(radDir, athletesFile, splitDistance, resu
Cd = 0.9 #Drag coefficient
athletes = read.csv(file = athletesFile, sep = ";", dec = ",")
+ colnames(athletes) = c("File", "Mass", "Temperature", "Height", "Vw")
#Looking for all .rad files
originalFiles = list.files(path=radDir, pattern="*.rad")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]