Having trouble understanding something I read in a paper recently. Say we have $X \sim \operatorname{Binomial}(N,p).$ The paper states:
$$E[X \mid N,p] = Np$$ (so far so good)
and
$$E[X] = \mu p$$
Where is $p$ in the second line coming from, if $\mu$ is defined as $Np$ for $\operatorname{Binomial}(N,p)$?