Displaying 2 results from an estimated 2 matches for "blah6".
Did you mean:
blah
2009 Feb 06
1
Tables in legend
I need to create a legend for a simple scatter plot in the following
format.
This is Blah1 number1 number2
This is Blah2 number3 number4
.
.
.
This is Blah6 number11 number12
I looked up these help pages and found the following solution.
lStr<-c(Blah1, Blah2,....Blah6, number 1, number2, ...number12)
legend(x="topright",lStr,ncol=3)
So this creates the tabular format I am looking for. But the width of
each column is matched to the width...
2003 Mar 07
1
column name changes based on substrings
Hi peoples,
I'm trying to work out a function which will allow me to relace column names
on the basis of substrings within the existing names. e.g.
I'd like:
blah.Na blah2.Na blah3.Mg blah4.Mg blah5.K blah6.K
R1 x x x x x x
R2 x x x x x x
...
to become:
Na (%) Na (%) Mg (%) Mg (%) K (ppm) K (ppm)
R1 x x x x x x
R2 x x x x...