Displaying 4 results from an estimated 4 matches for "col2grey".
2008 Jun 06
4
color scale mapped to B/W
In an R graphic, I'm using
cond.col <- c("green", "yellow", "red")
to represent a quantitative variable, where green means 'OK', yellow
represents 'warning'
and red represents 'danger'. Using these particular color names, in B/W,
red is darkest
and yellow is lightest. I'd like to find color designations to replace
yellow and
2008 Mar 26
0
Update of TeachingDemos package
...xamp, a tool for creating interactive Tk based examples of what
options to functions do (mainly for plots, but one example shows a
non-plotting function).
dynIdentify and TkIdentify, tools that create a scatterplot with labels,
then allow you to drag the labels with the mouse to better locations.
col2grey, a tool to convert your colors to greyscale so you can get a
general feel of how they would look when printed non-color, or copied,
etc.
SensSpec.demo, a demonstration of how to compute positive and negative
predictive value from sensitivity, specificity, and prevelance using a
virtual population...
2008 Mar 26
0
Update of TeachingDemos package
...xamp, a tool for creating interactive Tk based examples of what
options to functions do (mainly for plots, but one example shows a
non-plotting function).
dynIdentify and TkIdentify, tools that create a scatterplot with labels,
then allow you to drag the labels with the mouse to better locations.
col2grey, a tool to convert your colors to greyscale so you can get a
general feel of how they would look when printed non-color, or copied,
etc.
SensSpec.demo, a demonstration of how to compute positive and negative
predictive value from sensitivity, specificity, and prevelance using a
virtual population...
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame.
For instance
> ddTable <-
data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry"))
I want a dataset that is
Id Name
1 Paul
2 Bob
> unique(ddTable)
Will give me all 4 rows, and
> unique(ddTable$Id)
Will give me c(1,2), but not accompanied by the name column.