search for: newmin

Displaying 2 results from an estimated 2 matches for "newmin".

Did you mean: newman
2001 Aug 30
1
imagenrgb: Function to display RGB images in R
...cols <-as.numeric(reclas(cols,cols.unicos,1:length(cols.unicos)),drop=F) dim(cols) <- c(m,n) #4.Display or save if(ver) imagen(cols,col=cols.unicos) else list(ima=cols,cols=cols.unicos) } Functions called: > rescale function(vector, oldmin = min(vector), oldmax = max(vector), newmin = 0, newmax = 255) { rango <- oldmax - oldmin dimen <- dim(vector) vector <- (vector - oldmin)/rango vector <- newmin + (newmax - newmin) * vector vector[vector<newmin]<- 0 vector[vector>newmax]<- newmax dim(vec...
2003 Aug 13
1
stars graphs
Hi listers, A few days ago I posted a question about the use of the stars function on selected lines of a frame. Thanks to two helpers, a closer look at the scale argument allowed to partially solve the problem. Yet I still have a problem with stars. Allow me to explain what I intend to do (sorry for my poor English and the long post): I want to graph an activity index of a fish during the day