R/Neighborhood.R

## access method
setMethod("type", "Neighborhood", function(object) object@type)
setMethod("radius", "Neighborhood", function(object) object@radius)
## Replace method
setReplaceMethod("radius", "Neighborhood",
    function(object, value){object@radius <- value
                            object})

Try the RobAStBase package in your browser

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

RobAStBase documentation built on Nov. 16, 2022, 9:08 a.m.