fclust_readR Documentation

Read a functional clustering for one or several performances

Description

Read the files resulting from a functional clustering and saved in text format in 6 different files by using function fclust_write().

Usage

fclust_read(filename = "")

Arguments

filename

a string, used as radical for the 6 file names.

Details

The results are saved in 5 different files.

If only a file does not exist or is corrupted, the function is stopped.

Value

The result of the functional clustering recorded in the files "filename.*.csv".

See Also

fclust: make a functional clustering,
fclust_plot: plot the results of a functional clustering,
fclust_write: save the results of a functional clustering,
fclust_read: read the results of a functional clustering.

Examples


# save "res" in the files "myRecord.*" then read them again.

res <- CedarCreek.2004.res
filename <- tempfile(pattern = "myRecord", tmpdir = tempdir())

fclust_write(res, filename)
res <- fclust_read(filename)

all.equal(res, CedarCreek.2004.res)