[R] mgp and axis title positions

2011-10-16 Thread Benjamin Cheah
Hi all, I consider myself a somewhat experienced user of R, but have struggled with this for a while now. to the point where I just end up pulling the entire graph together in powerpoint and fixing it up from there. How does one adjust the horizontal/vertical positions of axis titles? I've tried

[R] Problem with specifying variance-covariance matrix for random effects (nlme package)

2010-02-14 Thread Benjamin Cheah
Hi all, I've been struggling with trying to specify a diagnoal matrix for linear mixed effects model. I think I've got nearly everything correct, except the following message appears: In lme.formula(fixed = fwave ~ sex + sexXbulbar + visit + age + : Fewer observations than random effects in

[R] Functional data analysis - problem with functional linear regression

2010-01-24 Thread Benjamin Cheah
Hi all, I'm trying to perform a functional linear regression with functional response (comprising 14 coordinates) and 4 scalar covariates. When I create a list containing the scalar covariates (with 14 replications each), I keep getting the following message: [1] "Vector in XFDLIST[[ 1 ]] has

Re: [R] Functional data analysis - problems with smoothing

2009-10-23 Thread Benjamin Cheah
a *factor* object? I'm willing to bet that it is. Use str() to check your data. -Peter Ehlers Benjamin Cheah wrote: > Hi all, > > I'm having major issues with smoothing my functional data > > I'm referring to Jim Ramsay's > examples in his books. The followin

[R] Functional data analysis - problems with smoothing

2009-10-22 Thread Benjamin Cheah
Hi all, I'm having major issues with smoothing my functional data I'm referring to Jim Ramsay's examples in his books. The following error message keeps appearing, despite all my data being numeric can anyone kindly offer any suggestions? isi - vector of argument values - i.e. the independen