search for: txt3

Displaying 3 results from an estimated 3 matches for "txt3".

Did you mean: txt
2011 Mar 21
3
Replacing Period in String
...ld let me know how I communicate that I want to remove the period verbatim to R. Many thanks. --John Sparks > txt="This is a test. However, it is only a test." > txt2<-gsub(",","",txt) > txt2 [1] "This is a test. However it is only a test." > txt3<-gsub(".","",txt) > txt3 [1] "" >
2012 Aug 30
2
Help on Plot Title where text is "mixed" with numerical carachters
Dear All,   I have the following code set up:   x <-2000 y <-8 z <-3   I would need to use these numbers to show up in my plot title "mixed" with text. The x,y,z numbers would need to change, the text would not. So my title should look like this   "x txt1 y txt2 z txt3"   so if: txt1=hours txt2=minutes txt3=seconds   then my title of the plot should read:   2000 hours 8 minutes 3 seconds   any thoughts on how to do this would be greatly apreciated   thanks,   Andras [[alternative HTML version deleted]]
2008 Aug 01
1
Properly Parsing Pre-Superscripts & Displaying Them With grid.text
...on statements: leg.txt2 <- paste("Based upon:\n", expression(^35*Cl), ": 75%\n", expression(^37*Cl), ": 25%", sep = "") # This doesnt' produce an error, but doesn't produce what is wanted either, # as the expression is taken (almost) literally: leg.txt3 <- paste("Based upon:\n", expression(""^35*Cl), ": 75%\n", expression(""^37*Cl), ": 25%", sep = "") grid.text(leg.txt3, 0.5, 0.3) >From watching the help list, I know parsing things can be tricky. TIA, Bryan > sessionInfo() R v...