to_int_surf: Convert normal mixture to intensity surface.

Description Usage Arguments Details Examples

Description

This function can convert a normmix object into an intensity surface. It can also be used to change intensity or window of an intensity_surface object.

Usage

1
to_int_surf(mix, lambda = NULL, win = NULL, return_normmix = FALSE)

Arguments

mix

Object with class normmix or intensity_surface.

lambda

Optional parameter of average intensity.

win

Optional parameter of domain.

return_normmix

Whether to return a normal mixture. (disgard lambda and win).

Details

If the class of mix is normmix, lambda and win are used to convert mix to an intensity surface class. If the class of mix is intensity_surface, lambda and win are used to change the original setting of lambda and win.

Examples

1
2
3
4
5
6
# from normmix
to_int_surf(demo_mix, lambda = 100, win = square(1))

# from intensity_surface
to_int_surf(demo_intsurf, win = square(2))
to_int_surf(demo_intsurf, lambda = 50)

wangyuchen/sppmix documentation built on May 4, 2019, 12:58 a.m.