Displaying 1 result from an estimated 1 matches for "gender_significant".
2012 Jan 22
1
How to construct a formula
...ple below, but I want to be
able to do this in a more programatic way. I hope the code below will
show what I am trying to do:
Current code:
data=read.csv("dataMini.csv", header=TRUE, sep=",", dec=".")
colnames(data)
library(nlme)
if(weight_significant) {
if(gender_significant) {
if(weight_gender_interaction_significant) {
model=lme(test_variable~Genotype + Weight + Gender +
Weight*Gender, random=~1|Assay.Date, data, na.action="na.exclude",
method="REML")
} else {
model=lme(test_variable~Genotype + Weight...