Giter Site home page Giter Site logo

esmpack's Introduction

Hi there!

Work Details

  • I am associate professor of methodology and statistics in the Department of Psychiatry and Neuropsychology at Maastricht University in the Netherlands
  • I do research on the statistical methods for meta-analysis and the analysis of multilevel and longitudinal data, with particular emphasis on computational statistics and software development

Most Important Projects

Get in touch

esmpack's People

Contributors

wviechtb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

esmpack's Issues

lagvar(): obs must be >=1 for but not mentioned in documentation

Hello! I noticed that lagvar() only recognizes obs>=1 as the starting value but not 0. Some ESM researchers code the starting beep as beep=0 and this function may return NA wrongly. Would you add this requirement to the documentation, or amend the code so it can take beep=0 (or even negative values, if not an issue)?

datbeep2 <- structure(list(subject = c(rep(1,4),rep(2,4)), beep =
                             rep(1:4,2),
                           relaxed = c(1,2,3,4,5,6,7,8)),
                      row.names = c(NA, 8L), class = "data.frame")
datbeep1 <- structure(list(subject = c(rep(1,4),rep(2,4)), beep =
                             rep(1:4,2),
                           relaxed = c(1,2,3,4,5,6,7,8)),
                      row.names = c(NA, 8L), class = "data.frame")
datbeep0 <- structure(list(subject = c(rep(1,4),rep(2,4)), beep =
                             rep(0:3,2),
                           relaxed = c(1,2,3,4,5,6,7,8)),
                      row.names = c(NA, 8L), class = "data.frame")
datbeepm1 <- structure(list(subject = c(rep(1,4),rep(2,4)), beep =
                             rep(-1:2,2),
                           relaxed = c(1,2,3,4,5,6,7,8)),
                      row.names = c(NA, 8L), class = "data.frame")

datbeep1$relaxed_lag <- lagvar(relaxed, id=subject, obs=beep, data=datbeep1)
datbeep2$relaxed_lag <- lagvar(relaxed, id=subject, obs=beep, data=datbeep2)
datbeep0$relaxed_lag <- lagvar(relaxed, id=subject, obs=beep, data=datbeep0)
datbeepm1$relaxed_lag <- lagvar(relaxed, id=subject, obs=beep, data=datbeepm1)
datbeepm1
datbeep0
datbeep1
datbeep2

Suddenly can't install ESMPack

I actually have the same (but also a slightly different) issue. I've been running my script in which ESMPack is used for a while now (last time was end of August) but all of a sudden when I tried to run the script today it started giving me a strange error that the package wasn't installed, and when installing via "remotes::install_github("wviechtb/esmpack")" I get the following (see screenshot):

Screenshot 2021-10-21 at 11 42 36

So it's the same problem (not being able to install ESMPack) but seemingly for a different reason.

Originally posted by @Gryphire in #2 (comment)

Error - install emspack

Hi!
I experinced an error when wanted to install the esmpack package. I tried to enter the code manually or paste or restart the program, it didn't help. Do you have any idea what I should do differently or what could be the problem?
Thank you very much!
Sophie

error_esmpack

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.