similar to: Graphics: somethink like autoscale

Displaying 20 results from an estimated 300 matches similar to: "Graphics: somethink like autoscale"

2000 Apr 20
4
random number 0-1
Hello, i'm looking for the procedure to generate a random number between 0-1. Try rnorm() but can't get to do generate between 0-1 thanks(i'm sur it's easy) -- Nicolas Baurin Doctorant Institut de Chimie Organique et Analytique, UPRES-A 6005 Universit? d'Orl?ans, BP 6759 45067 ORLEANS Cedex 2, France Tel: (33+) 2 38 49 45 77
2000 May 03
3
:?alternative to loop
Hello to all R people, for the application of a function to each column of a matrix (ex: function sum()), i'd like to know if there is a simpler (and faster) alternative to a loop like : for (i in 1: ncol(m)){sum(m[i])} Thanks in advance, Cordialement, -- Nicolas Baurin Doctorant Institut de Chimie Organique et Analytique, UPRES-A 6005 Universit? d'Orl?ans, BP 6759 45067 ORLEANS Cedex
2000 Oct 24
1
dataset for classification ?
Hello to the R community, which dataset(s) available in R is suitable to test the quality of a classification tool ? Thansk in advance, -- Nicolas Baurin Doctorant Institut de Chimie Organique et Analytique, UPRES-A 6005 http://www.univ-orleans.fr/SCIENCES/ICOA/ Universit? d'Orl?ans, BP 6759 45067 ORLEANS Cedex 2, France Tel: (33+) 2 38 49 45 77
2000 Sep 11
0
SAMPLS R implementation : pbm with algorithm application
Hello R people, i'm trying to implement the Partial Least Squares algorithm called SAMPLS from "J.Comp-Aided Molecular Design", 7 (1993), 587-619. It's faster than the classical PLS algorithm for fat matrix (m>>n). Here's the algorithm from the article of Bush B. L. and Nachbar R.B.: X is the matrix of explanatories proprieties (m*n) , y the matrix of responses, h
2000 Dec 05
0
calculation of inertial difference with huygens theorem in ward clustering ?
Hello to the R people, within ward clustering the distance calculated to decide the clustering of 2 subsets (h1 and h2) is the variation of inertia : d(h1,h2)=I(h1Uh2)-I(h1)-I(h2); i've been said that a way to calculate faster this d(h1,h2) is using the huygens theorem decomposing the inertia into "the inertia to the centroid + the distance to an axe" (that's my version ...). My
2000 Nov 16
0
RNN Algorithm for Ward Clustering ?
Hi R people, i'm looking for the Reciprocal Nearest Neighbour algorithm applied to Ward clustering; I know that it is explained in details in the following book: Downs, G. M.; Willett, P. In Advanced Computer-Assisted Techniques in Drug Discovery; van de Waterbeemd, H., Ed.; VCH: Weinheim, 1994; Vol. 3. but cannot order copies it without knowing the pages involved; could someone
2000 Apr 20
1
installation pbm on irix 6.2 : make step
Hi everybody, i try to install the R 1.0.1 on a mips-sgi-irix6.2 system. The configure seems ok : it ends with - souce directory : . - installation dircetory : /usr/local - C compiler : cc -g - Fortran compiler : fort77 - Gnome support : no But when i enter : make it says: -syntax error in file ../tools/jeywords2html at line 9, next 2 tokens "my $key" -syntax error in file
2013 Feb 18
2
continuous shading in plots
Hi, Can someone help me with the following? I currently have the following plot: plot(c(0,14,0,14),c(0,5,0,5),ann = FALSE, xaxs="i", yaxs="i",bty="L" ) polygon(c(0,18,18), c(0,6,0), col='light grey', border = NA) polygon(c(0,18,18), c(0,2,0), col='grey', border = NA) However, I would like to make such a plot, but where there is a continuous shading
2011 Mar 15
1
Problem with nls.lm function of minpack.lm package.
Dear R useRs, I have a problem with nls.lm function of minpackl.lm package. I need to fit the Van Genuchten Model to a set of data of Theta and hydraulic conductivity with nls.lm function of minpack.lm package. For the first fit, the parameter estimates keep changing even after 1000 iterations (Th) and I have a following error message for fit of hydraulic conductivity (k); Reason for
2006 Apr 17
0
autoscall the y-axis
Dear R users I need to auto scale the left y axis in the code below, so that when I scroll left or right the left y-axis scale changes to accumulate the range of the displayed data with in the max hight of the y-axis. also how can I make the crosshair horizontal since it is only vertical in this code. this code with a kind help from "Gregory (Greg) L. Snow Ph.D." just
2017 Dec 20
2
outlining (highlighting) pixels in ggplot2
Using the small reproducible example below, I'd like to know if one can somehow use the matrix "sig" (defined below) to add a black outline (with lwd=2) to all pixels with a corresponding value of 1 in the matrix 'sig'? So for example, in the ggplot2 plot below, the pixel located at [1,3] would be outlined by a black square since the value at sig[1,3] == 1. This is my first
2013 May 21
2
problem with "transform" and "get" functions
Hello, I'm having a problem using the "transform" and "get" functions. I'm probably making a dumb mistake, and I need help! I start by making a small simulated dataset. I save the names of the variables in "var.names." Without getting into the details of it, I have to create a custom function to perform some statistics. As part of this, I need to sequentially
2017 Dec 20
0
outlining (highlighting) pixels in ggplot2
Hi Eric, you can use an annotate-layer, eg ind<-which(sig>0,arr.ind = T) ggplot(m1.melted, aes(x = Month, y = Site, fill = Concentration), autoscale = FALSE, zmin = -1 * zmax1, zmax = zmax1) + geom_tile() + coord_equal() + scale_fill_gradient2(low = "darkred", mid = "white", high = "darkblue",
2011 Sep 07
4
suggestion for proportions
Hi, I am wondering if anyone can suggest how to test the equality of 2 proportions. The caveat here is that the 2 proportions were calculated from the same number of samples using 2 different tests. So essentially we are comparing 2 accuracy rates from same, say 100, samples. I think this is like a paired test, but don't know if really we need to consider the "paired" nature of the
2008 Feb 20
2
factors ordered by mean
Hi, How to order the levels os factor not by alphabetic order but by mean of Y. Somethink like this: I have this alphabetic order: > levels(pH) [1] "alto" "baixo" "medio" the order by mean os yvar is: > sort(tapply(Riqueza,pH,mean)) baixo medio alto 11.56667 20.00000 26.80000 How to make the levels of pH ordered by this mean to the result to
2003 Aug 26
4
Viewing function source
I know I should probably RTFM for this question, but could someone tell me if R supports the idea of "viewing source" on any particular function you want to use? If I want to "view source" on the rpois() function, for example, can I do somethink like: source(rpois) To see how the function is implemented? Regards, Paul Meagher Datavore Productions 50 Wood Grove Drive
2017 Dec 20
1
outlining (highlighting) pixels in ggplot2
I apprecaite the guidance Eik, that works great! I'm also wondering if you have any pointers for how I might stretch the color scale so that the max and min values are the same? Right now, the min is -0.064 and the max is something closer to 0.04. As you can see in what I sent, I tried adding: zmax1 = max(abs(m1)) ggplot(..., autoscale = FALSE, zmin = -1 * zmax1, zmax = zmax1) + ... to
2003 Aug 22
1
Substitute in legend
I tried to use substitute in legend as follows: pval <- 0.04 plot(0) legend(1,0.5,substitute(hat(theta) == p, list(p = pval))) For some reason the legend is repeated 3 times. Any suggestions or is this a bug?
2006 Nov 14
5
opens source trouble ticket
Hi all, I am lookng for a truble ticket to install on my Cents os 4.4 server. RPM is always prefferd. Souce is also welcome. Have you done somethink like this before? What are the packages that you recomend for me. -- Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Feb 07
2
barplot: space makes beside=F (PR#7668)
Full_Name: Ondrej Medek Version: 2.0.1 OS: Linux/Debian Sarge Submission from: (NULL) (147.32.127.204) Hi, I had a R version 1.5.1 and I used a 'barplot' with 'beside=T' and 'space' has been vector of 8 numbers 'space=c(1,0.5,rep(c(0.5,-0.5),3))'. Then I upgraded to the R 2.0.1 and my graphs are broken. If I use any vector of more than 2 elements for