search for: yaxlabel

Displaying 1 result from an estimated 1 matches for "yaxlabel".

Did you mean: yaxlabels
2010 May 13
1
cdplot() with 'POSIXct' x
...stop("explanatory variable should be numeric") + if (!(is.numeric(x) || is(x, "POSIXct"))) + stop("explanatory variable should be numeric or POSIXct") ## graphical parameters if(is.null(xlab)) xlab <- names(mf)[2L] @@ -66,7 +66,8 @@ yaxlabels = NULL, xlim = NULL, ylim = c(0, 1), ...) { ## check x and y - if(!is.numeric(x)) stop("explanatory variable should be numeric") + if (!(is.numeric(x) || is(x, "POSIXct"))) + stop("explanatory variable should be numeric or POSIXct") if(!is.fact...