I have a table that I want to use the information there to mix with the below write up using glue package or if there are other packages in r that can handle the situation better I'm open to suggestion
First table
Client | Average |
---|---|
Pay Network | ₦373.57 |
Minders | ₦321.20 |
Players | ₦306.57 |
Bronze | ₦316.58 |
The second table
Pay Network | Minders | Players | Bronze | |
---|---|---|---|---|
Below Average | 23% | 50% | 60% | 90% |
Above Average | 77% | 50% | 40% | 105 |
what I want is to create a scenario whereby once the variable name is called in the curly bracket then he should input the values called in the curly bracket using Glue package or any other package that can do the job perfectly.
This is what I want to achieve
here, I want the two highest average values per transaction to be called from the table to enter where the curly bracket is
eg {Minders} and {Play Network} have the highest value per transaction, yet about {23%} and {50%} of their customers made overall purchases below average value in the month of Feb
the output won't of course shows the curly bracket. I just use that as an example the main output will look like this
Minders and Play-Network have the highest value per transaction, yet about 23% and 50% of their customers made overall purchases below average value in the month of Feb