0
Gavin Simpson이 cancensus 패키지를 사용하여 다운로드 한 데이터를 사용하여이 great blog 게시물을 구현하려했지만 GAM을 평가하려고 할 때 다음과 같은 오류를 얻을 : 내 최소한의 작업 예를 here을 게시 한mgcv :: gam "을 사용하여 Markov Random Fields를 계산할 때 오류가 발생했습니다. 영역 이름과 데이터 영역 이름이 제공된 nb/polys가 일치하지 않습니다."
Error in smooth.construct.mrf.smooth.spec(object, dk$data, dk$knots) :
mismatch between nb/polys supplied area names and data area names
In addition: Warning message:
In if (all.equal(sort(a.name), sort(levels(k))) != TRUE) stop("mismatch
between nb/polys supplied area names and data area names") :
the condition has length > 1 and only the first element will be used
. 모든 팁은 크게 감사하겠습니다.
보다도,