Afternoon. After the disastrous question I made in recent time (~5 hours ago) I, unfortunately, have another one.
I have a line of code
summary.myData<<-summarySE(myData, measurevar=paste(tx.choice1), groupvars=paste(tx.choice2[order1[[ind1]][1]],tx.choice2[order1[[ind1]][2]]),conf.interval=as.numeric(tclvalue(intervalplot_confidenceinterval)),na.rm=TRUE,.drop=FALSE);
specifically:groupvars=paste(tx.choice2[order1[[ind1]][1]],tx.choice2[order1[[ind1]][2]])
Would look like this:
paste(tx.choice2[order1[[ind1]][1]],tx.choice2[order1[[ind1]][2]]) [1] "Group Subgroup"
I want it to look like this groupvars=c("Group","Subgroup")
I have tried "groupvars=paste(tx.choice2[order1[[ind1]]",",",[1]],"tx.choice2[order1[[ind1]][2]]")
but it would seem that I have a gross misunderstanding about how R, paste() and quotation marks works.
Would someone please point me in the right direction?