sampleEquallySpaced: Gets n equally spaced samples (rows) from a matrix or vector

View source: R/utils.R

sampleEquallySpacedR Documentation

Gets n equally spaced samples (rows) from a matrix or vector

Description

Gets n equally spaced samples (rows) from a matrix or vector

Usage

sampleEquallySpaced(x, numSamples)

Arguments

x

matrix or vector

numSamples

number of samples (rows) to be drawn

Details

Gets n equally spaced samples (rows) from a matrix and returns a new matrix (or vector) containing those samples

Author(s)

Tankred Ott


BayesianTools documentation built on Feb. 16, 2023, 8:44 p.m.