crea_coorti | R Documentation |
Come base::cut
con i parametri include.lowest = TRUE
e right = FALSE
(di default)
crea_coorti(x, breaks, include.lowest = TRUE, right = FALSE, ...)
x |
un vettore numerico (da cui si desiderano delle classi) |
breaks |
either a numeric vector of two or more unique cut points or a single number (greater than or equal to 2) giving the number of intervals into which x is to be cut. |
include.lowest |
logical, indicating if an 'x[i]' equal to the lowest (or highest, for right = FALSE) 'breaks' value should be included. |
right |
logical, indicating if the intervals should be closed on the right (and open on the left) or vice versa. |
... |
further arguments passed to or from other methods. |
cut
crea_coorti(x = seq(1985, 2000, by = 1), breaks = c(1985, 1990, 1995, 2000, Inf))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.