I am trying to run a low pass filter on 1000Hz sampled data to 100Hz. Currently data is saved in csv file with a name of data on first row (Time, Measured value etc).
I have imported this data in R studio to variable name "data1"
I would like to run low pass filter and I have done some search on this. I have found several packages and tried to use "butterworth" function. However, I am having an issue on variable of function. Is there any way to run low pass filter by using csv file itself? (Instead of modifying csv file in R studio?)
The csv file must first be imported into R and converted to a class that R can deal with; the original csv file is unaffected unless purposefully overwritten.
Based on my search I found that csv file imported to R studio has type of data frame and I need to change this data frame to numeric type. Any idea on this?
That is as it should be, so there is no need to subset the data. The next step is to examine the function, f used to see if it will take a data frame as the argument. Use help(name_of_function)