Description Usage Arguments Details Value Author(s) Examples
It shows the performance of a salesperson(s) in terms of sales amount achieved against the target
1 | spp(sdt, ss)
|
sdt |
a sales amount targetted |
ss |
a sales amount achieved by the salesperson(s) in the second column of a dataframe containing names/ID of salesperson(s) in the first column |
Colour coding is used to display the performance of a salesperson in relation to a target for the barchart visual produced by the function. A bar coloured orange indicates that the salesperson has met the target; a green bar indicates the salesperson has exceeded the target and a red bar and a red bar indicates the person is below the target. Sales amouns are in monetary values of a given currency
comp1 |
a barplot showing the performance of the salesperson(s) |
comp2 |
a dataframe object of three columns for names/ID, sales amount, sales as percentage of target for the salesperson(s) |
Abubakar Akanbi
1 2 | df3 = data.frame(name=c('john','kelvin', 'ayo'), amnount= c(5084,8685,2058))
spp(df3, 5084)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.