**Model description.** This model is a model of
lactating mammary glands of cattle described by Heather
et al. (1983). This model was then inspired more complex
models based on these principles. This model simulates
the dynamics of the production of cow's milk. the system
is represented by 6 state variables: change in hormone
levels (H), the production and loss of milk secreting
cells (CS), and removing the secretion of milk (M), the
average quantity of milk contained in the animal (Mmean),
the amount of milk removed (RM) and yield (Y). The model
has a time step dt = 0.1 for regular consumption of milk
by a calf. The model is defined by a few equations, with
a total of fourteen parameters for the described process.

1 2 | ```
lactation.calf.model(cu, kdiv, kdl, kdh, km, ksl, kr, ks,
ksm, mh, mm, p, mum, rc, duration, dt)
``` |

`cu` |
: number of undifferentiated cells |

`kdiv` |
: cell division rate, Michaelis-Menten constant |

`kdl` |
: constant degradation of milk |

`kdh` |
: rate of decomposition of the hormone |

`km` |
: constant secretion of milk |

`ksl` |
: milk secretion rate, Michaelis-Menten constant |

`kr` |
: average milk constant |

`ks` |
: rate of degradation of the basal cells |

`ksm` |
: constant rate of degradation of milk secreting cells |

`mh` |
: parameter |

`mm` |
: storage Capacity milk the animal |

`p` |
: parameter |

`mum` |
: setting the maximum rate of cell division |

`rc` |
: parameter of milk m (t) function |

`duration` |
: duration of simulation |

`dt` |
: time step |

data.frame with CS, M, Mmoy, RM, day, week

1 | ```
lactation.calf.model2(lactation.define.param()["nominal",],300,0.1)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.