Hello:

Here are some basic class items:

> x <- 1:10
> class(x)
[1] "integer"
> x.mat <- matrix(1:6,nrow=2)
> class(x.mat)
[1] "matrix"
> class(x>3)
[1] "logical"
> test <- function() { plot(1:10) }
> class(test)
[1] "function"
>

Is there something that says "vector", please?  Or does it go to numeric,
logical, or integer, please?

Thank you.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to