I have two vectors as follows:
popd = vector(mode='numeric', 100)
popr = vector(mode='numeric', 100)
These represent the initial distribution within 2 populations.
I want to define these e.g.
These populations will then transform according to the following...
I'm a complete beginner with R and am trying to use it for my maths project, however I'm getting stuck with what I reckon are some quite elementary things, just because I've never used it before and am teaching myself.
This is what I have so far and what I am doing: