a possible bug in spia function
0
0
Entering edit mode
@slavailyntskyy-13608
Last seen 6.7 years ago

Hi, 

I believe the spia() function code contains a bug in the line where it checks whether de list of ids is contained within all list of ids. Specifically, it checks 'de' names against 'all' values instead of names:

IDsNotP<-names(de)[!names(de)%in%all]

And it should be:

IDsNotP<-names(de)[!names(de)%in%names(all)]

Thanks!

 

 

SPIA • 1.2k views
ADD COMMENT

Login before adding your answer.

Traffic: 739 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6