Grokbase Groups R r-help May 2010
FAQ

Search Discussions

986 discussions - 3,489 posts

  • Hi list, Excuse me b/c this is probably a more "TeX" then "R" question. I've been using "latex" function in my .Rnw file to generate tables, but I've always been using it without assigning the result ...
    Shi, TaoShi, Tao
    May 12, 2010 at 7:18 pm
    May 13, 2010 at 9:42 pm
  • How are the lower/upper whiskers defined in the default version of boxplot {graphics}? I tried help(boxplot) and searching www.rseek.org, but I was unable to determine an absolute answer. I checked ...
    Jason RupertJason Rupert
    May 12, 2010 at 1:45 am
    May 14, 2010 at 6:07 pm
  • How do u calculated p values for a z test.. so far i ve done this A = read.table("cw3_data.txt") xbar = mean(A) s = 1 n = 20 mu = 0 z.test = (xbar-mu)/(s/sqrt(n)) p.value = pnorm(abs(z.test)) error = ...
    LevelLevel
    May 5, 2010 at 8:40 pm
    May 12, 2010 at 5:14 pm
  • HI, Dear R community, My original file has 1932 lines, but when I read into R, it changed to 1068 lines, how comes? cdu@nuuk:~/operon$ wc -l id_name_gh5.txt 1932 id_name_gh5.txt [1] 1068 3 -- ...
    Changbin DuChangbin Du
    May 25, 2010 at 3:42 pm
    May 25, 2010 at 8:00 pm
  • Hi all, I am trying to use type message with sink, like this: sink("all.Rout", type="message") 1+3 sink() readLines(con = "all.Rout") So to get the following output: [1] 4 Obviously this doesn't ...
    Tal GaliliTal Galili
    May 21, 2010 at 9:02 pm
    May 27, 2010 at 10:14 am
  • Hello Because I want to use different true type fonts with latex, I'm using the XeTeX typesetting engine for my sweave-documents. I'm using Lyx with Sweave on a Windows 7 PC and have set up LyX to ...
    Erich StuderusErich Studerus
    May 12, 2010 at 12:37 pm
    May 13, 2010 at 12:03 pm
  • Dear Limin, might be just about anything. Could you please provide a reproducible example? Best, Giovanni ----------------- Original message ---------------------- Message: 51 Date: Mon, 17 May 2010 ...
    Millo GiovanniMillo Giovanni
    May 17, 2010 at 10:18 am
    May 26, 2010 at 1:33 pm
  • Hi All, Can anyone please help me with getting a single x and y-axis label while plotting muliple plots. Here is the code: par(mfcol=c(2,2)) plot(x <- sort(rnorm(7)), type = "s", main = "", ylab="", ...
    Xin GeXin Ge
    May 13, 2010 at 4:04 pm
    May 14, 2010 at 6:20 pm
  • Hello, What would be in R the closest match to a c-struct? e.g. data.frame requires all elements to be of the same length ... or is there a way to circumvent this? TIA, Best regards, Giovanni
    Giovanni AzuaGiovanni Azua
    May 1, 2010 at 2:46 pm
    May 1, 2010 at 8:57 pm
  • Hi, I'm trying to read in a bunch of CSV files into R where many columns are coded like $111.11. When reading them in they are treated as factors. I'm wondering if there is an easy way to convert ...
    Wang, Kevin (SYD)Wang, Kevin (SYD)
    May 5, 2010 at 7:16 am
    Feb 5, 2013 at 7:31 pm
  • Hi, I've got two vectors with ratings from two coders, like this: x<-c("red", "yellow", "blue", "red") #coder number 1 y<-c("red", "blue", "blue", "red") #coder number 2 I want to find Cohen's Kappa ...
    Jason PriemJason Priem
    May 25, 2010 at 8:01 am
    Feb 10, 2011 at 2:17 pm
  • Hi, I have a 1.000 observations with 10 attributes (of different types: numeric, dicotomic, categorical ecc..) and a measure M. I need to cluster these observations in order to assign a new ...
    AbaneroAbanero
    May 26, 2010 at 1:45 pm
    Sep 27, 2010 at 11:51 am
  • Dear R users, I'm a bit perplexed with the effect sort has here, as it is different on Windows vs. linux. It makes my factor levels and subsequent plots different on the two systems. Given: types <- ...
    CarslawCarslaw
    May 28, 2010 at 8:17 am
    May 30, 2010 at 3:20 pm
  • Hi all, I have a function rho.f which gives a list of estimators. I have the following problems. rho.f(0.3) gives me the right answer. However, if I use rho.f(corr[4]) give me a different answer, ...
    Li liLi li
    May 28, 2010 at 1:52 pm
    May 28, 2010 at 7:53 pm
  • Is there a function that will allow me to run all model iterations if I specify a full model? I am using information criteria to choose between possible candidate models. I have been writing out all ...
    Tim ClarkTim Clark
    May 19, 2010 at 4:38 am
    May 19, 2010 at 9:27 pm
  • Hi All, Just thought I'd bring attention to the fact that lme4 is failing cran checks on the mac platform, and I can't seem to install it from source on 10.5 or 10.6, either ("ld: library not found ...
    Adam NovemberAdam November
    May 17, 2010 at 8:42 pm
    Oct 29, 2011 at 5:30 pm
  • Hi, I'm using maxlik with functions specified (L, his gradient & hessian). Now I would like determine some robust standard errors of my estimators. So I 'm try to use vcovHC, or hccm or robcov for ...
    RATIARISON EricRATIARISON Eric
    May 10, 2010 at 9:28 pm
    May 18, 2010 at 5:06 am
  • There is certainly a trivial solution for my question, but I can't find the answer in the documentation. I need a platform independent method to obtain the file path of the current R script. My ...
    Johannes W. DietrichJohannes W. Dietrich
    May 12, 2010 at 7:31 pm
    May 14, 2010 at 6:46 am
  • Given a text like I want to be able to extract a matched regular expression from a piece of text. this apparently works, but is pretty ugly # some html test<-"</tr <tr <th 88958</th <th Abcdsef</th ...
    Steven mosherSteven mosher
    May 5, 2010 at 9:13 pm
    May 6, 2010 at 2:31 am
  • as a r noob i am having another problem: i have a big dataframe where each row corresponds to one entry and each column is a field... for instance, i have the column ID and time and many more... Id ...
    SomeoneSomeone
    May 3, 2010 at 1:04 pm
    May 5, 2010 at 4:01 am
  • i have a matrix with the following dimensions 136 3 and it looks something like [,1] [,2] [,3] [1,] 402 675 1.802758 [2,] 402 696 1.938902 [3,] 402 699 1.994253 [4,] 402 945 1.898619 [5,] 424 470 ...
    Ayesha KhanAyesha Khan
    May 27, 2010 at 11:41 pm
    May 28, 2010 at 10:37 pm
  • Dear group, Here is my df : trade <- structure(list(Trade.Status = c("DEL", "INS", "INS"), Instrument.Long.Name c("SUGAR NO.11", "CORN", "CORN"), Delivery.Prompt.Date = c("Jul/10", "Jul/10", ...
    arnaud Gabouryarnaud Gaboury
    May 26, 2010 at 5:43 pm
    May 27, 2010 at 9:36 am
  • Hi, I have a dataframe with some 800 rows and 14 columns. Could you please advise how I can concatenate the rows - one after another. Similarly for columns, one below the other. Many thanks. Cheers, ...
    Santana sarmaSantana sarma
    May 21, 2010 at 3:05 am
    May 22, 2010 at 2:03 am
  • Dear R-experts, I am installing new libraries using install.packages("ggplot2",dependencies=T). But I perceive that many dependencies are already installed. As I am using a low-band internet, how can ...
    Milton ruserMilton ruser
    May 18, 2010 at 3:36 pm
    May 19, 2010 at 5:54 am
  • 1. is there some criterion to estimate overfitting? e.g. R2 and Q2 in the training set, as well as R2 in the test set, when means overfitting. for example, in my data, I have R2=0.94 for the training ...
    BbsloverBbslover
    May 9, 2010 at 1:20 pm
    May 11, 2010 at 4:08 pm
  • Hi everybody, I would like to count how many times names in list L, nombreL, apear in list C, nombreC. Can I improve the next program? cuenta <- 0 topL <- length(nombreL) topC <- length(nombreC) for ...
    Sebastian KrukSebastian Kruk
    May 8, 2010 at 7:13 am
    May 10, 2010 at 11:18 pm
  • Hi all, I have data size of : [1] 35943 17 The first column is "stdate" - is date ( 01/11/2009 00:00:00,02/11/2009 00:00:00,02/11/2009 00:00:00 etc... ) Login is 13th column - is numbers (12,0,1 ...
    Mohan LMohan L
    May 2, 2010 at 1:39 pm
    May 2, 2010 at 9:25 pm
  • Dear R gurus, Thank you all for continuous support and guidance -- learning without you would not be efficient. I have a question regarding LD analysis and how to best code it up in R. I have a file ...
    Cobbler_squadCobbler_squad
    May 26, 2010 at 3:55 pm
    Jun 2, 2010 at 5:54 pm
  • Hi, I have a list of 100, each list has 20 elements, and I would like to select the first 7 elements in each list. Let's take the alphabet as an example. x <- lapply(1:100, function(i) ...
    Kang MinKang Min
    May 23, 2010 at 6:28 am
    May 30, 2010 at 11:22 pm
  • Hi I did validation for prediction by logistic regression according to following: validationsize <- 23 set.seed(1) random<-runif(123) order(random) nrprofilesinsample<-sort(order(random)[1:100]) ...
    Azam jaafariAzam jaafari
    May 26, 2010 at 8:04 am
    May 28, 2010 at 9:44 pm
  • I've written a function that takes some input data output from a simulation model and creates some graphs. It's not very complicated code, and it works perfectly fine if I just run the code as is ...
    Brian FrizzelleBrian Frizzelle
    May 26, 2010 at 2:53 pm
    May 26, 2010 at 8:22 pm
  • Dear group, I am trying to write functions, but as a beginner, everything is not so obvious. Let's say I want the results in a list of elemts like this : tot1, tot2, etc Here is a function: toto <- ...
    arnaud Gabouryarnaud Gaboury
    May 20, 2010 at 3:54 pm
    May 24, 2010 at 4:54 pm
  • Hello, I have a dataframe: dd <- data.frame(b = c("chr2", "chr1", "chr15", "chr13"), x = c("A", "D", "A", "C"), y = c(8, 3, 9, 9), z = c(1, 1, 1, 2)) b x y z 1 chr2 A 8 1 2 chr1 D 3 1 3 chr15 A 9 1 4 ...
    Yuan JianYuan Jian
    May 20, 2010 at 12:28 pm
    May 21, 2010 at 1:12 pm
  • Hi, We are analizing the relationship between the abundance of groupers in line transects and some variables. We are using the quasipoisson distribution. Do we need to include the length of the ...
    Lucia RuedaLucia Rueda
    May 19, 2010 at 8:37 am
    May 20, 2010 at 3:53 pm
  • Hi, I want to time how long a function takes to execute. Any clues on what to search for to achieve this? Thanks in advance. -- View this message in context ...
    PdbPdb
    May 4, 2010 at 9:07 pm
    May 18, 2010 at 3:46 pm
  • Greetings All, Out of curiosity, I've just done a very primitive experiment: Obj <- list(Fun=sum, Dat=c(1,2,3,4)) Obj$Fun(Obj$Dat) # [1] 10 That sort of thing (much more sophisticated) must be ...
    Ted HardingTed Harding
    May 12, 2010 at 9:48 pm
    May 15, 2010 at 11:11 pm
  • Hello everyone, I have a data set, and I need to bin my data using a bin width of say g(n). Would anyone be willing to tell me how to do this in R? Thanks -- View this message in context ...
    George5000George5000
    May 13, 2010 at 6:53 pm
    May 15, 2010 at 10:23 am
  • I have the following set-up. 6 values of a continuous variable (let's say light intensity) are presented to a system. The input is presented as a random series of blocks lasting (say) 5 sec each ...
    William SimpsonWilliam Simpson
    May 14, 2010 at 8:25 am
    May 14, 2010 at 8:27 pm
  • Dear List I hope you can help me: I?ve got a dataframe (df) within which I am looking for Peak Over Threshold values as well as the length of the events. An event starts when walevel equals 5.8 and ...
    Tonja KruegerTonja Krueger
    May 26, 2010 at 7:52 am
    Jun 2, 2010 at 4:26 pm
  • Please pardon the simplicity of this question of biological nature. I'm trying to calculate a statistic, px, the proportion of a cohort that survives through the interval x:x+1. I have the vector ...
    FrostygoatFrostygoat
    May 26, 2010 at 10:24 pm
    May 27, 2010 at 5:18 pm
  • Hi all, here is my situation In my experiment, I expose 10 subjects to 24 different conditions of stimuli. Each condition is exposed to the same subject 3x. This would make each subject have 24x3=72 ...
    RuijieRuijie
    May 24, 2010 at 2:35 pm
    May 25, 2010 at 2:14 am
  • Hi everybody, this is a real dummy thing. I sorted a matrix based on a given column, and what I get is right, until it comes to columns of negative and positive values; than, "order" orders ...
    Zoppoli, Gabriele (NIH/NCI) [G]Zoppoli, Gabriele (NIH/NCI) [G]
    May 23, 2010 at 9:39 pm
    May 23, 2010 at 11:57 pm
  • Hi all, The ?intersect entry kindly points out that it discards duplicate entries. I'm looking, however, to get the intersection while KEEPING duplicate entries, and there are no instructions on how ...
    JonathanJonathan
    May 20, 2010 at 9:58 pm
    May 21, 2010 at 1:25 pm
  • Hi, I'm new to 'R' and need some help on the "Load" command. Any responses will be highly appreciated. Thanks in advance! As per manuals, the "Load" command expects a binary file input that is saved ...
    Godavarthi, MuraliGodavarthi, Murali
    May 18, 2010 at 6:49 pm
    May 20, 2010 at 5:28 pm
  • Dear all, I have a question about using categorical predictors for SVM, using "svm" from library(e1071). If I have multiple categorical predictors, should they just be included as factors? Take a ...
    Vanilla SkyVanilla Sky
    May 14, 2010 at 1:56 pm
    May 20, 2010 at 4:16 pm
  • Dear All, I have data some thing like this: State Jan Feb Mar Apr May Jun AAA 1 1 0 2 2 0 BBB 1298 1195 1212 1244 1158 845 CCC 0 0 0 1 2 1 DDD 5 11 17 15 10 9 EEE 18 28 27 23 23 16 FFF 68 152 184 135 ...
    Mohan LMohan L
    May 19, 2010 at 5:52 pm
    May 20, 2010 at 12:43 pm
  • Does anyone know if R has a function for splines under tension. I know there are numerous packages for spline interpolation within R i just can't find one that lets you determine the tension factor ...
    Sam.eSam.e
    May 11, 2010 at 2:23 pm
    May 17, 2010 at 3:30 am
  • Hi, I'm looking for an easy way to discretize factors in R I've noticed that the lm function does this automatically with a nice result. If I have group <- c("A", "B","B","C","C","C") and run ...
    Noah SilvermanNoah Silverman
    May 15, 2010 at 6:02 pm
    May 16, 2010 at 10:10 pm
  • As an end-user, I wonder about Revolution R. Is the relationship between Revolution R and the R community at-large a positive one? Do the former contribute to the development efforts of the latter? ...
    Ivo welchIvo welch
    May 11, 2010 at 3:08 pm
    May 14, 2010 at 7:51 pm
  • I have two identically sized matrices of data that represent time series (I am storing the data in zoo objects, but the idea should apply to any matrix of data). The time series in the second matrix ...
    Abiel X ReinhartAbiel X Reinhart
    May 11, 2010 at 8:48 pm
    May 12, 2010 at 11:23 pm
Group Navigation
period‹ prev | May 2010 | next ›
Group Overview
groupr-help @
categoriesr
discussions986
posts3,489
users825
websiter-project.org
irc#r

825 users for May 2010

David Winsemius: 218 posts Duncan Murdoch: 90 posts Joris Meys: 90 posts Gabor Grothendieck: 82 posts Jim Holtman: 70 posts Tal Galili: 58 posts Erik Iverson: 56 posts Peter Ehlers: 46 posts Uwe Ligges: 46 posts Henrique Dallazuanna: 44 posts Frank E Harrell Jr: 43 posts Jim Lemon: 43 posts arnaud Gaboury: 41 posts Greg Snow: 41 posts Ted Harding: 41 posts Dennis Murphy: 40 posts Joshua Wiley: 38 posts Shi, Tao: 34 posts Ivan Calandra: 33 posts Mohan L: 31 posts
show more
Archives