Converts a data.frame of numeric values into a single vector and generates a random resampling with dimension numRsmps by numTP.

resampleTimeSeries(distTP, numTP, numRsmps)

Arguments

distTP

a data.frame of numeric values.

numTP

a numeric specifying the number of columns in the outputted data.frame.

numRsmps

a numeric specifying the number of rows in the outputted data.frame.

Value

a data.frame of randomly sampled numerics time-series (row = numRsamps x col = numTP).

See also