Learn R Programming

future (version 1.16.0)

as.cluster: Coerce an object to a cluster object

Description

Coerce an object to a cluster object

Usage

as.cluster(x, ...)

# S3 method for cluster as.cluster(x, ...)

# S3 method for list as.cluster(x, ...)

# S3 method for SOCKnode as.cluster(x, ...)

# S3 method for SOCK0node as.cluster(x, ...)

# S3 method for cluster c(..., recursive = FALSE)

Arguments

x

An object to be coerced.

Additional arguments passed to the underlying coercion method. For c(...), the clusters and cluster nodes to be combined.

recursive

Not used.

Value

An object of class cluster.

c(...) combine multiple clusters and / or cluster nodes into one cluster returned as an of class cluster.