A numeric vector with an expert's labelling profile.
A second binClst_instance to be compared with the first.
...
Parameters ref and lims are optional.
lims
A numeric vector with lower and upper bounds to limit the plot.
Examples
# -- apply EMbC to the example path --
mybcp <- stbc(expth)
# -- plot the labeling profile comparing with expert labelling --
lblp(mybcp,expth$lbl)
# -- compare original and smoothed labeling profiles --
lblp(mybcp,smth(mybcp))
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(EMbC)
Loading required package: move
Loading required package: geosphere
Loading required package: sp
Loading required package: raster
Loading required package: rgdal
rgdal: version: 1.1-10, (SVN revision 622)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.11.3, released 2015/09/16
Path to GDAL shared files: /usr/share/gdal/1.11
Loaded PROJ.4 runtime: Rel. 4.9.2, 08 September 2015, [PJ_VERSION: 492]
Path to PROJ.4 shared files: (autodetected)
Linking to sp version: 1.2-3
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/EMbC/lblp.Rd_%03d_medium.png", width=480, height=480)
> ### Name: lblp
> ### Title: Labeling profile plot
> ### Aliases: lblp lblp,binClst,binClst-method lblp,binClst,missing-method
> ### lblp,binClst,numeric-method lblp,binClstStck,missing-method
>
> ### ** Examples
>
> # -- apply EMbC to the example path --
> mybcp <- stbc(expth)
... computing starting delimiters:
... delimiter lL : 1.488106
... delimiter lH : 1.488106
... delimiter hL : 1.488106
... delimiter hH : 1.488106
... delimiter Ll : 1.982173
... delimiter Lh : 1.982173
... delimiter Hl : 0.8682456
... delimiter Hh : 0.8682456
[1] 0 -0.0000e+00 4 600
[1] 1 -4.2724e+00 4 447
[1] 2 -4.1181e+00 4 35
[1] 3 -3.6766e+00 4 34
[1] 4 -3.2744e+00 4 24
[1] 5 -3.1224e+00 4 21
[1] 6 -3.0675e+00 4 15
[1] 7 -3.0520e+00 4 7
[1] 8 -3.0456e+00 4 4
[1] 9 -3.0416e+00 4 0
[1] 10 -3.0395e+00 4 0
[1] 11 -3.0384e+00 4 0
[1] 12 -3.0379e+00 4 0
[1] 13 -3.0377e+00 4 0
[1] 14 -3.0376e+00 4 0
[1] ... Stable clustering
> # -- plot the labeling profile comparing with expert labelling --
> lblp(mybcp,expth$lbl)
> # -- compare original and smoothed labeling profiles --
> lblp(mybcp,smth(mybcp))
>
>
>
>
>
> dev.off()
null device
1
>