similar to: :?alternative to loop

Displaying 20 results from an estimated 300 matches similar to: ":?alternative to loop"

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 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 Apr 21
2
Graphics: somethink like autoscale
Hello to all of you, What i try to do : i got data of the type (x,y) which i plot with plot (x,y). i want to actualise that plot adding new points (x,y) (i did it with points(x,y)): how can i adjust the scale of the axis x and y to see all the points in the window. Ex: i start with plot (1,0.5). If i do points(0.8,0.5) no problem, all my points are visible on the graph. But if i do points(2,2),
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
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
2004 Aug 03
1
nlminb vs optim
Dear R-help group, I have to maximize a likelihood with 40 parameters and I want to compare the MLE given by "nlminb" (Splus2000, on Windows) with those given by "optim" (R, on Unix). 1) On Splus, The algorithm "nlminb" seems to converge (the parameters stabilize) , it stops after several iterations ( around 400) with the message :"FUNCTION EVALUATION LIMIT
2000 Nov 10
2
source browser updated
http://surf.chimie.uqam.ca/~kruus/vorbis/ now contain branch_beta3 and trunk subdirs that are updated daily (until branch_beta3 becomes historical next week, like the other snapshots at that URL). to web-browse the source code, go to http://surf.chimie.uqam.ca/~kruus/vorbis/lxr/http/source erik (back after audio-video sync miniproject. Yay!) --- >8 ---- List archives:
2009 Aug 18
1
ggplot2: geom_smooth and legend
Hi all, Is that possible to remove the grey colour in the legend key that goes with the geom_smooth? In my case it doesn't ease the reading of the legend. http://www.4shared.com/file/125864977/e10644f8/desorb.html Cordialement / Regards ------------------------------------------- Benoit Boulinguiez Ecole de Chimie de Rennes (ENSCR) Bureau 1.20 Equipe CIP UMR CNRS 6226 "Sciences
2010 Sep 10
3
ggplot bar geom: control the filling in the colour legend
Hi all, Is it possible to change the filling of the squares used to represent the colour legend in a bar plot with ggplot? in this example, fillings are raven black, I'd like them white. ggplot(diamonds, aes(clarity, colour = cut)) + geom_bar() Regards -- ------------- Benoit Boulinguiez Ph.D student Ecole de Chimie de Rennes (ENSCR) Bureau 1.20 Equipe CIP UMR CNRS 6226 "Sciences
2000 Nov 16
1
Documentation gripes
I have been a member of the mailing list for a couple months now. I have not contributed anything because it has been difficult to gain a toehold from which I could really understand the concepts used in Ogg Vorbis. I would like to help out, but it is hard to get an idea of the overall architecture with docs like http://www.xiph.org/ogg/vorbis/doc/vorbis.html , in which every link is dead.
2008 Sep 10
3
writing simple function through script
Hi all, I try to write a simple function in a script. The script is as follows yo<-function(Xdata) { n<-length(Xdata[,1]) Lgm<-nls(formula=LgmFormula, data=Xdata, start=list(a=1500,b=0.1),weights=Xdata$Qe) return(Lgm) } After the execution of the script, when I call the function yo on data called NC60.DATA I get an error. #yo(NC60.DATA) Erreur dans eval(expr, envir, enclos)
2009 Apr 28
1
text in graph with expression
Hi all, I'm using 'expression' in the axes labels in graphs to get the greek letters (ylab), as follows: plot( layer_1$U0 ,layer_1$dP/(H1.Theo) #,ylim=c(0,100) ,xlim=c(0,1.1) #,main="Pressure Drop", ,xlab=expression(U[0]~(Nm/s)) ,ylab=expression(Delta~P~(Pa/m)) ,col=2 ,pch=16 ,cex=1.5) I just need to know how to avoid the use of a space (~) between the greek
2000 Sep 09
1
floating point exceptions, and questions
#include <float.h> should define DBL_MIN and FLT_MIN, as well as DBL_MIN_EXP and FLT_MIN_EXP (such that 10eFLT_MIN_EXP is a valid float) This is a standard header file. But gcc now hides it away (mine was in /usr/lib/gcc-lib/i386-linux/<compiler-version>/include/ ) BTW - any corrections for my surf.chimie.uqam.ca/~kruus/vorbis/ stuff? Erik Kruus <kruus@on2.com> --- >8
2008 Sep 18
1
axis text size in scatter plot
Hi, Quite simple question I guess. Where could we specify the size of the text (axis,legend) for a scatter plot graphic made with plot()? Regards/Cordialement ------------- Benoit Boulinguiez Ph.D Ecole de Chimie de Rennes (ENSCR) Bureau 1.20 Equipe CIP UMR CNRS 6226 "Sciences Chimiques de Rennes" Campus de Beaulieu, 263 Avenue du Général Leclerc 35700 Rennes, France Tel 33 (0)2 23
2008 Sep 23
1
superscript text style in axis label in graph
Hi all, I'd like to use superscript or subscript in the axis label of a graph. Is that possible in R? For instance in xlab="Ce (mmol/m3)", I'd need the "3" of cubic meter in superscript. Regards/Cordialement ------------- Benoit Boulinguiez Ph.D Ecole de Chimie de Rennes (ENSCR) Bureau 1.20 Equipe CIP UMR CNRS 6226 "Sciences Chimiques de Rennes" Campus
2008 Sep 30
1
par() default values
Hi all, Is that possible to get back to the par() default values easily? I played a bit with par() Regards/Cordialement ------------- Benoit Boulinguiez Ph.D Ecole de Chimie de Rennes (ENSCR) Bureau 1.20 Equipe CIP UMR CNRS 6226 "Sciences Chimiques de Rennes" Campus de Beaulieu, 263 Avenue du Général Leclerc 35700 Rennes, France Tel 33 (0)2 23 23 80 83 Fax 33 (0)2 23 23 81 20
2008 Oct 30
1
continue a loop after an error with confint
Hi all, I've got a list (Reg3Lst) with 1000 nls regression results in it. I'd like to get the confidence interval of the parameters obtained with the nonlinear regressions. Thus I've used this: for (i in 1:1000) { foo<-list(foo,confint(Reg3Lst[[i]])) } For some regressions the confidence interval is not estimated because of a singular gradient result. Then it