Displaying 2 results from an estimated 2 matches for "randdist".
Did you mean:
inddist
2014 May 15
0
lognormal frailty in frailtypack
Hi everyone
I am attempting to estimate a model with a frailty effect distributed as
a lognormal variable.I am using the following code:
frailtyPenal(formula, data, ..., RandDist = "LogN")
I get the following error message:
Error in frailtyPenal(Surv(,) ~ + , :
unused argument(s) (RandDist = "")
What can I do? Thanks for the help
[[alternative HTML version deleted]]
2009 Apr 15
2
How to Reshuffle a distance object
I would like to randomly shuffle a distance object, such as the one
created by ade4{dist.binary} below. My first attempt, using
sample(jc.dist) creates a shuffled vector, losing the lower triangular
structure of the distance object. How can I Ishuffle the lower
triangular part of a distance matrix without losing the structure?
Thanks. --Dale
x1 <- c(rep(0,4),1)
x2 <- c(rep(0,2),rep(1,3))