Grokbase Groups R r-help May 2013
FAQ

Search Discussions

569 discussions - 1,716 posts

  • Dear r-helpers, I'm interested in locating the named colour that's "closest" to an arbitrary RGB colour. The best that I've been able to come up is the following, which uses HSV colours for the ...
    John FoxJohn Fox
    May 30, 2013 at 12:13 pm
    Jun 2, 2013 at 6:03 pm
  • Dear useRs,If i have a matrix, say, 12 rows and 6 columns. The columns are continuous. I want to find the index of maximum values and the actual maximum values. The maximum values in each column are ...
    Eliza bottoEliza botto
    May 24, 2013 at 10:24 am
    May 25, 2013 at 2:20 pm
  • Hey All, I have a dataset(dat1) like this: ObsNumber ID Weight 1 0001 12 2 0001 13 3 0001 14 4 0002 16 5 0002 17 And another dataset(dat2) like this: ID Height 0001 3.2 0001 2.6 0001 3.2 0002 2.2 ...
    Ye LinYe Lin
    May 7, 2013 at 5:54 pm
    May 8, 2013 at 8:55 am
  • I have a program, when I write if(num!=NA) it yields an error message. However, if I write if(is.na(num)==FALSE) it works. Why doesn't the first statement work? Thanks, Miao
    Jpm miaoJpm miao
    May 3, 2013 at 3:24 pm
    May 4, 2013 at 4:28 pm
  • I was trying to convert a vector of POSIXct into a list of POSIXct, However, I had a problem that I wanted to share with you. Works fine with, say, numeric: [[1]] [1] 1 [[2]] [1] 2 [[3]] [1] 3 List ...
    Alexandre SieiraAlexandre Sieira
    May 20, 2013 at 9:09 pm
    May 22, 2013 at 9:36 pm
  • Hi, I'm trying to run NMDS (non-metric multidimensional scaling) with R vegan (metaMDS) but I have a few NAs in my data set. I've tried to run it 2 ways. The first way with my entire data set which ...
    Elizabeth BeckElizabeth Beck
    May 8, 2013 at 8:39 pm
    Jun 17, 2013 at 8:17 pm
  • Dear Rxperts.. Got a couple of quick q's.. I am using R in windows environment (both 32-bit and 64-bit) a) Is there a way to create symbolic links to some data files? b) How do I read data from ...
    SantoshSantosh
    May 2, 2013 at 6:50 pm
    May 25, 2013 at 9:02 pm
  • Derar Rxperts, I have a strange situation.. I see curly brackets around "strip.levels" in multipanel strips while using lattice::xyplot. .How do I get rid of the curly brackets? For some reason, I am ...
    SantoshSantosh
    May 2, 2013 at 1:16 am
    May 22, 2013 at 8:13 pm
  • Hi dear all I want to analysis of covariance with R software. What should I do? I would like to have the answer as soon as possible because I have a presentation in the following 8 hours. Thanks a ...
    Niloofar.JavanrouhNiloofar.Javanrouh
    May 12, 2013 at 4:00 pm
    May 17, 2013 at 7:55 pm
  • Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130513/fe848ce7/attachment.pl
    David StuderDavid Studer
    May 13, 2013 at 2:24 pm
    May 13, 2013 at 5:55 pm
  • Hi everyone, I know there have been several requests regarding subsetting before, but none of them really helps with my problem: I'm trying to subset only infected individuals from the REC2 ...
    Katarzyna KulmaKatarzyna Kulma
    May 3, 2013 at 9:48 am
    May 7, 2013 at 8:20 am
  • Hello again, I need to download 'WTI - Cushing, Oklahoma' from ' http://www.eia.gov/dnav/pet/pet_pri_spt_s1_d.htm' which is available under the column 'View History' While I can get the data ...
    Christofer BogasoChristofer Bogaso
    May 24, 2013 at 4:31 am
    Sep 20, 2013 at 5:44 am
  • Hi! When inserting R plots into a document using odfWeave, I fought for a while to get Lattice plots use the same text size as base plots. I eventually discovered that specifying a point size via ...
    Milan Bouchet-ValatMilan Bouchet-Valat
    May 21, 2013 at 11:18 am
    Jun 5, 2013 at 8:53 pm
  • Dear All, I have two simple data samples (no groups or factors, etc.) and would just like to compute the two-sample Wilcoxon Rank Sum test using the wilcox_test function contained in the coin ...
    Janh AnniJanh Anni
    May 30, 2013 at 8:07 pm
    Jun 4, 2013 at 1:51 am
  • I have posted a R copula question yesterday but it is not accepted yet. How long does it take? I am waiting if some one can help me on my Copula package related question. Thanks
    T P KharelT P Kharel
    May 2, 2013 at 11:15 pm
    May 29, 2013 at 6:59 am
  • Hello List, When i paste a large block of R code from an editor to the R command line the execution of the code will often fail at some point because it is not pasted as it was copied ...
    Mark BremanMark Breman
    May 28, 2013 at 6:54 am
    May 29, 2013 at 6:46 am
  • Dear all, Very simple question, but apparently uneasy to solve in R: I have a sampling of a variable x: (3, 4. 5, 2, ...) I want to know: - the mean <x - mean(x) - the uncertainty on <x - ...
    Xavier PrudentXavier Prudent
    May 3, 2013 at 12:45 pm
    May 8, 2013 at 11:20 pm
  • R 2.12.2 on Scientific Linux 6.4 #works chron(times.="15:00:00", format=c(times="h:m:s")) #doesn't work chron(times.="15:00", format=c(times="h:m")) From chron Manual: The times format can be any ...
    Stephen SefickStephen Sefick
    May 1, 2013 at 4:28 pm
    May 1, 2013 at 11:39 pm
  • dear R experts---I would like to update OLS regressions with new observations on the front of the data, and delete some old observations from the rear. my goal is to have a "flexible" moving-window ...
    Ivo welchIvo welch
    May 27, 2013 at 3:12 pm
    May 27, 2013 at 8:17 pm
  • Hi all: If the explainary variables are ordinal,the result of regression is different from "unordered variables".But I can't understand the result of regression from "ordered variable". The data is ...
    MengMeng
    May 21, 2013 at 5:35 am
    May 24, 2013 at 1:36 am
  • I have, say, three plots with several medical terms on the y-axis plotted against HR's on a log-scaled x-axis. In order to highlight the time profile for the different plots, I would like to "merge" ...
    Öhagen PatrikÖhagen Patrik
    May 16, 2013 at 11:50 am
    May 17, 2013 at 1:47 am
  • hi all -- i looked through the R Language Definition document, but couldn't find any particular warning or example that would clarify the best use of attribute setting for R objects. let x be some R ...
    Murat TasanMurat Tasan
    May 9, 2013 at 5:35 pm
    May 13, 2013 at 4:50 pm
  • Dear All, I am trying to reproduce the example that I found online here http://bit.ly/11VG4ha However, when I run my script (pasted at the end of the email), I notice that there is a factor 2 between ...
    Lorenzo IsellaLorenzo Isella
    May 1, 2013 at 1:48 pm
    May 3, 2013 at 6:53 am
  • Do you mean something like: paks = library()$results[,1] save(paks, file = 'paks.RData') Rob -- Robert W. Baer, Ph.D. Professor of Physiology Kirksille College of Osteopathic Medicine A. T. Still ...
    Robert BaerRobert Baer
    May 31, 2013 at 11:10 pm
    Jun 1, 2013 at 2:57 pm
  • Hello, I would like to get an advice on how the notorious eval(parse()) construct could possibly be avoided in the following example. I have an array x, which can have different number of dimensions, ...
    Martin IvanovMartin Ivanov
    May 26, 2013 at 1:56 pm
    May 26, 2013 at 4:27 pm
  • Dear experts, I wanted to signal a peculiar, unexpected behaviour of 'apply'. It is not a bug, it is per spec, but it is so counterintuitive that I thought it could be interesting. I have an array, ...
    Luca NanettiLuca Nanetti
    May 14, 2013 at 8:52 am
    May 14, 2013 at 6:38 pm
  • Hi, 3 down vote favorite 1 I am interested in forecasting a MA model.Therefore I have created a very simple data set (three variables). I then adapted a MA(1) model to it. The results are ...
    Neuman CoNeuman Co
    May 22, 2013 at 2:13 pm
    May 22, 2013 at 10:33 pm
  • Hello R Experts, I need a bit of help in using loop. I have a matrix onto which I need to use several functions. In a simplified form suppose my matrix is [,1] [,2] [,3] [,4] [,5] [1,] 1 2 3 4 5 [2,] ...
    Suparna MitraSuparna Mitra
    May 21, 2013 at 7:16 am
    May 22, 2013 at 3:08 am
  • I want to add identifier column (Date) to a time series data frame. I want to name the "Date" column be from 1 to 30 every 1440 rows. Say I have a data like this (I simply my actual data here): $dat ...
    Ye LinYe Lin
    May 21, 2013 at 8:16 pm
    May 21, 2013 at 11:23 pm
  • Hi, I have a question for my simulation problem: I would like to generate a positive (or semi def positive) covariance matrix, non singular, in wich the spectral decomposition returns me the same ...
    MaryMary
    May 19, 2013 at 2:31 pm
    May 20, 2013 at 8:04 pm
  • Dear All I have the following code: datetime <-c("1/1/13 00:00","1/1/13 12:00","1/2/13 00:00","1/2/13 12:00") datetime <-as.POSIXct(datetime,format='%m/%d/%Y %H:%M') times ...
    Andras FarkasAndras Farkas
    May 10, 2013 at 5:24 pm
    May 16, 2013 at 4:17 pm
  • Dear R users, Here is my data: "a1" "a2" "a3" "a4" "a5" "interval" 432 355 159 9304 9949 1 0 184 157 9182 10120 1 1295 2 0 8861 10410 1 0 100 572 9102 9836 1 0 170 95 8421 9044 1 0 170 2 8963 9261 1 ...
    Simonas KecoriusSimonas Kecorius
    May 15, 2013 at 9:46 am
    May 15, 2013 at 1:17 pm
  • Hiii I am trying to install R-2.15.2 after doing ./configure its showing error: --with-x=yes (default) and X11 headers/libs are not available and when i am running make its showing make: *** No ...
    Meenu ChopraMeenu Chopra
    May 9, 2013 at 1:06 pm
    May 10, 2013 at 5:11 pm
  • Hi all, I am trying to set up logical function(s) to deal with two adjustments to a blood glucose value. I have been dinking around in Excel and assume this will be much easier in R. DF is date-time, ...
    Bruce MillerBruce Miller
    May 7, 2013 at 1:54 pm
    May 8, 2013 at 12:49 pm
  • Hello, I am work with a linear regression model: y=ax+b with the function of lm. y= observed migration distance of butterflies x= predicted migration distance of butterflies Usually the result will ...
    Elaine KuoElaine Kuo
    May 1, 2013 at 2:07 am
    May 4, 2013 at 4:53 pm
  • Hello all, I have 4 matrices with 3 columns each (different number of rows though). I want to find a function that returns all possible 3-place vectors corresponding to the sum by columns of picking ...
    Estigarribia, BrunoEstigarribia, Bruno
    May 27, 2013 at 3:24 pm
    Jun 10, 2013 at 7:37 pm
  • Hi all, I have a series whose tpe for that is like series I expose below. The thing is if a incremental number ends I´m in the first "type" of event in this success is named 5 (because of the maximum ...
    Trying To learn againTrying To learn again
    May 28, 2013 at 6:07 pm
    May 30, 2013 at 6:49 pm
  • Dear list, I am struggling with the following problem. In a 2d case I managed to highlight a subset of points through the panel.xyplot function. However, I was trying the same in 3d using ...
    SluedtkeSluedtke
    May 28, 2013 at 10:50 pm
    May 30, 2013 at 3:28 am
  • Hi all: As to the polr {MASS} function, how to find out p values of every parameter? house.plr <- polr(Sat ~ Infl + Type + Cont, weights = Freq, data = housing) summary(house.plr) How to find out the ...
    MengMeng
    May 28, 2013 at 2:59 am
    May 29, 2013 at 2:09 pm
  • Hello everyone, I´ve been using R in my doctoral reserach and would really appreciate it if any of you could help me find a solution for a problem. I have a file with texts in 3 languages - ...
    Júlia ZaraJúlia Zara
    May 28, 2013 at 10:31 am
    May 28, 2013 at 4:13 pm
  • Hi, I am trying to understand why creating Date variables does not work if I subset to avoid NAs. I had problems creating these Date variables in my code and I thought that the presence of NAs was ...
    Denis ChabotDenis Chabot
    May 23, 2013 at 9:35 pm
    May 24, 2013 at 5:33 am
  • I'm comparing a variety of datasets with over 4M rows. I've solved this problem 5 different ways using a for/while loop but the processing time is murder (over 8 hours doing this row by row per data ...
    Adeel AminAdeel Amin
    May 23, 2013 at 5:00 am
    May 24, 2013 at 4:39 am
  • Greetings.? My wife is teaching an introductory stat class at UC Davis.? The class emphasizes the use of simulations, rather than mathematics, to get insight into statistics, and R is the mandated ...
    Michael HannonMichael Hannon
    May 23, 2013 at 2:54 am
    May 23, 2013 at 5:49 pm
  • Hi, From time to time I need to do the aggregation. To illustrate, I present a toy example as below. In this example, the task is to aggregate x and y by z with the function mean. Could I call the ...
    Jpm miaoJpm miao
    May 23, 2013 at 7:05 am
    May 23, 2013 at 2:07 pm
  • Hi, I want to plot grouped bars to compare 95% confidence interval estimates from two models. Each bar represents a 95% confidence interval estimate of a coefficient from one of the two models. Each ...
    Xianwen ChenXianwen Chen
    May 18, 2013 at 11:19 pm
    May 22, 2013 at 5:11 pm
  • Hello! I am using package "VAR". I've fitted my model: mymodel<-VAR(mydata,myp,type="const") I can extract the Log Liklihood for THE WHOLE MODEL: logLik(mymodel) How could I calculate (other than ...
    Dimitri LiakhovitskiDimitri Liakhovitski
    May 21, 2013 at 3:00 pm
    May 21, 2013 at 8:37 pm
  • Hi there, I've got this matrix D with, say 10 rows and 20 columns. For each row I want to sum the first 3 non zero elements and put them in a vector z. So if the first row D[1,] is 0 3 5 0 8 9 3 2 4 ...
    José VerhoevenJosé Verhoeven
    May 21, 2013 at 9:16 am
    May 21, 2013 at 1:53 pm
  • Hi everyone, I currently work on a S4 class that has the [ function. I want to capture the unevaluated expression corresponding to the i param using substitute() function and do a non-standard ...
    Nhan Vu Lam ChiNhan Vu Lam Chi
    May 14, 2013 at 1:38 am
    May 16, 2013 at 10:45 am
  • I have a text file of data as below and doing a ggplot line plot of all the ids as separate mini line plots which works with the following code. Problem how do I order the dates for each id plot on ...
    David LyonDavid Lyon
    May 14, 2013 at 7:59 pm
    May 15, 2013 at 1:50 pm
  • In the example below, I am merging 2 data frames & I want everything in the first one(all) all2 <- merge(all,spets, by.x=c("tdate","symbol"), by.y=c("tdate","symbol"),all.x=TRUE) What if I want to ...
    RamossRamoss
    May 13, 2013 at 7:22 pm
    May 13, 2013 at 8:48 pm
Group Navigation
period‹ prev | May 2013 | next ›
Group Overview
groupr-help @
categoriesr
discussions569
posts1,716
users515
websiter-project.org
irc#r

515 users for May 2013

Arun: 168 posts David Winsemius: 78 posts Rui Barradas: 53 posts Jeff Newmiller: 40 posts Bert Gunter: 34 posts John Kane: 29 posts Pascal Oettli: 28 posts Peter dalgaard: 28 posts Berend Hasselman: 26 posts William Dunlap: 26 posts Jim Lemon: 24 posts Uwe Ligges: 24 posts Duncan Murdoch: 20 posts Jpm miao: 19 posts Preetam Pal: 19 posts Ye Lin: 18 posts Eliza botto: 17 posts Prof Brian Ripley: 17 posts Sarah Goslee: 17 posts David Carlson: 15 posts
show more
Archives