First, with the anger and frustration, try not to judge it. If it arises, it arises due to past causes and conditions, your past conditioning. When you're getting irritated, try to become aware that that has happened. As Steve said in an earlier answer, use mental noting to note what is happening. You're becoming angry: "anger, anger." Usually, you start to feel it arising and you notice that there's anger. Becoming aware, that moment of mindfulness, enables you to step back from the anger, and it becomes the object of your mindfulness. This is called the mindfulness of the Five Hindrances, in particular the second hindrance, aversion. Then, after you've noted it, try to feel it in your body. Bring your awareness to your body and start to feel how you're feeling. As you become aware of it, you may notice the tightening in the stomach or the chest. Try to open to this unsatisfactory feeling. Unless you understand that this thought brings suffering, you won't want to let go. You'll begin to think that your daughter is the cause of your anger, but that's wrong view.
If you understand the Buddha's teaching, suffering exists and the cause of our suffering lies in our ignorance and unwise reaction. By becoming aware of this body and the result of our anger in the body, we open to the suffering and we begin to understand experientially that it's coming from our attachment to this aversion and falling into wrong view. Then Compassion may arise for ourselves. When you have Compassion for yourself, you'll be able to see your daughter as another human being with difficulties and problems, and then you may be able to be a little bit more present and try to understand what she is misbehaving for, what her needs are at that moment. Usually, children misbehave because they have one of the hindrances in their mind. If you see that she's suffering, perhaps you'll be able to also have Compassion for her and have an appropriate type of response rather than falling into suffering with her.