powered by
Returns TRUE if the argument p is a numeric point of dimension dim (default is dim=2); otherwise returns FALSE.
TRUE
p
numeric
dim
dim=2
FALSE
is.point(p, dim = 2)
TRUE if p is a vector of dimension dim.
vector
A vector to be checked to see it is a point of dimension dim or not.
A positive integer representing the dimension of the argument p.
Elvan Ceyhan
dimension
# \donttest{ A<-c(-1.22,-2.33); B<-c(2.55,3.75,4) is.point(A) is.point(A,1) is.point(B) is.point(B,3) # }
Run the code above in your browser using DataLab