Christian Langkamp wrote:
Hi
I am trying to define an automatic breaks function for a histogram.
Inputs are a vector x and a number n. What I would like is to define the
outcome as breaks_(Name of Vector) - but the paste("breaks_",x) obviously
refers to the whole vector.
breaks<- function(x
Hi
I am trying to define an automatic breaks function for a histogram.
Inputs are a vector x and a number n. What I would like is to define the
outcome as breaks_(Name of Vector) - but the paste("breaks_",x) obviously
refers to the whole vector.
breaks<- function(x, n)
{
R<-range(x, na.rm=T)
di
2 matches
Mail list logo