Skip to content
New issue

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

Error when working with a time series dataset of a single individual #3

Open
yejunbin opened this issue Dec 25, 2024 · 1 comment
Open

Comments

@yejunbin
Copy link

Description:

While running the analysis with a time series dataset from a single individual, the following error occurred:

Calculate the 1th Component
Convergence reached at dif=3.40063312288588e-05, iter=2
Calculate the 2th Component
Convergence reached at dif=5.20076785560057e-05, iter=4
Error in data.frame(value = as.vector(tensor_est_agg[i, , ]), subID = rep(dimnames(tensor_est_agg)[[2]], : 
  argument implies differing number of rows: 51, 0, 1

This error seems to be related to the mismatch in the number of rows when creating a data.frame. The specific issue appears to be caused by dimensions within the tensor_est_agg object, which results in inconsistent row counts.

Please advise on how to resolve this issue when working with time series data for only one individual.

@pixushi
Copy link
Owner

pixushi commented Dec 25, 2024

Hi! Thanks for your interest in our method! Unfortunately TEMPTED is aimed at multi-subject longitudinal data. There are other methods suitable for time series data from a single subject.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants