R/val4symb.R

Defines functions val4symb

Documented in val4symb

val4symb<-function(x, FUN=mean, col=c("blue","red"),...){
    FUN <- match.fun(FUN)
    signe<-x-FUN(x,...)
    diam<-abs(x-FUN(x,...))
    color<-ifelse(signe<0,col[1],col[2])
    list(size=diam,col=color)
}

Try the pgirmess package in your browser

Any scripts or data that you put into this service are public.

pgirmess documentation built on May 29, 2024, 4:26 a.m.