tutorial

About xxM Forums NL-SEM and xxM tutorial

This topic contains 2 replies, has 3 voices, and was last updated by  atang 3 years, 7 months ago.

  • Author
    Posts
  • #1598

    mwj999
    Participant

    I am unable to get the tutorial to work as I am not familiar with R. The second command is given as
    brim <- xxmSubmodel( model = “brim”, level = “student”, parents = c(“teacher”), ys = c(“y1”, “y2”), xs = , etas = , data = student )
    on the webpage the command is
    brim <- xxmSubmodel( model = brim, level = “student”, parents = c(“teacher”), ys = c(“y1”, “y2”), xs = , etas = , data = brim.student )
    With the first command I get ‘object ‘student’ not found’ with the second I get a similar error unless I put brim.student also in quotation marks after which I get
    Error in if (levelidname != level) { : argument is of length zero
    Thanks for help

  • #1998

    atang
    Blocked

    Costa has been booked seven times in his first 13 Premier League appearances, level with Arsenal’s Calum Chambers and Sunderland’s Lee Cattermole for the league-high, although the Spaniard’s yellow cards have come in fewer games.

    The latest came for a dive in Saturday’s 2-0 win against Hull – a decision replays showed to be wrong and underlines to Mourinho the rough justice his frontman is getting.

    “I can’t believe it,” the Chelsea boss said. “I can’t believe it. I remember two that are understandable and fair.

    “One was against Newcastle because he complained with the referee with arms in the air in body language that was not accepted normally by the referees and [Martin] Atkinson gave him the yellow card.

    “And the other one in Liverpool, when there was a really aggressive duel with [Martin] Skrtel – you know, fighting in a yellow card way.

    “All the others, the first one at Burnley is a penalty and a red card Harga Motor Terbaru 2015 for the keeper and he gets a yellow card.

    “Other times, it is not a simulation and they give him a yellow card. Other times Harga Motor Terbaru 2015 he touches one guy and it is a yellow card.

    “Everything he does is a yellow card, so he does nothing for a red card, he does nothing, really.

    “For me, the normal situation would be now to be on Harga Motor Terbaru the second, maximum third yellow card. But seven yellow cards – it looks like everybody comes ready for him, which I don’t understand.”

    Mourinho feels Costa’s reputation was earned during his Harga Motor 2015 time at Atletico Madrid and feels he has done ‘very well’ working on his behaviour since arriving at Stamford Bridge.

    “I think when he was (at) Atletico he created a certain image and people Motor Terbaru 2015 don’t believe that he can change,” he added.

    “People don’t believe the way we teach him what England is – the mentality, what Harga Motor people accept, what people don’t accept, what is a red card.

    “People don’t understand that he is intelligent enough to understand it and to change – because he changed.”

  • #1599

    Paras Mehta
    Keymaster

    Thanks for the feedback and sorry for the confusion.

    Neither the model object (brim) nor the dataframe object (brim.student) should be in quotes.

    Could you please try to run the script included with the package? You can find the script under “\xxm\models\brim” directory.  Once the packaged data is loaded using data() command:

    you can examine the contents by issuing the str() command:

    Please let me know if you have any trouble with script included with the package. The rest of the script should work if both datasets are loaded.

     

    • This reply was modified 4 years, 6 months ago by  Paras Mehta.
    • This reply was modified 4 years, 6 months ago by  Paras Mehta.
    • This reply was modified 4 years, 6 months ago by  Paras Mehta.
    • This reply was modified 4 years, 6 months ago by  Paras Mehta.
    • This reply was modified 4 years, 6 months ago by  Paras Mehta.

You must be logged in to reply to this topic.