I need help to write a script cause I truly have no idea how to do it.

I have a table with 5 columns and 1000 rows. I want to write the following script:
If in column 4 the number that appears is the same across the rows,
then take the associated rows from column 5 and put them in order of ascending,
then plot the column 5 rows you ascended against the column 3 associated rows,
print R2 for every different plot you did.

For me this is almost one week of work at the best, to write this thing cause I have no damn idea how it works this language..if you can help me I would highly appreciate it. We can also Skype if needed.

What have you tried so far? what is your specific problem?, we are more inclined towards helping you with specific coding problems rather than doing your work for you.

Could you please turn this into a self-contained REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ:

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.