I have no idea what you mean by inviting her.
So, there is a mindset here.
You decide how you are going to live your life, lets say you decide you won't live with people that regularly yell. You take steps towards that life and communicate in words and ACTIONS (actions being more important than words) to your wife that yelling isn't going to be in your life. No justifications... .no apologies... it is what it is.
Then you say to her (for example... .don't try to actually say this yet) "Babe... .I'm obviously fond of you. I want to stay together and improve our relationship without yelling coming between us. Let me know if you will take steps to live a life without yelling. Understand I'll be taking steps to achieve a life without yelling."
Something like that. You have invited her along to a future without yelling. She can choose to come along or not. You will respect her decision either way.
That's "inviting her along".
Now... .if I have missed something and you don't want her around, even if yelling stopped... .then we should back up some an re-evaluate.
Make sense?
FF