ID EN
I/O & Files

print.data.frame

R Base 3.6.2 🇮🇩 Bahasa Indonesia

Cetak bingkai data.

Syntax

R
# S3 method for data.frame
print(x, …, digits = NULL,
      quote = FALSE, right = TRUE, row.names = TRUE, max = NULL)

Arguments

Parameter Deskripsi
x object of class data.frame.
… optional arguments to print or plot methods.
digits the minimum number of significant digits to be used: see print.default.
quote logical, indicating whether or not entries should be printed with surrounding quotes.
right logical, indicating whether or not strings should be right-aligned. The default is right-alignment.
row.names logical (or character vector), indicating whether (or what) row names should be printed.
max numeric or NULL, specifying the maximal number of entries to be printed. By default, when NULL, getOption("max.print") used.

Details

Ini memanggil format yang memformat bingkai data kolom demi kolom, kemudian mengkonversi ke matriks karakter dan mengirimkan ke metode cetak untuk matriks. Ketika kutipan = TRUE hanya entri yang dikutip, bukan nama baris atau nama kolom.

Contoh

Example
R
# NOT RUN {
(dd <- data.frame(x = 1:8, f = gl(2,4), ch = I(letters[1:8])))
     # print() with defaults
print(dd, quote = TRUE, row.names = FALSE)
     # suppresses row.names and quotes all entries
# }

See Also

data.frame.