permutate: Permutates the data

View source: R/permutations.R

permutateR Documentation

Permutates the data

Description

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

Usage

permutate(to_permute, nb_permu)

Arguments

to_permute

vector. Vector of indices we want to permute.

nb_permu

numeric. Number of permutations.

Value

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


HDSpatialScan documentation built on May 31, 2023, 7:52 p.m.