search for: kfun

Displaying 2 results from an estimated 2 matches for "kfun".

Did you mean: fun
2007 Nov 19
1
Convert from ppp to spp objects
...ersion of Ripley's K) for a spatial point dataset (originally a ESRI shapefile). I have coerced the data to a ppp object (because I was originally using 'kest' in the spstat package to produced Ripley's K) but I need to convert my spatial data to a spp object to be able to use 'kfun' in the ads package (this function calculates Ripley's L and confidence intervals). I have searched through help, forums, and package instructions to try and find a way to convert a ppp object to a spp, but I have been unable to find a command. Is there a package/command that will let me...
2013 Jul 23
0
Coxme Package Error Message Help
...le Std Dev Variance ID Intercept 2e-02 4e-04 However, when I include a second variable the following error message follows. > mcc.risk_time<-coxme(Surv(faketime,Used)~ kauf_avg + Dummy_Time + (1|ID)+strata(Strata),data=data) Error in logfun(as.numeric(testvals[i, ]), varlist, vparm, kfun, ntheta, : NA/NaN/Inf in foreign function call (arg 2) I have removed all NA values from kauf_avg and neither Time or Age have NA values. The only information I can seem to find relevant to this error message is the following (I have contacted this person and am waiting to hear back but I thou...