Search notes:

R function: example

help usually shows an example of how to use the described function. With example, R can be instructed to run this example.
example(mean)
# mean> x <- c(0:10, 50)
# 
# mean> xm <- mean(x)
# 
# mean> c(xm, mean(x, trim = 0.10))
# [1] 8.75 5.50
Github repository about-r, path: /functions/example.R

See also

Getting help in R
Index to (some) R functions

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...', 1758194008, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/R/functions/example(50): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78