Having some issues with a subset of my data (subset still has 600 values). For the experiment, I have two time points, nested within each are three treatments (TT), with 5 replicate cultures nested within them (A through E). Within each of these cultures are 20 values for individual organisms. For this subset I want to look at difference between treatments and differences between timepoints within the same treatment.
I am using R 3.1.2 and nlme package
My code is as follows:
model4a <-lme(Velocity~WeekTT, random=~1|Week/TT/Culture, method = "REML", data=body2, weights = varIdent(form=~1|WeekCulture), control=lmeControl(opt="optim"))
STR is below:
data.frame': 600 obs. of 4 variables:
$ Culture : Factor w/ 5 levels "A","B","C","D",..: 1 2 3 4 5 1 2 3 4 5
$ Treatment: Factor w/ 3 levels "T20","T25","T25F": 1 1 1 1 1 2 2 2 2 2
$ Week : num 10 10 10 10 10 10 10 10 10 10 ...
$ Velocity : num 259 279 265 275 256 ...
Here is a screengrab of the results I get and the errors at the bottom (Working on posting some reproducible data but figured it might be a simple code error).
I've been crunching different models for the past 3 week and I think it's an easy question just my brain is frazzled and i'm overthinking it.