r: How to manipulate the GGparcoord input column inside the function

Viewed 26

I want to compare between the week() of the year of two parallel date columns from two different years. I`m using the GGparcoord function and looking for a way to manipulate the dates in the two columns to be the week count of the specific date. I wish not to manipulate the table itself. my code is: ggparcoord(data, columns = 38:39) and I'm looking for something like ggparcoord(data, columns = week(38):week(39)), that actually works.

In addition, if anyone knows how, I would be happy to learn how to use the ggparcoord with column name instead of column number.

Tnx!

0 Answers
Related