Displaying 3 results from an estimated 3 matches for "failtimes".
Did you mean:
failtime
2006 May 04
0
Eliminating For Loop in Comparison and Replacement
Hi,
I have two dataframes: (Fails, Refurb) each is identical in structure.
The structure has columns consisting of the following: EquipID(Equipment
Identification), CustID(Customer Identification), FailTimes(Time
Equipment Failed). The for loop below is part of a larger Monte Carlo
simulation involving the reliability of equipment and customers.
for (i in 1:length(Fails$CustID)){
j<-1
while (j <= length(Refurb$CustID)){
if (Refurb$FailTimes[j] < Fails$FailTimes[i]){
CustRece...
2010 Dec 05
0
Help with time varying covariate-unfold function
Hello All,
I am trying to use the unfold function in RcmdrPlugin.survival library,
which converts the survival data with time varying covariates to the
counting process notation. The problem is somehow, the event indicator
created is not correct.
Below is the data, I am trying to convert:
CASE TRT FAILTIME FAILCENS SEX AGE IGG0 IGG28 IGG42 IGG84 IGG364
26003 A 11.2033
2004 Mar 04
0
passing a formula to coxph() along with a ...
Hello. I am making a program that allows a user to enter a formula
to be used in coxph() and then does some other stuff to it, and also allows
the user to set other options within coxph().
What is the proper way to pass a formula to a function along with a ...? I
have a function:
func <- function(coxformula, data = parent.frame(),...) {
# Cut to relevant part of function
coxmod <-