We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm unable to run transform_data() successfully. Running line-by-line, the final line before returning data fails at:
data <- tsibble::as_tsibble(data, index = time_col, regular = regular)
The error states that there are multiple columns named time in data.
time
data
I believe this is caused by the following line: data <- cbind(data, neg_der_log_bounded, time)
data <- cbind(data, neg_der_log_bounded, time)
I suggest the following, which avoids binding the time column which is already contained in data: data <- cbind(data, neg_der_log_bounded)
data <- cbind(data, neg_der_log_bounded)
The text was updated successfully, but these errors were encountered:
The following hard-coded time column name in transform_data causes problems if data are not formatted in the same fashion:
transform_data
time <- as.numeric(data$Timestamp[2:n] - data$Timestamp[1:(n - 1)])
I suggest changing to:
time <- as.numeric(data[,time_col][2:n] - data[,time_col][1:(n - 1)])
Sorry, something went wrong.
No branches or pull requests
I'm unable to run transform_data() successfully. Running line-by-line, the final line before returning data fails at:
data <- tsibble::as_tsibble(data, index = time_col, regular = regular)
The error states that there are multiple columns named
time
indata
.I believe this is caused by the following line:
data <- cbind(data, neg_der_log_bounded, time)
I suggest the following, which avoids binding the
time
column which is already contained indata
:data <- cbind(data, neg_der_log_bounded)
The text was updated successfully, but these errors were encountered: