Description Usage Arguments Value References See Also Examples
Application of the improved Fuzzy Cluster Method (FCMm) for new Rrs data based on default cluster settings or user-defined clusters (trained by FCM.new).
1 2 3 4 5 6 7 8 9 10 11 12 |
Rrs |
Data.frame, the input Rrs of FCM. |
wavelength |
Numeric vector, used for applying FCM.
Default use the data from |
Rrs_clusters |
Data.frame, used for applying FCM.
Default use the data from |
m_used |
Number, Used fuzzifier value |
do.stand |
Logical, whether to normalized the Rrs data (both for Input and Centroids).
Default as |
stand |
Deprecated; same to |
default.cluster |
Logical, whether to use the default clusters.
Default use the data from |
quality_check |
Logical, quality chech option (default as |
option.plot |
Logical, whether to plot the result. Default as |
color_palette |
The palette of cluster color. Default as |
A list
including several results of function apply_FCM_m()
x The raw input Rrs dataframe with unit sr^-1
x.stand The standardized Rrs dataframe, if stand=F
d Distance to each cluster
u Membership values
Area Spectral intergration of each sample
cluster Defined by the maximum of membership
quality The quality of the cluster results.
m.used The used value of fuzzifier(m)
K Cluster number
p.group A ggplot list for plotting the cluster result
p.group.facet Recommened! p.group
with facet to see each cluster results
more clearly
dt.melt Dataframe used for ggplot including dt_plot_x
, dt_plot_v
, and cp
.
Bi S, Li Y, Xu J, et al. Optical classification of inland waters based on an improved Fuzzy C-Means method[J]. Optics Express, 2019, 27(24): 34838-34856.
Other Fuzzy cluster functions:
FCM.new()
,
FuzzifierDetermination()
,
apply_to_image()
,
cal_memb()
,
generate_param()
,
plot_spec_from_df()
1 2 3 4 5 | library(FCMm)
data("WaterSpec35")
data("Bi_clusters")
Rrs <- WaterSpec35[,3:17]
result <- apply_FCM_m(Rrs=Rrs, option.plot=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.