Sorry for a very very silly question,
>She starts from the fact that we learn a particular behaviour in a specific context. The home is just one of several environments in which children have to learn how to behave, and although you can affect children's behaviour in the way they behave at home, this is not necessarily the case in other situations.
>you can affect children's behaviour in the way they behave at home
I parsed this as "affect A in B", not treated "in the way" as a unit. Am I right?