Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
I would like to split up a single vector into a table. I would like to take e.g. each time 8 data points and put the next 8 at the right side thus constructing a table. Apparently I am overlooking something evident could someone help me out? Thanks in advance (MC15)
Solved! Go to Solution.
FDS wrote:
I would like to split up a single vector into a table. I would like to take e.g. each time 8 data points and put the next 8 at the right side thus constructing a table. Apparently I am overlooking something evident could someone help me out? Thanks in advance (MC15)
You can only augment vectors of the same length - some of your vectors don't meet this criterion. Do you want something like this?
Stuart
FDS wrote:
I would like to split up a single vector into a table. I would like to take e.g. each time 8 data points and put the next 8 at the right side thus constructing a table. Apparently I am overlooking something evident could someone help me out? Thanks in advance (MC15)
You can only augment vectors of the same length - some of your vectors don't meet this criterion. Do you want something like this?
Stuart
Thank you Stuart! I must have missed the difference in length . So, if the length would have been the same the syntax with augment would have worked?
FDS wrote:
Thank you Stuart! I must have missed the difference in length . So, if the length would have been the same the syntax with augment would have worked?
Looks like it ...
table1 is your original function.
Stuart