Difference between revisions of "R: Tipe Data - Numeric Character Logical"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with " x <- 2 x x ^ x x ^ 2 mode(x) x <- c(1:10) x x ^ x mode(x) dim(x) <- c(2,5) x mode(x) x <- c("Hello","world","!") x mode(x) x <- c(TRUE, TRUE, FALSE,...") |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | ==mode== | |
x <- 2 | x <- 2 | ||
Line 6: | Line 6: | ||
x ^ 2 | x ^ 2 | ||
mode(x) | mode(x) | ||
− | |||
x <- c(1:10) | x <- c(1:10) | ||
Line 12: | Line 11: | ||
x ^ x | x ^ x | ||
mode(x) | mode(x) | ||
− | |||
dim(x) <- c(2,5) | dim(x) <- c(2,5) | ||
x | x | ||
mode(x) | mode(x) | ||
− | |||
x <- c("Hello","world","!") | x <- c("Hello","world","!") | ||
x | x | ||
mode(x) | mode(x) | ||
− | |||
x <- c(TRUE, TRUE, FALSE, FALSE, TRUE, FALSE, TRUE) | x <- c(TRUE, TRUE, FALSE, FALSE, TRUE, FALSE, TRUE) | ||
x | x | ||
mode(x) | mode(x) | ||
− | |||
x <- list("R","12345",FALSE) | x <- list("R","12345",FALSE) | ||
Line 33: | Line 28: | ||
mode(x) | mode(x) | ||
+ | ==typeof== | ||
+ | |||
+ | typeof() | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
* [[R]] | * [[R]] |
Latest revision as of 07:14, 5 November 2018
mode
x <- 2 x x ^ x x ^ 2 mode(x)
x <- c(1:10) x x ^ x mode(x)
dim(x) <- c(2,5) x mode(x)
x <- c("Hello","world","!") x mode(x)
x <- c(TRUE, TRUE, FALSE, FALSE, TRUE, FALSE, TRUE) x mode(x)
x <- list("R","12345",FALSE) x mode(x)
typeof
typeof()