Displaying 1 result from an estimated 1 matches for "lkhd".
Did you mean:
lkcd
2012 Aug 13
4
write.dbf error: invalid subscript type 'list'
...am trying to write a data frame to a dbf file.
*n.simulations <- 999
binomial <- kulldorff(geo, cases, population, NULL, pop.upper.bound,
n.simulations, alpha.level, plot)
cluster <- binomial$most.likely.cluster$location.IDs.included
df <- data.frame(ID=seq(1,n.simulations,by=1),
simloglkhd=binomial$simulated.log.lkhd)
write.dbf(df,"H:\\CIV\\CIVProject\\DATA\\plotdata.dbf")*
I am getting this error.
*Error in c<logical="L", integer="N",numeric="F",charachetr="C", :
invalid subscript type 'list'
Calls: write.dbf -> <...