Search notes:

R function: str

str does not stand for string, it stands for structure: str(…) displays the internal structure of a given R object.
#
#  str stands for structure
#
#  s.a. -> structure(), 
#       ../examples/having_a_look_at_data.R
#


d <- data.frame (
  foo = c(   1 ,    2 ,      3 ),
  bar = c('one', 'two', 'three')
)

str(d)
# 'data.frame':   3 obs. of  2 variables:
#  $ foo: num  1 2 3
#  $ bar: Factor w/ 3 levels "one","three",..: 1 3 2
Github repository about-r, path: /functions/str.R

See also

attributes, R object attribute
Index to (some) R functions
Exploring R objects

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1745461698, '3.15.204.106', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/R/functions/str(63): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78