Search notes:

R function: lines

x11()

set.seed(280870)

x <- 0:10
y <- x*3 - 12 + rnorm(length(x), 0, 3)

plot (x, y, col=4)
lines(x, y, col=2)

# wait for mouse click or enter pressed
z <- locator(1)
Github repository about-r, path: /functions/lines.R

See also

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