On 2020-01-28 05:13, Martin Maechler wrote:
Spencer Graves
on Mon, 27 Jan 2020 23:02:28 -0600 writes:
Still, as Abby mentioned, turning a simple function into the
default method of an S3 generic is easy to do, but comes with a
bit of cost, not just S3 dispatch which typically is neg
Yes, looks like a missing export (and a missing example on the help page, which
would have exposed the error...).
mrds:::integratepdf() should do the appropriate "burglary"
-pd
> On 28 Jan 2020, at 12:09 , Patrick Giraudoux
> wrote:
>
> Hi,
>
> Trying to use the function integratepdf of the
Hi,
Trying to use the function integratepdf of the mrds package, I get this
message:
|Error in integratepdf(fox.ds$ddf$ds$aux$ddfobj, select = rep(TRUE,
nrow(fox.ds$ddf$ds$aux$ddfobj$xmat)), : could not find function
"integratepdf" |
Has anyone already had this issue ? Maybe the function is n
> Spencer Graves
> on Mon, 27 Jan 2020 23:02:28 -0600 writes:
> Thanks for the reply.
> On 2020-01-27 19:56, Abby Spurdle wrote:
>> Maybe I'm missing something really obvious here, but I was unable to
>> create a matrix out of POSIXct object(s).
>> Perhaps th
Whether something "is" a matrix depends on whether you listen to
is.matrix(x) or to inherits(x, "matrix"):
x = Sys.Date () + 1:16
y = as.POSIXct (x)
dim(y) = c(4,4)
is.matrix(y)
# [1] TRUE
inherits(y, "matrix")
# [1] FALSE
f = factor(letters[1:9])
dim(f) = c(3,3)
is.matrix(f)
# [1] TRUE
inherits(
> > Maybe I'm missing something really obvious here, but I was unable to
> > create a matrix out of POSIXct object(s).
> > Perhaps that deserves a separate discussion...?
>Can you provide an example?
--
#date and time objects
x = Sys.Date () + 1:16
y = as.POSIXct (x)
#matrices
str (matrix