Creating stacked bar charts with percentages in R

Thanks for the reply.
Above is the sample data