This package version is compatible with lme4.1. You can download it here or in the Blogrol.

The main idea in this new version of the package is to create a function (I called it xplode.mer) extracting all the values from the fitted model, that are necessary for the MERpsychophysics package. This way, if the internal structure of the lme4 will change, I have to modify the xplode.mer function only.

The function based on the delta method is ready.
About the bootstrap-based estimate of the PSE: for the moment I wrote a very simple function based on bootMer{lme4.1}. I called it pseMer(). I will release soon my own bootstrap function (based on my previous function MERboot) – stay tuned!

Along with the new functions you will find a demo in R to use the xplode.mer function. I will add the user manual and the other functions ASAP.For the moment, I will keep in the blogroll also the old version of the code (compatible with lme4.0)


2 Comments to “MERpsychophysics.1”

  1. Hi Alessandro! Thanks for the MERPsy.. package… I’m having trouble installing the package in R 3.2.2 using Rstudio 0.98…
    I’m getting this…

    install.packages(“~/Descargas/MERpsychophysics.1 (1).zip”, repos = NULL)
    Installing package into ‘/home/perezoso/R/x86_64-pc-linux-gnu-library/3.2’
    (as ‘lib’ is unspecified)
    Error in rawToChar(block[seq_len(ns)]) :
    nul incrustado en la cadena: ‘PK\003\004\n\0\0\0\0\0\xcbt\004G\0\0\0\0\0\0\0\0\0\0\0\0\023\0\020\0MERpsychophysics.1/UX\f\0\0\xa5\xc4U=\xb2\xc0U\xf7\001\024\0PK\003\004\024\0\b\0\b\0\xcdt\004G\0\0\0\0\0\0\0\0\0\0\0\0\034\0\020\0MERps’ ”
    Warning in install.packages :
    installation of package ‘/home/perezoso/Descargas/MERpsychophysics.1 (1).zip’ had non-zero exit status

    Any ideas?

    • Hi,

      for the moment I only provide the R source code. To use the package, open the compressed folder in your favourite path, e.g. “mypath” and add these three lines to your R code:

      #load the package’s functions

      #move back to your working directory e.g. “myWorkingDir”

      I will provide a proper R package with documentation ASAP – it’s in my to do list! 😉

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: