This is addressed to her Husband, but in some parts of this poem; it seems as if she was speaking in 3rd person, to herself.
"If ever wife was happy in a man"
Anne sounds as if she's using basic grammar as if she was talking from every woman's stand point.
"Compare with me, ye women, if you can."
Anne now sounds like she is the husband.
By placing herself in different point of views, she can create a sense of confusion.