| LinL | R Documentation |
LinL(x = x = c(1,2,5,7,6),y = c(3,5,6,4,6))
x |
One line of the data (a column of variable) |
y |
One line of the data (a column of variable) |
LinL(x = x = c(1,2,5,7,6),y = c(3,5,6,4,6))
## The function is currently defined as
function(x,y){
if(length(x) ==length(y)){
sum(sqrt( (diff(x))^2 + (diff(y))^2))
}else{
message('length(x)!=length(y)')
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.