R/ddcast.R

Defines functions `ddcast`

`ddcast` <-
function(tmp.dt, ...) {
        if (dim(tmp.dt)[1L]==0L) {
                return(data.table(NULL))
        } else {
                dcast(tmp.dt, ...)
        }
} ### END ddcast Function

Try the SGP package in your browser

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

SGP documentation built on Oct. 23, 2023, 5:08 p.m.