Excellent the double escape does the job - thanks to everyone who replyed!
--
View this message in context:
http://www.nabble.com/grep-for-asterisks-%22*%22%27s-tp20644195p20645482.html
Sent from the R help mailing list archive at Nabble.com.
__
R-hel
Hello,
I'm trying to determine if a string contains asterisks using the grep
function. I know that this is slightly difficult because * is a special
character in regular expressions and needs to be escaped. However, escaping
the * using \ doesn't work either:
if(grep("\*", model)>0) #does the mod
Thanks Gavin and Dieter,
I think I've now got the plot working through using the level argument as
follows:
plot(confint(mult,level = sig) , main=NA,
xlab=unlist(strsplit(Args[4],"~"))[1])
--
View this message in context:
http://www.nabble.com/Change-Confidence-Limits-on-a-plot-tp20503927p2
Hi,
I am attempting to set the confidence limits on a ls means plot as follows:
mult<-glht(lm(effectModel, data=statdata, na.action = na.omit),
linfct=mcp(mainEffect="Means"))
meanPlot <- sub(".html", "meanplot.jpg", htmlFile)
jpeg(meanPlot)
plot(mult, main=NA, xl
4 matches
Mail list logo