Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Condição de alinhamento entre três pontos
# bs # Condição de alinhamento de três pontos. align <- function(x1,y1,x2,y2,x3,y3){ p1 <- c(x1,y1,1) p2 <- c(x2,y2,1) p3 <- c(x3,y3,1) M <- rbind(p1,p2,p3) if(det(M) == 0){ cat("Pontos alinhados") }else{ cat("Pontos não alinhados") } plot(1, type='n', xlim=c(min(x1,x2,x3) - 2, max(x1,x2,x3) + 2), ylim=c(min(y1,y2,y3) - 2, max(y1,y2,y3) + 2)) points(x1,y1,col='red', pch = 19) points(x2,y2,col='red', pch = 19) points(x3,y3,col='red', pch = 19) } align(1,1,2,2,3,3) cat('\n ') align(1,2,2,6,3,-1) cat('\n ') align(19,2,7,-3,4,6) cat('\n ')
run
|
edit
|
history
|
help
0
Ludy Thenor Research Methods I- Final Part 2
Warhammer 40k
Predict function in R
Camelcase
3.4.0 / 3.5.2 / 3.5.1 / 3.6.1 / 3.6.5.#
Chapter 5: Sample from N(0,1)
Variance and Standard Deviation
Binary search tree
Dendrogramm_Clusteranalyse_Länderflächen_euclid_average
Get a variable name in string format