I'm trying to draw different icons on a time line using the following
function:
"place.icon" <- function(icon.name, x.loc, x.end, y.loc, size, color)
{
as.function(icon.name(x.loc, x.end, y.loc, size, color))
}
where icon.name is the name of a function that draws the icon (since some
icons
represent processes over time instead of point events, there are two x
variables). It draws the function, but aborts with this error message:
Error in as.function(icon.name(x.loc, x.end, y.lo..: Invalid data of mode
"missing" (too short)
Dumped
All of the variables are numeric; I'm not sure what I'm doing wrong.
............................................
Michael D. Maltz
Dept. of Criminal Justice (M/C 141)
University of Illinois at Chicago
1007 West Harrison St.
Chicago, Illinois 60607-7140
Voice & voicemail (312)413-2473
Fax (312)996-8355
Editor, Journal of Quantitative Criminology
Voice & voicemail (312)413-2440
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news
|