Learn R Programming

VDSPCalibration (version 1.0)

samplefun: Uniformly Sampling

Description

Draws samples uniformly (for internal use only)

Usage

samplefun(x, index, n0)

Arguments

x

The VD values

index

the index for VD value, it can be 1, 2, 3,....

n0

Sample size

Value

index

selected ids

x

selected VD levels

Details

Uniform sampling (internal use only)

See Also

sampletot

Examples

Run this code
# NOT RUN {
x=rnorm(100)
index=1:100
samplefun(x, index, 40)

# }

Run the code above in your browser using DataLab