Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

is.ppclust

Check the class of object for ‘ppclust’


Description

Checks the class of given object whether it is an instance of the ppclust class or not.

Usage

is.ppclust(objx)

Arguments

objx

an object to be checked for its class.

Value

TRUE if objx is a valid ppclust object and FALSE for the other types of object classes.

Author(s)

Zeynel Cebeci

See Also

Examples

data(iris)

# Run FCM for 3 clusters
res.fcm <- fcm(x=iris[,1:4], centers=2)

# Test for a ppclust object returned by the fcm function
is.ppclust(res.fcm)

# Test for a matrix object
x <- matrix(nrow=3, ncol=2, c(1,4,2,5,7,8))
is.ppclust(x)

ppclust

Probabilistic and Possibilistic Cluster Analysis

v1.1.0
GPL (>= 2)
Authors
Zeynel Cebeci [aut, cre], Figen Yildiz [aut], Alper Tuna Kavlak [aut], Cagatay Cebeci [aut], Hasan Onder [aut]
Initial release
2020-02-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.