FAQ

Search Discussions

537 discussions - 1,821 posts

  • Hello I have a table describing butterfly range traits. It is composed of three columns as below Species name range size (X) latitude of range midpoint (Y) There are 11 kinds of butterflies. Each has ...
    Elaine KuoElaine Kuo
    Dec 16, 2012 at 4:15 am
    Dec 18, 2012 at 3:17 pm
  • How? This is a script I am running under ess on Emacs (Useful information optuion(error=recover) cheers Worik
    Worik RWorik R
    Dec 1, 2012 at 12:15 am
    Dec 6, 2012 at 2:53 pm
  • Hi, Consider the small dataset below, I want to subset by two variables in one line but it wont work...it works though if I subset separately. I have to be missing something obvious that I did not ...
    Felipe CarrilloFelipe Carrillo
    Dec 2, 2012 at 5:21 pm
    Dec 2, 2012 at 11:03 pm
  • Dear my R friends, I want to get a number from a list using paste function. In my example, lambda.rule <- "lambda.1se" cvtest is a list (result from cv.glmnet) and cvtest$lambda.1se [1] 1.308973 I ...
    Soyeon KimSoyeon Kim
    Dec 18, 2012 at 5:34 pm
    Dec 28, 2012 at 5:46 am
  • I have written a program to solve a particular logistic regression problem using IRLS. In one step, I need to integrate something out of the linear predictor. The way I'm doing it now is within a ...
    Doran, HaroldDoran, Harold
    Dec 6, 2012 at 6:10 pm
    Dec 7, 2012 at 7:31 pm
  • Hello all, I need a help. I am modeling a disease and a create a R function like that: Lambda<-function (x,date1,r,h,a){ ndate1 <- as.Date(date1, "%d/%m/%Y") t1 <- as.numeric(ndate1) x[order(x$i),] t ...
    AnoumouAnoumou
    Dec 4, 2012 at 2:01 pm
    Aug 29, 2013 at 3:32 pm
  • When I import the library timeSeries I get (at least) the variable USDCHF imported too. I would like to delete it, but I cannot. As you can see below. Clearly I am doing something wrong. What is it? ...
    Worik RWorik R
    Dec 10, 2012 at 9:40 pm
    Dec 23, 2012 at 3:10 pm
  • Hello all, Let say I have 2-way contingency table: Tab <- matrix(c(8, 10, 12, 6), nr = 2) and the Chi-squared test could not reject the independence: Pearson's Chi-squared test with Yates' continuity ...
    Christofer BogasoChristofer Bogaso
    Dec 1, 2012 at 12:25 pm
    Dec 2, 2012 at 3:47 pm
  • Hi List, I have spent more than 30 minutes, but failed to read in this file using the read.table() function. I could not figure out how to fix the following error. Error in scan(file, what, nmax, ...
    Muhuri, Pradip (SAMHSA/CBHSQ)Muhuri, Pradip (SAMHSA/CBHSQ)
    Dec 8, 2012 at 7:10 pm
    Dec 9, 2012 at 3:20 am
  • Hi, Let say I have a date variable: [1] "2012-01-03" Now, I want to express this date like 3/1/2012. can somebody help me how to achieve that? Thanks,
    Ron MichaelRon Michael
    Dec 26, 2012 at 6:31 pm
    Dec 29, 2012 at 7:53 pm
  • Hi, I have been using Matlab to produce midi files for sonfication and algorithmic composition projects. I would like to transfer that work into R (in which I am a total newbie) and have been looking ...
    Greg HooperGreg Hooper
    Dec 26, 2012 at 9:04 pm
    Dec 27, 2012 at 8:48 pm
  • Hey, I have an double loop like this: chunk <- list(1:10, 11:20, 21:30) for(k in 1:length(chunk)){ print(chunk[k]) DummyCatcher <- NULL for(i in chunk[k]){ print("i load something") dummy <- 1 ...
    Peter MeissnerPeter Meissner
    Dec 20, 2012 at 11:26 pm
    Dec 21, 2012 at 8:23 pm
  • Following problem: Say you have a bunch of parameters and want to produce results for all combinations of those: height<-c("high","low") width<-c("slim","wide") then what i used to do was something ...
    Jessica StreicherJessica Streicher
    Dec 20, 2012 at 12:46 pm
    Dec 21, 2012 at 12:44 pm
  • Hi all. This is my first message at R-help...so I'm hoping I have some beginner's luck and get some good help for my problem! FYI I have just started using R recently so my knowledge of R is pretty ...
    Surekha nagabhushanSurekha nagabhushan
    Dec 11, 2012 at 7:01 am
    Dec 13, 2012 at 11:31 am
  • Dear all, I need to access data from a large matrix (48000 x 48000) and to do it I am trying to run two loops using "for" command. Surely it is been a very slow job. I heard that "for" is not the ...
    Charles Novaes de SantanaCharles Novaes de Santana
    Dec 4, 2012 at 6:47 pm
    Dec 6, 2012 at 3:52 pm
  • I have a reshaped data frame with value column headings concatenated from two column headings in the melted data frame. I want to change all 56 headings in a single command, but 'names' allows me to ...
    Rich ShepardRich Shepard
    Dec 5, 2012 at 6:51 pm
    Dec 5, 2012 at 10:02 pm
  • Um texto embutido e sem conjunto de caracteres especificado foi limpo... Nome: n?o dispon?vel Url: <https://stat.ethz.ch/pipermail/r-help/attachments/20121204/79784573/attachment.pl
    Antonio SilvaAntonio Silva
    Dec 4, 2012 at 9:26 am
    Dec 5, 2012 at 2:00 am
  • I'm trying to use Rprof() to identify bottlenecks and speed up a particullary slow section of code which reads in a portion of a tif file and compares each of the values to values of predictors used ...
    Marian TalbertMarian Talbert
    Dec 11, 2012 at 11:05 pm
    Feb 4, 2013 at 8:26 pm
  • dear R family,i have a matrix of 444 columns. what i want to do is the following. 1. starting from column 1 i want to select every 37th column on the way. more precisely i want to select column 1, ...
    Eliza bottoEliza botto
    Dec 25, 2012 at 5:03 am
    Dec 25, 2012 at 4:56 pm
  • [text file is also attached in case you find the format of email difficult to understand] Dear useRs,You must all the planning for the christmas, but i am stucked in my office on the following issue ...
    Eliza bottoEliza botto
    Dec 24, 2012 at 12:17 am
    Dec 24, 2012 at 3:10 am
  • Hello, How can I convert Close colume of the below xts time series data into a list of Close values ? I'd like to plot Close values as a list. head(zc) Close (10/15/12 09:00:00) 252.40 (10/15/12 ...
    박상규박상규
    Dec 19, 2012 at 7:45 am
    Dec 19, 2012 at 6:55 pm
  • Hello again, let say we have following data: Dat1 <- structure(list(factor.sample.LETTERS.1.3...6..replace...T.. = structure(c(1L, 3L, 2L, 1L, 3L, 3L), .Label = c("A", "B", "C"), class = "factor"), ...
    Christofer BogasoChristofer Bogaso
    Dec 18, 2012 at 2:36 pm
    Dec 19, 2012 at 2:32 pm
  • Hey R users, suppose we have data: [1] 2010.12.26 00:00:52 688,88 11,69 43,00 [2] 11,69 43,00 [3] 11,69 43,00 [4] 11,69 43,00 [5] 11,69 43,00 [6] 11,69 43,00 [7] 11,69 43,00 [8] 11,69 43,00 [9] 11,69 ...
    Simonas KecoriusSimonas Kecorius
    Dec 17, 2012 at 12:04 pm
    Dec 17, 2012 at 10:06 pm
  • �Hi, What's the equivalent of "Save to File" from the R console File menu on an R routine? Just trying to capture the whole R console into a text file when my code fails. Felipe D. Carrillo ...
    Felipe CarrilloFelipe Carrillo
    Dec 17, 2012 at 1:30 am
    Dec 17, 2012 at 4:40 pm
  • How do I sum portions of a vector into another vector? E.g., for --8<---------------cut here---------------start------------- 8--- --8<---------------cut here---------------end--------------- 8--- I ...
    Sam SteingoldSam Steingold
    Dec 10, 2012 at 7:29 pm
    Dec 10, 2012 at 10:20 pm
  • Hello, I'm trying to create a custom function that "mean-centers" data and can be applied across many columns. Here is an example dataset, which is similar to my dataset ...
    Ray DiGiacomo, Jr.Ray DiGiacomo, Jr.
    Dec 8, 2012 at 11:00 pm
    Dec 9, 2012 at 5:55 pm
  • Dear list, I was curious how to subtract a vector from matrix? Say, I have mat <- matrix(1:40, nrow=20, ncol=2) x <-c(1,2) I want, x-mat[1,] and x-mat[2,], and so on... Basically, subtract column ...
    C WC W
    Dec 5, 2012 at 6:30 pm
    Dec 5, 2012 at 10:16 pm
  • Hi group, I imported 16 data frames using the function "list.files" temp <- list.files(path="...........") myfiles = lapply(temp, read.table,sep = "") Now I have 16 data set imported in R window. I ...
    Gyanendra PokharelGyanendra Pokharel
    Dec 5, 2012 at 2:37 am
    Dec 5, 2012 at 7:20 pm
  • Dear all, How can I read .xlsx files in R Regards Nico
    Nico MetNico Met
    Dec 3, 2012 at 12:59 pm
    Dec 4, 2012 at 7:05 am
  • Hallo, I'm facing a problem and I would really appreciate your support. I have to translate some Matalb code in R that I don't know very well but I would like to. I have to interpolate 5 point with a ...
    Steve StephensonSteve Stephenson
    Dec 1, 2012 at 12:09 pm
    Dec 3, 2012 at 3:24 pm
  • Dear R Helpers, I'm struggling with a data preparation problem. I feel that it is a quite easy task but I don't get it done. I hope you can help me with that. I have a data frame looking like this ...
    Carlos NasherCarlos Nasher
    Dec 18, 2012 at 2:09 pm
    Dec 18, 2012 at 10:36 pm
  • Dear all, let say I have following list: Dat <- vector("list", length = 26) names(Dat) <- LETTERS My_Function <- function(x) return(rnorm(5)) Dat1 <- lapply(Dat, My_Function) However I want to apply ...
    Christofer BogasoChristofer Bogaso
    Dec 14, 2012 at 6:58 pm
    Dec 17, 2012 at 4:20 pm
  • Hi List, My goal is to force R not to print in scientific notation in the sixth column (rel_diff - for the p-value) of my data frame (not a matrix). I have used the format.pval () and printCoefmat () ...
    Muhuri, Pradip (SAMHSA/CBHSQ)Muhuri, Pradip (SAMHSA/CBHSQ)
    Dec 14, 2012 at 7:48 pm
    Dec 15, 2012 at 6:19 pm
  • Hello List, I am aware that one can set with recursion depth 'options(expressions = #)', but it has 500K limit. Why do we have a 500K limit on this? While some algorithms are only "solvable" ...
    Suzen, MehmetSuzen, Mehmet
    Dec 13, 2012 at 3:45 pm
    Dec 14, 2012 at 7:48 pm
  • All - I have a column of SiteNames: SiteName OYS-PIA2-FL-1 OYS-PIA2-LA-1 OYS-PI-LA-BB-1 OYS-PIA2-LA-10 ... [truncated] and I want to include only the last few digits into a new column. I tried ...
    Steven RanneySteven Ranney
    Dec 11, 2012 at 5:46 pm
    Dec 12, 2012 at 1:55 pm
  • Dear expeRts, I have two matrices A and B. They have the same number of columns but possibly different number of rows. I would like to compare each row of A with each row of B and check whether all ...
    Marius HofertMarius Hofert
    Dec 8, 2012 at 11:28 am
    Dec 10, 2012 at 11:17 pm
  • How do I convert a list to a matrix? --8<---------------cut here---------------start------------- 8--- list(c(50000, 101), c(1e+05, 46), c(150000, 31), c(2e+05, 17), c(250000, 19), c(3e+05, 11), ...
    Sam SteingoldSam Steingold
    Dec 4, 2012 at 8:09 pm
    Dec 5, 2012 at 8:32 am
  • Dear R-users, When i try - Data1<-read.table("/Users/kama/Analysis/GDP10.csv",header=TRUE,sep=";") i am getting this error: Warning message: In scan(file, what, nmax, sep, dec, quote, skip, nlines, ...
    F86F86
    Dec 2, 2012 at 7:19 pm
    Dec 3, 2012 at 1:16 pm
  • Hi,R 2.15.2 plm() function on Windows 7 when i perform a plm regression, i can't manage to obtain the intercept, but I need it.it gives me just the beta coefficient. my formula: fixed <- plm(deltaS ~ ...
    Matteo ognibeneMatteo ognibene
    Dec 29, 2012 at 1:47 pm
    Jan 5, 2013 at 9:10 am
  • Hello, I have been wondering of an efficient way to do this: I have an n x m x p array Z and a p x n matrix Y. I want to multiply each of the n matrices with the corresponding column vector of Y. In ...
    Ranjan MaitraRanjan Maitra
    Dec 28, 2012 at 5:33 am
    Dec 30, 2012 at 7:08 pm
  • hi all: Here's a dataframe(dat) and a vector(z): dat: x1 x2 x3 0.2 1.2 2.5 0.5 2 5 0.8 3 6.2 [1] 10 100 100 I wanna do the following: 10*x1,100*x2,1000*x3 My solution is using the loop for z and ...
    MengMeng
    Dec 30, 2012 at 10:26 am
    Dec 30, 2012 at 4:59 pm
  • Hi, I've got a dataframe having a code as column name. Addtionally I have another dataframe with a two columns (and lots of rows), the first containing the code and the second some Text (real name) ...
    Johannes RadingerJohannes Radinger
    Dec 11, 2012 at 10:55 am
    Dec 27, 2012 at 6:04 am
  • Hi, I need to aggregate rows of a data.frame by computing the mean for rows with the same factor-level on one factor-variable; here is the sample code: x <- data.frame(rep(letters,2), rnorm(52), ...
    Martin BatholdyMartin Batholdy
    Dec 25, 2012 at 4:34 pm
    Dec 26, 2012 at 3:32 am
  • Dear useRs,while trying to plot the yearly curves of 1000 stations and overlapping each set of curves with mean curve and then saving it automatically in a pdf file, i tried the following commands ...
    Eliza bottoEliza botto
    Dec 23, 2012 at 2:19 am
    Dec 23, 2012 at 4:44 pm
  • Dear all, I have a big file containing latitude points(-10 to 80) and corresponding values. Example data Lat=c(69.48134, 69.49439, 69.50736, 69.52026, 69.52438, 69.53308, 69.53746, 69.54365, ...
    Swagath NavinSwagath Navin
    Dec 11, 2012 at 11:17 am
    Dec 23, 2012 at 3:09 pm
  • Dear all, I have 2 vectors of 10 elements, each of them contains either 0 or 1, like following: [1] 0 0 0 0 0 0 0 0 0 0 [1] 1 1 1 1 1 1 1 1 1 1 How can I obtain a matrix rows of which can take all ...
    Olga30decOlga30dec
    Dec 20, 2012 at 12:52 pm
    Dec 21, 2012 at 12:18 pm
  • Folks: I keep getting the following error message (I'm on Windows 7, R-2.15.2, and tried a reboot...). Thx! John (as �lib� is unspecified)trying URL ...
    John KerpelJohn Kerpel
    Dec 12, 2012 at 3:32 pm
    Dec 18, 2012 at 8:11 pm
  • Dear R users, [in case the format of email is changed or you dont finf it easy to understand, i have attached a text file of my question] i have the data in the following format and i want to convert ...
    Eliza bottoEliza botto
    Dec 17, 2012 at 5:11 pm
    Dec 17, 2012 at 10:10 pm
  • Hi I am using geom_smooth to fit linear regression lines over a scatterplot for two treatment groups. The default colour for the two lines are blue. I have been unable to change this with the usual ...
    Soon yiSoon yi
    Dec 17, 2012 at 2:17 pm
    Dec 17, 2012 at 6:53 pm
  • Dear all, I have imported a dataset from Stata using the foreign package. The original data contain French characters such as è and ç . After importing, string variables containing names of French ...
    Richard ZijdemanRichard Zijdeman
    Dec 11, 2012 at 12:10 am
    Dec 12, 2012 at 1:52 pm
Group Navigation
period‹ prev | Dec 2012 | next ›
Group Overview
groupr-help @
categoriesr
discussions537
posts1,821
users504
websiter-project.org
irc#r

504 users for December 2012

Arun: 147 posts David Winsemius: 81 posts Rui Barradas: 63 posts Uwe Ligges: 42 posts Duncan Murdoch: 38 posts David L Carlson: 36 posts Jeff Newmiller: 36 posts R. Michael Weylandt: 31 posts William Dunlap: 31 posts Eliza botto: 28 posts Rahul143: 26 posts Berend Hasselman: 25 posts Pascal Oettli: 25 posts Jim Holtman: 24 posts Sarah Goslee: 23 posts Ben Bolker: 19 posts Greg Snow: 18 posts Bert Gunter: 17 posts Suzen, Mehmet: 17 posts Jim Lemon: 16 posts
show more
Archives