Learn R Programming

bigdist (version 0.1.4)

as_bigdist: Convert to bigdist

Description

Generic to convert an object of class 'bigdist'

Usage

as_bigdist(x, file, ...)

Arguments

x

Object coercible to bigdist

file

File to write the 'bigdist' matrix

...

additional arguments

Value

An object of class 'bigdist'

Details

Writing distances to FBM can be parallelized by setting up a future backend

Examples

Run this code
# NOT RUN {
temp3 <- as_bigdist(dist(mtcars), file = file.path(tempdir(), "temp_ex4"))
temp3
# }

Run the code above in your browser using DataLab