R/csnippet.R

## a class to hold snippets of C code

setClass(
         "Csnippet",
         slots=c(
           text="character"
           ),
         prototype=prototype(
           text=character(0)
           )
         )

Csnippet <- function (text) {
  new(
      "Csnippet",
      text=as.character(text)
      )
}

Try the pomp package in your browser

Any scripts or data that you put into this service are public.

pomp documentation built on May 2, 2019, 4:09 p.m.