Skip to content
Prev 326457 / 398502 Next

Data Package Query

John Kane
Kingston ON Canada

-----Original Message-----
From: y_refai at hotmail.com
Sent: Fri, 5 Jul 2013 13:35:32 +0000
To: jrkrideau at inbox.com, rolf.turner at xtra.co.nz, jdnewmil at dcn.davis.ca.us
Subject: RE: [R] Data Package Query

Hello,

When I run the below syntax:
Trial<-read.table("Trial.txt",header=TRUE)
Trial
save.image(file="Trial.RData")
load("Trial.RData")
fit<-logistf(data=Trial, y~x1+x2)
summary(fit)
AIC(fit)

I am getting the below error:
Error in UseMethod("logLik") : 
? no applicable method for 'logLik' applied to an object of class "logistf"

Can you please help with that?

Regards,
Yasmine
Well, currently not.  We have no idea of what your data looks like and you have not told us what packages you are loading , especially where the function logistf() is coming from. 

We need a better constructed question to be able to help.

Please read https://github.com/hadley/devtools/wiki/Reproducibility and
 http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example

In particular I suspect that we need to see some sample data.  Use dput() to supply some. That is issue the command dput(Trial) and copy the results into your email.

Also list any require() or library() calls.
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!