Grokbase Groups R r-help July 2008
FAQ

Search Discussions

972 discussions - 3,285 posts

  • Hello all, I am trying to optimize my logistic regression model by using bootstrap. I was previously using SAS for this kind of tasks, but I am now switching to R. My data frame consists of 5 columns ...
    Michal FigurskiMichal Figurski
    Jul 21, 2008 at 3:04 pm
    Aug 1, 2008 at 5:52 pm
  • Hi R, If x=c(1,3,5) y=c(2,4,6) I need a vector which is c(1,2,3,4,5,6) from x and y. How do I do it? I mean the best way.... Thanks, Shubha This e-mail may contain confidential and/or privileged ...
    Shubha Vishwanath KaranthShubha Vishwanath Karanth
    Jul 23, 2008 at 12:54 pm
    Jul 23, 2008 at 3:07 pm
  • I have search the archive and I could not find what I need so I will try to ask the question here. I read a table in (read.table) a <- read.table(.....) The table has column names like DayOfYear, ...
    RkevinburtonRkevinburton
    Jul 12, 2008 at 7:32 am
    Jul 15, 2008 at 12:48 pm
  • Hi everybody, somehow i dont get the shapiro wilk test for normality. i just can?t find what the H0 is . i tried : shapiro.test(rnorm(5000)) Shapiro-Wilk normality test data: rnorm(5000) W = 0.9997, ...
    Bunny, lautloscrew.comBunny, lautloscrew.com
    Jul 12, 2008 at 3:30 pm
    Jul 17, 2008 at 7:18 am
  • Hi, I find that a typical workflow for me looks something like this: 1) import some data from files 2) mess around with the data for a while 3) mess around with plotting for a while 4) get a plot or ...
    Ken WilliamsKen Williams
    Jul 30, 2008 at 6:12 pm
    Aug 22, 2008 at 8:10 pm
  • Hi R, I need to generate 50 random numbers (preferably poisson), such that their sum is equal to 100. How do I do this? Thank you, Shubha This e-mail may contain confidential and/or privileged ...
    Shubha Vishwanath KaranthShubha Vishwanath Karanth
    Jul 8, 2008 at 5:58 am
    Jul 8, 2008 at 9:40 pm
  • Hi, I use R at home, and am interested in using it at my work company (which is in the Fortune 100). I began the request, and our legal team has given some gruff about the open source license. Not ...
    ZerfetzenZerfetzen
    Jul 28, 2008 at 6:32 pm
    Aug 5, 2008 at 6:19 pm
  • Hi all, In R GUI window, if you use "up" and "down" key, you will be able to recall the previous and next command that has been used and stored in the command history cache. But there is one ...
    LosemindLosemind
    Jul 29, 2008 at 7:23 pm
    Aug 3, 2008 at 10:26 am
  • Hi, as a bloody R beginner I failed to solve the probably simple problem to create a barplot of the following data read from a file Year A B C 2000 4 3 0 2001 2 1 3 2002 1 2 5 The Barplot should look ...
    Andreas TilleAndreas Tille
    Jul 25, 2008 at 12:13 pm
    Aug 9, 2008 at 2:58 pm
  • Can someone please enlighten me as to why the following happens? [1] NaN R seems perfectly able to calculate -2.7^8.6, but fails when the exact same values are assigned to variables and then the ...
    PoolloopusPoolloopus
    Jul 1, 2008 at 6:15 pm
    Jul 2, 2008 at 11:55 am
  • Dear all, I have gridded data at 5' (minutes) resolution, which I intend to coarsen to 0.5 degrees. How would I go about doing this in R? I've had a search online and haven't found anything obvious, ...
    Steve MurraySteve Murray
    Jul 26, 2008 at 11:07 pm
    Aug 1, 2008 at 9:47 am
  • whats the license policy of using r as a SaaS with other apps, priced for a fee. I am not sure which license to invoke. regards, ajay
    Ajay ohriAjay ohri
    Jul 30, 2008 at 1:39 pm
    Jul 30, 2008 at 4:58 pm
  • Hello, I am trying to convert english words to numeric equivalents, e.g., abc to 123. Is there a function or library or package for doing this in R? If not, can it be done easily in R? Thanks, Oscar
    oscar Linaresoscar Linares
    Jul 28, 2008 at 12:32 am
    Jul 28, 2008 at 12:36 pm
  • Dear All, I have a database of 200 observations named myD. In the dataframe there are a column named code (with codes varying from 1 to 77), a column named "prevalence" with some quantitative ...
    Daniela OttavianiDaniela Ottaviani
    Jul 8, 2008 at 1:18 pm
    Jul 24, 2008 at 8:47 pm
  • #See David Williams' book "Weighing the odds", p286 y <- c(1.21, 0.51, 0.14, 1.62, -0.8, 0.72, -1.71, 0.84, 0.02, -0.12) ybar <- mean(y) ylength <- length(y) ybarv <- rep(ybar, ylength) x <- ...
    David EpsteinDavid Epstein
    Jul 20, 2008 at 5:27 pm
    Jul 21, 2008 at 5:34 pm
  • Hi R helpers, I'm preparing dataset to fir logistic regression model with lrm(). I have various cointinous and discrete variables and I would like to: 1. Optimaly discretize continous variables ...
    Milicic.markoMilicic.marko
    Jul 19, 2008 at 1:10 pm
    Jul 20, 2008 at 1:11 pm
  • Hi, if given the value of, say, 15000, I would like to be able to divide that value recursively by, say, 5, and to get a vector of a determined length, say 9, the last value being (set to) zero- ...
    Anne-Marie TernesAnne-Marie Ternes
    Jul 9, 2008 at 9:40 am
    Jul 9, 2008 at 9:48 pm
  • I have a command that reads in some data: x <- read.csv("Sales2007.dat", header=TRUE) Then I try to organize the data: sc <- split(x, list(x$Category, x$SubCategory), drop=TRUE) Then I want to ...
    RkevinburtonRkevinburton
    Jul 15, 2008 at 5:11 pm
    Jul 15, 2008 at 8:40 pm
  • #this is a subset of a larger data frame and I am okay with subsetting it as there are redundant time stamps, but I would like to create a zoo object out of this and I am having a hard #time figuring ...
    Stephen sefickStephen sefick
    Jul 8, 2008 at 5:43 pm
    Jul 9, 2008 at 1:54 pm
  • This is actually more like a Statistics problem: I have a dataset with two dummy variables controlling three levels. The problem is, one level does not have many observations compared with other two ...
    Rlearner309Rlearner309
    Jul 1, 2008 at 1:38 pm
    Jul 4, 2008 at 3:34 am
  • Hi R Community: I've got a character string that looks like: New Mexico How to I create the new character string that looks like: "New Mexico" That is, it is the original string (New Mexico) with ...
    Philip James SmithPhilip James Smith
    Jul 3, 2008 at 1:25 am
    Jul 3, 2008 at 1:33 pm
  • Can anyone point me towards a tutorial on using the rgl graphics package? Something with lots of examples would be nice. Thanks. Tom -- View this message in context ...
    Tom La BoneTom La Bone
    Jul 25, 2008 at 10:29 am
    May 25, 2010 at 12:17 am
  • Hi all, I am trying to convert geometric means in a matrix to cover classes. My values are as such: perc<-c(0,0.025136418, 0.316227766, 1.414213562,3.16227766, 7.071067812, 15.8113883, 35.35533906, ...
    Wade WallWade Wall
    Jul 28, 2008 at 5:36 pm
    Aug 2, 2008 at 9:04 am
  • Dear List, I ran into some trouble handling missing values. Assume 2 vectors (numeric) including NAs a <- c(rep(seq(1,4),4),NA,NA) b <- c(sample(1:2,14,replace=T),NA,NA,1,2) I want to replace the ...
    Kunzler, AndreasKunzler, Andreas
    Jul 24, 2008 at 12:09 pm
    Jul 24, 2008 at 9:26 pm
  • Hi R, Let, x=1:80 I want to sum up first 8 elements of x, then again next 8 elements of x, then again another 8 elements..... So, my new vector should look like ...
    Shubha Vishwanath KaranthShubha Vishwanath Karanth
    Jul 23, 2008 at 2:03 pm
    Jul 23, 2008 at 4:28 pm
  • I like what smooth.spline does but I am unclear on the output. I can see from the documentation that there are fit.coef but I am unclear what those coeficients are applied to.With spline I understand ...
    RkevinburtonRkevinburton
    Jul 17, 2008 at 8:57 pm
    Jul 21, 2008 at 12:46 am
  • I am attempting to get publication quality graphs using R on Ubuntu. I encounter lots of problems in using cex to control font size: for instance cex=1.5 results in very blocky characters. I then ...
    WillemfWillemf
    Jul 15, 2008 at 1:42 pm
    Jul 16, 2008 at 9:52 am
  • Hi everyone, I have some data in a matrix, and I want to shift it down by one row. The matrix in question has a date column. Does anyone know of a way to shift the data by one row, whilst preserving ...
    RcoderRcoder
    Jul 9, 2008 at 6:57 pm
    Jul 11, 2008 at 10:52 am
  • I'm looking for a function that lists a few summary stats for a column (or row) of data. I'm aware of summary(x), but that does not give me what I'm looking for. I'm actually looking for something ...
    NmartiNmarti
    Jul 9, 2008 at 3:15 pm
    Jul 10, 2008 at 1:44 am
  • There is "if-else" loop if I have to choose 1 item from a 2-item list. However if I have a list of 4 items (let say) then how i can choose a single item without employing 'if-else' loop? I mean in ...
    Arun Kumar SahaArun Kumar Saha
    Jul 6, 2008 at 8:59 am
    Jul 7, 2008 at 4:40 pm
  • Hi I have a set of data like this: *Time of Day* *Pct of Daily Volume* 9:45 7.50% 10 6.25% 10:15 4.45% 10:30 4.80% 10:45 4.45% 11:00 4.20% 11:15 2.50% 11:30 2.30% 11:45 2.25% 12:00 2.45% 12:15 2.60% ...
    Shirin SafaShirin Safa
    Jul 1, 2008 at 6:28 pm
    Jul 3, 2008 at 3:56 pm
  • I have a matrix with data that runs from 1/1/06 00:01:00-1/31/08 23:46:00. I have read in the data with this fmt.chron <- function(x) { chron(sub(" .*", "", x), gsub(".* (.*)", "\\1:00", x)) } x <- ...
    Stephen sefickStephen sefick
    Jul 2, 2008 at 1:25 pm
    Jul 2, 2008 at 2:56 pm
  • Hi, I am trying to calculate the sum for each occurrence of the level of a factor in a very large matrix. In addition, I want to save that sum together with the information of the level of the factor ...
    Ralph S.Ralph S.
    Jul 20, 2008 at 11:16 pm
    Aug 2, 2008 at 5:00 am
  • and get: Call: density.default(x = rnorm(1000)) Data: rnorm(1000) (1000 obs.); Bandwidth 'bw' = 0.2235 x y Min. :-3.5157 Min. :2.416e-05 1st Qu.:-1.6892 1st Qu.:1.129e-02 Median : 0.1373 Median ...
    RkevinburtonRkevinburton
    Jul 29, 2008 at 4:14 am
    Jul 29, 2008 at 10:54 pm
  • Hi the list (well, half of the list, only the one who are not on holidays...) I am trying to make an S4 package. When I run it on a console, everything seems ok. When I run R CMD check, I got an ...
    CgenolinCgenolin
    Jul 22, 2008 at 4:25 pm
    Jul 28, 2008 at 1:53 pm
  • Hi everyone, I'm trying to break down data into intervals because I need to analyze data according to the intervals between each change in value. What I have done is merged the attached data files, ...
    Jia Ying MeiJia Ying Mei
    Jul 26, 2008 at 3:30 pm
    Jul 27, 2008 at 5:14 am
  • Dear List, Is there a possibility to change the font-face for a part of the title of a plot? For example I have the following... plot(nirs, type="l", xlab="Wellenl?nge [nm]", col="darkslategray", ...
    Albin BlaschkaAlbin Blaschka
    Jul 18, 2008 at 12:37 pm
    Jul 23, 2008 at 6:38 pm
  • For a function that takes an argument as a list of lists of parameters, I'd like to be able to convert that to a data.frame and vice versa, but can't quite figure out how. pats <- ...
    Michael FriendlyMichael Friendly
    Jul 23, 2008 at 1:23 pm
    Jul 23, 2008 at 4:14 pm
  • Please, I have a 2GB computer and a huge time-series to embedd, and i tried increasing memory.limit() and memory.size(max=TRUE), but nothing. Just before the command: used (Mb) gc trigger (Mb) max ...
    José Augusto Jr.José Augusto Jr.
    Jul 20, 2008 at 7:24 pm
    Jul 22, 2008 at 10:58 pm
  • Please excuse me for asking such basic questions: Here is my code What I get is a collection of small circles, with a segment "on top" of the circles, which is almost what I want. But I don't want ...
    David EpsteinDavid Epstein
    Jul 20, 2008 at 12:44 pm
    Jul 22, 2008 at 5:16 pm
  • Hi everyone, I want to score a set of data (-ve to +ve) using a 0-10 scale. I have the data in an R matrix, so I need to add another column, containing the scores and resave. I would be grateful for ...
    RcoderRcoder
    Jul 15, 2008 at 12:16 pm
    Jul 16, 2008 at 7:32 pm
  • I have a large matrix full of probabilities; I would like to convert each probability to a 1 or a 0 using rbinom. How can I do this on the entire matrix? The matrix was converted from a raster ArcMap ...
    ACroskeACroske
    Jul 9, 2008 at 5:30 pm
    Jul 10, 2008 at 1:58 pm
  • Dear R-Users, I am looking for a way to get legends placed automagically in an empty spot on a graph. Additional complication comes through my useage of multiple graphs on the same plot through ...
    Tolga I UzunerTolga I Uzuner
    Jul 8, 2008 at 6:31 pm
    Jul 9, 2008 at 11:50 am
  • Hello. Somebody knows how can I generate a set of n random vectors of a normal distribution of several variables? For example, I want to generate n0 random vectors of two dimensions for a normal ...
    Arnau Mir TorresArnau Mir Torres
    Jul 5, 2008 at 4:13 pm
    Jul 6, 2008 at 10:57 am
  • Hi, Currently I have a dataset of 2400*408. And I would like to apply PCR method to study the any correlation between the tests. My current data is in data.frame and I have formed horizontal(1-407) ...
    Jason LeeJason Lee
    Jul 1, 2008 at 12:54 am
    Jul 2, 2008 at 11:39 am
  • Hi everyone, I am trying to apply linear regression to adjacent columns in a matrix (i.e. col1~col2; col3~col4; etc.). The columns in my matrix come with identifiers at the top of each column, but ...
    RcoderRcoder
    Jul 29, 2008 at 10:15 pm
    Jul 31, 2008 at 6:46 pm
  • I'm trying to calculate the percent change for a time-series variable. Basically the first several observations often look like this, x <- c(100, 0, 0, 150, 130, 0, 0, 200, 0) and then later in the ...
    NmartiNmarti
    Jul 24, 2008 at 1:57 pm
    Jul 27, 2008 at 12:08 am
  • Hi Is it possible to subset an n-dimensional array by a vector of n dimensions? E.g. assume I have And have a function of x and dims2 that gives me back [1] 1 7 13 19 Does such a thing exist? Thanks ...
    Richard PearsonRichard Pearson
    Jul 11, 2008 at 2:53 pm
    Jul 24, 2008 at 8:25 pm
  • Hello, I am calculating 'Betweenness' of a large network using R. Currently, I have the node-node information (City1-City2) in an excel file, present in two columns where column A has City1 and ...
    Senthil PurushothamanSenthil Purushothaman
    Jul 18, 2008 at 7:51 pm
    Jul 24, 2008 at 5:51 pm
  • Hi all, Again I have searched the net and so on, without finding an answer to this surely simple problem. A short bit of code would be appreciated. I have a object named `data' with the following ...
    Robin WilliamsRobin Williams
    Jul 23, 2008 at 3:44 pm
    Jul 23, 2008 at 7:14 pm
Group Navigation
period‹ prev | Jul 2008 | next ›
Group Overview
groupr-help @
categoriesr
discussions972
posts3,285
users776
websiter-project.org
irc#r

776 users for July 2008

Jim holtman: 126 posts Gabor Grothendieck: 117 posts Prof Brian Ripley: 89 posts Stephen sefick: 76 posts Duncan Murdoch: 70 posts Marc Schwartz: 65 posts Henrique Dallazuanna: 50 posts Hadley wickham: 45 posts Peter Dalgaard: 42 posts Rolf Turner: 42 posts Ben Bolker: 38 posts Ted Harding: 38 posts Daniel Malter: 37 posts Jorge Ivan Velez: 37 posts Erik Iverson: 35 posts Jim Lemon: 34 posts Mark Difford: 34 posts Rkevinburton: 32 posts Frank E Harrell Jr: 28 posts Uwe Ligges: 24 posts
show more
Archives