similar to: generic algorithm

Displaying 20 results from an estimated 900 matches similar to: "generic algorithm"

2004 Apr 06
4
missing values for mda package
Dear helpers, I am trying to use the mda package downloaded from the R website, but the data set has missing values so I got an error message. Should I manually handle these missing values? I was trying to read the documents to specify any option related to missing values, but I did not find it. Please forgive me if I ignore something obvious. Thanks, Zhu Wang Statistical Science Department
2003 Apr 28
4
plot(pam.object) error with R-1.7.0 on Red-Hat 8.0 i686
I don't know if there is some fault in compiling or a bug of the new R-1.7.0 version: cl.pam.2 <- pam(as.dist(1-cor(mel.data)),2) plot(cl.pam.2) perform a right partitioning and silhouette plot on the old R-1.6.2 instead "Error in clusplot.default(x$diss,...... ; x is not numeric" is the output on the new R-1.7.0. Same platform: RH8.0 i686. Some suggestions? A.S.
2004 May 31
1
Question about building library and BLAS
Dear helpers, I am trying to create a library which uses some Fortran source files and Lapack and Blas subroutines. The Fortran source files from the original author contain subroutines isamax.f, sgefa.f and sgesl.f, which are part of BLAS subroutines on my Linux computer, but maybe different (old) versions. So in addition to these subroutines, there are other Lapack and Blas subroutines
2004 Nov 02
4
Loadhistory problems
History files saved using nFile Save History do not open when using File Load History. I notice that when they are saved they do not seem to have a file extension and there is no option to chose an extension. Is this a problem. Other than this it seems so simple that I can't see what the problem is. I've tried using loadhistory and savehistory with the same problems. The syntax guide
2004 Nov 11
5
expressions and paste
I have written a function to plot data which will be used for various different chemistries. A simplified version is: plot_data <- function(risk,levels,chem,sd2,measure){ plot(risk, levels,main=paste ("per", sd2, measure, "\n in usual", chem)) } The problem is with the title. This works fine if the variable "chem" is just text, but if it is an expression then
2004 Feb 17
4
normality test
Hello, I am analysing several samples whose sizes are from 9 to 110. I would like to test their distribution with R, whether they are normal or not. I wonder which test for normality from R should I use . Thank you for help. Samuel Samuel BERTRAND Doctorant Laboratoire de Biomecanique LBM - ENSAM - CNRS UMR 8005 151, bd de l'Hopital 75013 PARIS Tel. +33 (0) 1 44 24 64 53 Fax +33 (0) 1
2004 Apr 02
1
which on array
Good morning ! Today I found a strange, for my poor knowledge of R, behaviour of 'which' on a matrix: HAL9000> str(cluster.matrix) num [1:227, 1:6300] 2 2 2 2 2 2 2 2 2 2 ... HAL9000> class(cluster.matrix) [1] "matrix" HAL9000> ase <- cluster.matrix[1:5,1:5] HAL9000> ase [,1] [,2] [,3] [,4] [,5] [1,] 2 2 2 0 -2 [2,] 2 2 2 0 -2 [3,]
2003 Sep 24
1
Graph window is not available any more
Hi all, I have currently been using the book Modern Applied Statistics with S from Venables and Ripley. At chapter 6 on Linear Statistical models I wanted to produce the plot as shown by "Figure 6.1" using Whiteside's data. xyplot command seems not to work on my version of "R"(version 1.7.0) running on different environments (Win XP, Win 98 and Win 2000). I then used the
2003 Oct 14
3
Number Format
Hi A very simple question on number formats. After some calculations, some variables I have come out looking like this: -1.892972e+00 Now apart from the fact that the "e+00" is completely redundant, I would rather have the number represented without the e bit. I want to export data like this to a text file and would rather have: -1.892972 than -1.892972e+00 I have tried
2003 Nov 17
2
Rweb: how to use source()
I cannot discover how to set or find the working directory in Rweb, so that I can source() a file from the server. The file I source() must refer to a data file in its directory. setwd() does not do anything, and getwd() says that the working directory is in /var/www/cgi-bin/ (on Linux). (I have a student who installed R on her own computer and analyzed half of her data, and then her computer
2004 Jan 09
1
pb with install
dear all, I try to update my Rversion fro 1.7.1 to 1.8.1 on linux. I have a problem when I try to install pacakges from Bioconductors with : source("http://www.bioconductor.org/getBioC.R") and getBioC(relLevel="release") somme errors append and when I make a library(affy) for example I obtain : > library(affy) Error in setIs("character",
2004 Mar 09
2
read.table() question
Hi, In the following code, I got an error meesage if an input file is empty, and the program stopped running. Could someone to tell me how to handle this problem. I want the program to keep running. Thanks. for i in [1:3] { file=paste("file", i, ".dat") x <- read.data(file) x(11) plot(x); dev.off() }
2004 Aug 04
2
which package for spatial autocorr.
hello which package do you recommend for spatial autocorrelation ? regards Ahmet Temiz ______________________________________ Inflex - installed on mailserver for domain @deprem.gov.tr Queries to: postmaster at deprem.gov.tr ______________________________________ The views and opinions expressed in this e-mail message are ...{{dropped}}
2004 Aug 16
2
place 4 ini files
Dear expeRts, I collect some lab specific functions for a package. Some of this functions need initial data (ini files written in R-code). My question is: Where is the place in the package structure for such files; how to load the files? I think something like: source(paste(R.home(),"/library/__pkg__/data/__.ini.R", sep="")) looks a bit clumsy. I haven't find something
2004 Nov 08
3
small world models?
Hi, I've searched the archives for a discussion on the use of R for developing "small world" or "scale-free" network models but have been unable to dig anything up. Is anyone working on these types of models using R, and if so, have you found this language amenable to their development? thanks, matt farnsworth
2003 Aug 13
3
Books for R
As a newbie to R, I need to learn my way around (no previous experience of S).What books, doc for R are recommended? I'm interested primarly in non linear regression and process modelling (and have downloaded the R documentation from the site). Thanks for all tips Anne
2003 Nov 17
3
S Programming
Dear all, I am thinking of writing my own functions in s-plus (or in R). I just know how to work with S-plus / R built-in functions. Therefore, I'm a beginner in S programming. I am looking for some on-line documentation that is well written about "Programming in S language" where control stuctures / loops / vectorization and necessery sequences of S programming are
2004 Apr 28
2
Problem in Installing Package from CRAN...
Hi, I have installed R 1.9.0 under Windows XP. When I used "Packages->Install Package(s) from CRAN..." to install the package 'gregmisc', I got this message: > local({a <- CRAN.packages() + install.packages(select.list(a[,1],,TRUE), .libPaths()[1], available=a)}) trying URL `http://cran.r-project.org/bin/windows/contrib/1.9/PACKAGES' Content type `text/plain;
2003 Nov 18
2
Problems installing lattice
Dear all, I am not able to install the lattice package. After finishing the installation, I got the following error massage: -------------------snip--------------------------- Delete downloaded files (y/N)? y Warning message: argument `lib' is missing: using /usr/local/lib/R/site-library in: install.packages("lattice") > library(lattice) Error in loadNamespace(i, c(lib.loc,
2004 Jun 09
2
Building package on Windows: No rule to make target '-llapack'
Dear all, I have a problem to build a package on Windows XP while there is no problem on Linux. The Makefile is something like: ########### LIBNAME=cts PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) OBJS=file1.o ... file20.o -llapack -lblas $(LIBNAME)$(SHLIB_EXT): $(OBJS) $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) $(FLIBS) clean: @rm -f *.o *.$(SHLIB_EXT) realclean: clean