Git Product home page Git Product logo

nationalmodel's Introduction

NationalModel

nationalmodel's People

Contributors

dstralberg avatar

Watchers

Francisco Dénes avatar

nationalmodel's Issues

Error

datcombo <- rbind(d2001,d2011)

I am getting this error:
Error in rbind(deparse.level, ...) :
numbers of columns of arguments do not match

I think it is due to columns added to dat2011 in lines 61-66 but not to dat2001.

Error

sampsum25 <- focal(samprast, w=5, na.rm=TRUE)

Hey, I am getting the following error when running this line:
sampsum25 <- focal(samprast, w=5, na.rm=TRUE)
Error: is.matrix(w) is not TRUE

Merge not pulling offsets

dat1 <- merge(s2001[,1:5],surveydate[,1:3],by=c("SS","PCODE","PKEY"),all.y=TRUE)

The merge command is not pulling the offsets from the s2001 dataframe. I think the indexing needs to change as below:

dat1 <- merge(s2001[,c(1:5,19)],surveydate[,1:3],by=c("SS","PCODE","PKEY"),all.y=TRUE)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.