Displaying 1 result from an estimated 1 matches for "noncensidx".
2010 Sep 20
1
Removing slected values from original vector and definning new vector with the rest?
sampleSize <- 20
shape.true <- 1.82
scale.true <- 987
sampWB <- rweibull(sampleSize, shape=shape.true, scale=scale.true)
print(sampWB)
censidx <- sample(1:length(sampWB), length(sampWB)*0.3)
Censored.data <- sampWB[censidx]
noncensidx <- defines the rest values of the vector which is not included at Censored.data?
[[alternative HTML version deleted]]