Given the values and lefthand endpoints for intervals of constancy, lookup values of the function at arbitrary values of the independent variable.

1 | ```
lookup(xgrid, ygrid, x, y0 = 0)
``` |

`xgrid` |
Lefthand endpoints of intervals of constancy |

`ygrid` |
Values on these intervals, of same length as |

`x` |
Input vector of arbitrary independent variables. |

`y0` |
Value to be returned for values of |

~Describe the value returned If it is a LIST, use

`comp1 ` |
Description of 'comp1' |

`comp2 ` |
Description of 'comp2' |

Grant Izmirlian <izmirlian@nih.gov>

1 | ```
## none as yet
``` |

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.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.