Code Monkey home page Code Monkey logo

Comments (4)

mcfanda avatar mcfanda commented on June 18, 2024

Hi, thanks for the feedback
I'm working on the R interface and soon it should be all set. In the meantime, you can already use gamlj in R by specifying the modelTerms in the R syntax:

gamlj::gamljMixed(
    data = data,
    dep = "y",
    factors = "wfac",
    covs = "x",
    cluster = "cluster",
    randomTerms = list(c("Intercept", "cluster")),
    modelTerms = list( "wfac","x"),
    contrasts = list(list(var="wfac", type="deviation")),
    scaling = list(list(var="x", type="centered")))

the issue is that when there is an interaction in the fixed effects, the exposed syntax does not show the modelTerms option. You can still include an interaction like this:

    modelTerms = list("wfac",  "x",c("wfac","x") ),

Yet, the R interface is still buggy, next version will (hopefully) fix the issue

from gamlj.

amiroquai avatar amiroquai commented on June 18, 2024

I would like to add my gratitude for the package! It is exactly what I need. Nevertheless, I am not able to run the syntax at all in R. I get the error message that the package is not available. where can I find the gamlj package for R?
Many thanks from Switzerland

from gamlj.

mcfanda avatar mcfanda commented on June 18, 2024

HI, you need to install gamlj from R, you can run this:
devtools::install_github('mcfanda/gamlj')
Please notice thT the current version of gamlj (0.9.8) is still buggy when ran in R. We are working on version 1.0.0 which will solve all the R interface problems

from gamlj.

amiroquai avatar amiroquai commented on June 18, 2024

Sweet! Thanks!

from gamlj.

Related Issues (20)

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.