[R] Lattice: set col = "black" for box.rectangle and box.umbrella

Bert Gunter bgunter.4567 at gmail.com
Thu Jul 2 20:57:27 CEST 2015


Let me rephrase my 2nd point:

simpleTheme() has a specific list of **arguments** which is nothing
like you show. As the Help says, its value is a list of parameter
settings that can be used by par.settings.

-- Bert
Bert Gunter

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
   -- Clifford Stoll


On Thu, Jul 2, 2015 at 11:46 AM, Bert Gunter <bgunter.4567 at gmail.com> wrote:
> 1. box.rectangle, etc. are not functions;  they are (lists of)
> parameters that are sublists of the par.settings list.
>
> 2. Read the Help for simpleTheme() -- it has a specific list of
> parameters which is nothing like what you show.
>
> Cheers,
> Bert
> Bert Gunter
>
> "Data is not information. Information is not knowledge. And knowledge
> is certainly not wisdom."
>    -- Clifford Stoll
>
>
> On Thu, Jul 2, 2015 at 11:04 AM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
>> On Thu, 2 Jul 2015, Rich Shepard wrote:
>>
>>> ... and invoking R within emacs ...
>>
>>
>>   Trying a different approach:
>>
>> bwplot(quant ~ param, data = b, main = 'Stream B Constituents', ylab =
>> 'Concentration (mg/L)', xlab = 'Constituent', par.settings =
>> simpleTheme(box.rectangle(col = 'black'), box.umbrella(col='black'),
>> box.dot(col= 'red')))
>> Error in setValue(col, "col", 1:6) :
>>   could not find function "box.rectangle"
>>
>> I'm stymied,
>>
>>
>> Rich
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list