fetch: Remote Data Sets

fetchR Documentation

Remote Data Sets

Description

A collection of function for fetching famous remote data sets.

Usage

fetch_bunny(data_folder, accept_license = FALSE)

fetch_spiral_2d(data_folder)

clear_data_home(data_folder)

Arguments

data_folder

A string specifying a location for storing data ot be used with GUDHI.

accept_license

A boolean specifying whether the user accepts the file LICENSE and prevents from printing the corresponding license terms. Defaults to FALSE.

Value

A numeric array storing the points of the corresponding data set.

Stanford bunny dataset

The fetch_bunny() function returns a numeric array of shape 35947 \times 3.

spiral_2d dataset

The fetch_spiral_2d() function returns a numeric array of shape 114,562 \times 2.

Examples


b <- withr::with_tempdir({fetch_bunny(getwd())})
s <- withr::with_tempdir({fetch_spiral_2d(getwd())})


rgudhi documentation built on March 31, 2023, 11:38 p.m.