similar to: list indexing

Displaying 20 results from an estimated 3000 matches similar to: "list indexing"

2001 Nov 23
3
compiling R under hpux
Dear R user, I'm wondering if anyone was succesful in compiling R under hpux 10.20 I couldn't compile verion 1.2.1 or 1.3. I asked this question two weeks ago, but nobody replyed. Looks that not many people are using hpux machines. Thanks Frank Mattes Department of Virology Royal Free Hospital London -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
2002 Feb 20
3
Feature Request: "matrix[1:10,1:10, block=F] <- 1:10"
Hi Guys, I've again been surprised when something like > m <- matrix("", nrow=3,ncol=3) > index_i <- c(2,1,3) > index_j <- c(1,3,2) > vals <- c("a","b","c") > m[ index_i, index_j ] <- vals > m gives block-wise application of the assignment: [,1] [,2] [,3] [1,] "b" "b" "b" [2,]
2008 Oct 27
1
Problem with script
Hello :-) I am trying to run the next script, it generates "random areas" inside a map of the american continent, and then plot it, it?s suppose that every frame gives you the evolution of the program but at some point it stops with the weirdest of the errors I?ve ever seen in R, I don?t even have a line like that :-| Error in if (random_matrix[x_list[random_sq] - 1,
2001 Mar 30
1
SVM support vector machine
Hi all, sorry for my previuos question that was incomplete... i would like to test the SVM (support vector machine) algorithm? is somebody know if there are available program for R or S? thanks... -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Olivier MARTIN phone: (33) 04 76 61 53 55 Projet IS2 06 08 67 93 42 INRIA Rhone-Alpes
2002 Apr 12
1
correlated binary random numbers
Dear all, does any of you know a source for R code for the generation of correlated binary random numbers? Thanks a lot Peter Schlattmann -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not
2002 Aug 10
1
How to concatenate a variable and assign value
for(i in c(1,50,100,250)){ Then I want to create a variable called: graph++i <- histogram... } Any ideas? With hist it is easy to create multiple graphs on a page but with the trellis histogram, I am finding it a bit more awkward. It seems that I have to use print(graph1, split=c(1,1,1,2), more=T) to achieve the desired result. Does anyone have code they are willing to share which
2002 Dec 06
2
R 1.6.1 segmentation fault
Hi, We have been running R ver 1.4.1 on a redhat linux (7.1)cluster without problem for quit some time. Now, some user wanted me to install version 1.6.1, and it compiled fine, but it crashes with "segmentation fault" when you run it. I used gcc296 (default) for compiling, Should I change compiler or is there some other thing I could do to avoid this problem. Regards Per-Anders
2001 Apr 21
2
display URL in browser
Does anyone know whether one can ``remotely'' make konqueror display a URL a la netscape -remote 'openURL(url)', and how this can be done? Thanks -k -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the
2003 Jan 31
1
svm regression in R
Hallo, I have a question concerning SVM regression in R. I intend to use SVMs for feature selection (and knowledge discovery). For this purpose I will need to extract the weights that are associated with my features. I understand from a previous thread on SVM classification, that predictive models can be derived from SVs, coefficiants and rhos, but it is unclear for me how to transfer this
2003 Feb 06
1
svm
Hello list, I want to apply svm from library e1071, and I want to supply class weights. I do not really understand the help entry (and there is no example) class.weights: a named vector of weights for the different classes, used for asymetric class sizes. Not all factor levels have to be supplied (default weight: 1). All components have to be named. I have two
2003 Apr 03
1
SVM module: scaling data applied to new test set without using SVM again
Hello! We are new in using R. We use the SVM module from the library ''e1071'' for training. Problem formulation: a classification has been performed using SVM module (linear kernel). Later, a new data set (test set) comparable to the training data shall be scaled in the same way as the training set (using the same scaling parameter set, but without using the SVM again
2003 Mar 29
1
Goodness of fit tests
I have a dataset which I want to model using a Poisson distribution, with a given parameter. I would like to know what is the proper way to do a ''goodness of fit'' test using R. I know the steps I''d take if I were to do it ''manually'': grouping the numbers into classes, calculating the expected frequencies using ''ppois'', then
2001 Nov 22
2
Using rsync from Windows
I've just installed the Cygwin version of rsync, with an aim of syncing to the development version, as recommended on <http://cran.r-project.org/sources.html>. Could someone give an example of the syntax to invoke it? From the man page, I expected rsync rsync.rproject.org:: to give me a file listing, but I get: unknown host: rsync.rproject.org Other network utilities (e.g. ssh)
2002 Apr 19
2
merge
Dear R-users, I'm trying to merge 2 data.frames that have different number of rows, with a common column. Is this possible? Here a simple exemple, with the error that I get: a <- 1:20 b <- 21:40 ab <- data.frame(a, b) a <- 1:40 c <- 41:80 ac <- data.frame(a, c) rm(a, b, c) zz <- merge(ab, ac, by.x=ab$a, by.y=ac$a) Error in fix.by(by.x, x) : `by' must match numbers of
2002 Jan 24
1
RE:
Hello, Although your message is not very explicit about the structure of your data frame, I think you can get what you want by using a combination of the function "split" and the "apply" functions family: apply, lapply and sapply. If you provide a more detailed organization of your data frame, perhaps we can give to you a more wiser advice. Thanks, Carlos. P.S: By the way,
2001 Nov 20
2
segfault using svm from e1071 (PR#1178)
This could be a bug in the e1071 svm code, but maybe not -- I guess I'll send it here anyway. It's reproducible. > x <- seq (0.1,5,by=0.05) > y <- log(x) + rnorm (x, sd=0.2) > library(e1071) > m <- svm (x,y) Process R segmentation fault at Tue Nov 20 23:34:19 2001 > version _ platform i686-pc-linux-gnu arch i686 os
2003 Mar 08
3
where is kurtosis??
Dear friends, I try to get started with R and can’t estimate kurtosis of a random sample by using one command. I have installed R 1.6.2. Please help. Max --------------------------------- ur needs [[alternate HTML version deleted]]
2002 Feb 05
2
Measures of agreement
Greetings. I've been experimenting with some algorithms for document classification (specifically, a Naive Bayes classifier and a kNN classifier) and I would now like to calculate some inter-rater reliability scores. I have the data in a PostgreSQL database, such that for each document, each measure (there are 9) has three variables: ap_(measure), nb_(measure), and knn_(measure). ap is me
2002 Aug 02
2
More spec notes
A few more notes on the specs -- I just spent a few minutes and did up floor 1 header decode. Short and sweet, but still important. Monty, please read these and my several earliers -- I'm trying to improve and validate the spec for your codec, and though I understand you were taking a break before, a reply would be appreciated. Note (again, if you read my other emails) that if you help me get
2003 Apr 16
2
import data from Matlab & error msg when install package "e1071"
Hello, I am trying to import data from Matlab.. when i looked up R documentation, it says, package "e1071" have command (read.octave) to import data from octave. but when I tried to install package by using: install.packages("e1071"); I got the following message: ( BTW, my platform is linux version 2.4.18-3 my gcc is 2.96). * Installing *source* package 'e1071' ...