Commit b56c41e3 authored by Xavier Padullés's avatar Xavier Padullés

SprintRadar. No need to name exactly the athletes columns

parent 032f8ddc
...@@ -70,6 +70,7 @@ getRadarDynamicsFromFolder <- function(radDir, athletesFile, splitDistance, resu ...@@ -70,6 +70,7 @@ getRadarDynamicsFromFolder <- function(radDir, athletesFile, splitDistance, resu
Cd = 0.9 #Drag coefficient Cd = 0.9 #Drag coefficient
athletes = read.csv(file = athletesFile, sep = ";", dec = ",") athletes = read.csv(file = athletesFile, sep = ";", dec = ",")
colnames(athletes) = c("File", "Mass", "Temperature", "Height", "Vw")
#Looking for all .rad files #Looking for all .rad files
originalFiles = list.files(path=radDir, pattern="*.rad") originalFiles = list.files(path=radDir, pattern="*.rad")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment