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 Feb. 2, 2024, 3 p.m.