max_heapify {DCEM}R Documentation

max_heapify: Part of DCEM package.

Description

Implements the creation of max heap. Internally called by the dcem_star_train.

Usage

max_heapify(data, index, num_data)

Arguments

data

(NumericMatrix): The dataset provided by the user.

index

(int): The index of the data point.

num_data

(numeric): The total number of observations in the data.

Value

A NumericMatrix with the max heap property.

Author(s)

Parichit Sharma parishar@iu.edu, Hasan Kurban, Mehmet Dalkilic


[Package DCEM version 2.0.5 Index]