Description Usage Arguments Details Author(s) Examples
Package that implements various symbol plots (bars, profiles, stars, Chernoff faces, color icons, stick figures).
1 2 3 4 | symbol(df, type="star", colin=NULL, colout=NULL, colin2=NA, colout2=1, ssize=NULL, labels=0, labelsize=0.6,
scheme=1, sortby=0, descending=FALSE, coorx=NULL, coory=NULL, lty=1, main=NULL, sub=NULL, xlab=NULL, ylab=NULL,
add=FALSE, xlim=NULL, ylim=NULL, facew=0.5, faceh=0.5, eyes=0.5, eyed=0.5, mouthw=0.5, mouthc=0.5, brows=0.5,
browp=0.5, nosel=0.5, nosew=0.5, ears=0.5, pupils=0.5, body=0.5, limb1=0.5, limb2=0.5, limb3=0.5, limb4=0.5, defcol=NA)
|
df |
data frame. |
type |
type of symbol plot: |
colin |
number of column in data frame for color filling of symbol. |
colout |
number of column in data frame for color of border. |
colin2 |
color for filling the symbol. |
colout2 |
color of border. |
ssize |
size of symbol. |
labels |
number of column in data frame for labels of symbols. |
labelsize |
size of labels. |
scheme |
ordering scheme of symbols: |
sortby |
number of column in data frame for sorting the symbols. |
descending |
descending ( |
coorx |
|
coory |
|
lty |
line type used for drawing lines inside stars and suns. |
main |
main title for the plot. |
sub |
sub title for the plot. |
xlab |
label for the x axis. |
ylab |
label for the y axis. |
add |
if |
xlim |
vector with the range of |
ylim |
vector with the range of |
facew |
number of column in data frame for face width for Chernoff faces. |
faceh |
number of column in data frame for face height for Chernoff faces. |
eyes |
number of column in data frame for eyes size for Chernoff faces. |
eyed |
number of column in data frame for eyes distance for Chernoff faces. |
mouthw |
number of column in data frame for mouth width for Chernoff faces. |
mouthc |
number of column in data frame for mouth curve for Chernoff faces. |
brows |
number of column in data frame for brows size for Chernoff faces. |
browp |
number of column in data frame for brows position for Chernoff faces. |
nosel |
number of column in data frame for nose length for Chernoff faces. |
nosew |
number of column in data frame for nose width for Chernoff faces. |
ears |
number of column in data frame for ears size for Chernoff faces. |
pupils |
number of column in data frame for pupils position for Chernoff faces. |
body |
number of column in data frame for body of stick figures. |
limb1 |
number of column in data frame for first limb of stick figures. |
limb2 |
number of column in data frame for second limb of stick figures. |
limb3 |
number of column in data frame for third limb of stick figures. |
limb4 |
number of column in data frame for fourth limb of stick figures. |
defcol |
default color for color icons |
This package implements eigth types of symbol plots. Symbols can be colored with continuos or categorical variable (colin and colout) or with defined color (colin2 and colout2). Symbols can be placed in plot depending on order (with three different schemes - sortby and scheme), depending on some variables or some derived coordinates (coorx and coory).
Chernoff faces can be defined by 12 variables, stick figures by 5 and color icons by 8.
Jaroslav Myslivec <jaroslav.myslivec@upce.cz>
1 2 3 4 5 |
Loading required package: shape
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.