Learn R Programming

HDSpatialScan (version 1.0.4)

permutate: Permutates the data

Description

This function will permit to permute the data for the MC simulations

Usage

permutate(to_permute, nb_permu)

Value

matrix. Matrix of nb_permu rows and length(to_permute) columns.

Arguments

to_permute

vector. Vector of indices we want to permute.

nb_permu

numeric. Number of permutations.