I am having trouble understand how to set the start and end times correctly as well as the frequency. I have an excel worksheet with 2500 measurements at 0.00001 seconds each for a total of 5 periods with 500 measurements per period. I have saved the table on Data1 for reference. Data1 has 17 columns in total. Using R x64 3.3.1.
ts1 <- ts(x, start=c(0.00001), end=c(0.005), frequency=500)
#Error in ts(x, start = c(1e-05), end = c(0.005), frequency = 500) :
# invalid time series parameters specified
For example:
x <- [0.404, 0.420, 0.432, 0.466, 0.456, 0.455, 0.464,(has 2493 more values here)]
represented as a time series object with measurement at 0.00001 seconds with a total of 2500 measurements. That is the exact output that I want. To make that vector into a time series object. The time series function works for date but not when I want seconds which I believe is changed in the start and end times as well as the frequency. What are the parameters used for microsecond measurements? What would be the associated frequency for microsecond measurements?
I have tried variations of the line as well checking for syntax but with no luck. Any ideas?