[R-sig-ME] nlme issue

Chiruka, Raymond RChiruka at ufh.ac.za
Tue Jul 18 00:15:52 CEST 2017

Good day

I am using R 3.4.1 on Rstudio on windows
I was trying the examples for fitting sitar growth models.I am getting the following error when run  examples in package sitar and package gmusim.

The code I tried is the following.

> library("gmusim", lib.loc="C:/Users/RChiruka/Documents/R/rpackages")
Loading required package: lattice
Loading required package: nlme
Loading required package: splines

I get the following error.

> x <- immigrant$age

> y <- immigrant$height

> id <- immigrant$id

> df <- 5

> resu1 <- gmusim(x,y,id,df)

Error in pdFactor.pdLogChol(X[[i]], ...) : object 'logChol_pd' not found

When I tried running the following sitar example I got the same error

> library("sitar", lib.loc="C:/Users/RChiruka/Documents/R/rpackages")

> data(heights)

> (m1 <- sitar(x=age, y=height, id=id, data=heights, df=5))

Error in pdFactor.pdLogChol(X[[i]], ...) : object 'logChol_pd' not found

> m1 <- sitar(x=age, y=height, id=id, data=heights, df=7)

Error in pdFactor.pdLogChol(X[[i]], ...) : object 'logChol_pd' not found

I don't know what is wrong. Any help would be appreciated.



This communication is subject to the University of Fort Hare e-Mail Disclaimer<http://www.ufh.ac.za/policies/UFH_E-mail_Disclaimer.pdf>

	[[alternative HTML version deleted]]

More information about the R-sig-mixed-models mailing list