FAQ

Search Discussions

1,052 discussions - 3,489 posts

  • Hi R Users, I'm trying to plot a stacked barplot. Here is data: Sample Col1 Col2 Col3 Row1 -2 4 -1 Row2 3 -2 4 Row3 3 5 -2 Row4 4 1 -1 I'm using following R code: library(lattice) ...
    Peng CaiPeng Cai
    Nov 26, 2009 at 6:53 pm
    Nov 27, 2009 at 12:21 pm
  • Hello My data contains following columns: 1st column: Posts (GM, Secretary, AM, Office Boy) 2nd Column: Dept (Finance, HR, ...) 3rd column: Tasks (Open the door, Fix an appointment, Fill the ...
    Sunita22Sunita22
    Nov 15, 2009 at 12:48 pm
    Nov 19, 2009 at 2:48 pm
  • Hello, I am using kernlab to do some binary classification on aminoacid strings. I am using a custom kernel, so i use the kernel="matrix" option of the ksvm method. My (normalized) kernel matrix is ...
    Heiko StrathmannHeiko Strathmann
    Nov 29, 2009 at 1:21 pm
    Dec 21, 2011 at 1:05 pm
  • Hello everyone, I am trying to do within subjects repeated measures anova followed by the test of sphericity (sample dataset below). I am able to get either mixed model or linear model anova and ...
    Sergios (Sergey) CharntikovSergios (Sergey) Charntikov
    Nov 9, 2009 at 5:44 pm
    Jan 11, 2012 at 10:48 am
  • Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525177/rgl-device.png ...
    Vladimir EremeevVladimir Eremeev
    Nov 26, 2009 at 7:14 am
    Nov 26, 2009 at 2:25 pm
  • Dear friends, Do you know how to calculate the CONCAVE hull of a set of points (2- dimensional or n-dimensional)? is that possible in R? (With a "smoothing" parameter of course). Best, -- Corrado ...
    CorradoCorrado
    Nov 25, 2009 at 4:37 pm
    Nov 27, 2009 at 11:52 am
  • Dear R users, I would like to make my R code for MCMC faster. It is possible to integrate C code into R but I think C is too complicated for me. I would need a C introduction only for MCMC and I do ...
    Jean LegeandeJean Legeande
    Nov 21, 2009 at 2:29 pm
    Nov 22, 2009 at 4:53 pm
  • Hi, All, I have an n by m matrix with each entry between 1 and 15000. I want to know the frequency of each pair in 1:15000 that occur together in rows. So for example, if the matrix is 2 5 1 6 1 7 8 ...
    cindy Guocindy Guo
    Nov 15, 2009 at 10:26 pm
    Nov 16, 2009 at 7:50 pm
  • I've been trying to figure out how to read in a large file for a few days now, and after extensive research I'm still not sure what to do. I have a large comma delimited text file that contains 59 ...
    Gene LeynesGene Leynes
    Nov 2, 2009 at 7:03 pm
    Apr 18, 2011 at 12:25 am
  • Hello, i would like to ask you another question. Is exist anymethod to vectors that tells me the last element?That is to say,I have a vector, I want to return the position of last element. I hope ...
    YonosoyelmejorYonosoyelmejor
    Nov 24, 2009 at 10:18 am
    Nov 25, 2009 at 9:55 am
  • Dear R-users, I've just installed the last version of R (2.10.0) in Windows and found a completely new version of the help pages. Basically, they now appear as a simple (even if slightly embellished) ...
    Antonio GasparriniAntonio Gasparrini
    Nov 5, 2009 at 8:10 pm
    Nov 6, 2009 at 7:42 pm
  • I'm running R 2.10.0 under Mac OS X 10.5.8; however, I don't think this is a Mac-specific problem. I have a very large (158,908 possible sentences, ca. 58 MB) plain text document d which I am trying ...
    Richard LiuRichard Liu
    Nov 3, 2009 at 4:01 pm
    Nov 6, 2009 at 3:09 pm
  • Hi, We could use qqplot to see how two distributions are different from each other. To show better how they are different (departs from the straight line), how is it possible to plot the straight ...
    Carol whiteCarol white
    Nov 2, 2009 at 3:40 pm
    Nov 3, 2009 at 12:33 am
  • I'm working on Loess fit models using R, once I have the fit accomplished, I'm looking to back-out the equation of the fitted non-linear curve, wondering if there is a way to determine this equation ...
    Christian MinerChristian Miner
    Nov 23, 2009 at 7:03 pm
    Apr 18, 2010 at 3:15 pm
  • http://old.nabble.com/file/p26418382/hist1.png hist1.png i want three plots along on the side , how to i do that ? and I also want to change the colour of the bars for each plot, how do i do that ? i ...
    Ychu066Ychu066
    Nov 19, 2009 at 12:33 am
    Nov 23, 2009 at 1:58 am
  • Dear all, I cannot find a function which would allow drawing hist and density on the same graph. x <- seq(1,40,1) y <- 2*x+1+5*rnorm(length(x)) hist(y,freq = FALSE) plot(density(y)) thanks a lot for ...
    TrafimTrafim
    Nov 30, 2009 at 11:01 am
    Dec 2, 2009 at 8:09 pm
  • Hi all, Anyone experienced in the LaTeX format? I'm trying to use the xtable package to create nice anova tables, but how do I do to produce a pdf from the resulting LaTeX table? I've tried WinShell ...
    Joel Fürstenberg-HäggJoel Fürstenberg-Hägg
    Nov 24, 2009 at 2:02 pm
    Nov 24, 2009 at 5:44 pm
  • Hi, I got problem in using title function to create a title for multiple plots presented together by par. As can be seen in the attached file, the title is displayed truncated and the subtitle ...
    Carol whiteCarol white
    Nov 21, 2009 at 4:21 pm
    Nov 21, 2009 at 10:51 pm
  • a graph question. Thanks a lot in advance. I made two scatterplots on one graph (sigma vs. delta1, sigma vs. delta2) (20 observations of delta1, delta2 and corresponding sigma) the x-axis is sigma, ...
    Gcheer3Gcheer3
    Nov 20, 2009 at 4:37 am
    Nov 20, 2009 at 8:31 pm
  • Hello, I am having trouble by using the write.table function to write a data frame of 4 columns and 7530 rows. I don?t know if I should just use a sep="\n" and change the .xls file into a .csv file ...
    Anna_lAnna_l
    Nov 16, 2009 at 7:49 pm
    Nov 18, 2009 at 10:22 pm
  • I am trying to write R codes for the histogram plot and saving it out. There will be 146 histogram plots in total?. I have the following R codes that draws the each Histogram ?. library(lattice) ...
    Ychu066Ychu066
    Nov 13, 2009 at 3:10 am
    Nov 18, 2009 at 12:00 pm
  • Gurus: I keep seeing other people?s code that contain ideas like If (x == 2L) X[-1L] X - 1L I have some idea of what?s going on, but where is the use of concepts like ?2L? documented? Thanks, Bryan ...
    Bryan HansonBryan Hanson
    Nov 16, 2009 at 11:22 pm
    Nov 18, 2009 at 3:07 am
  • I run R on a linux machine that has 8GB memory. But R gives me an error "Error: cannot allocate vector of size 3.4 Gb". I'm wondering why it can not allocate 3.4 Gb on a 8GB memory machine. How to ...
    Peng YuPeng Yu
    Nov 6, 2009 at 9:30 pm
    Nov 11, 2009 at 2:03 pm
  • I'm wondering which textbook discussed the various contrast matrices mentioned in the help page of 'contr.helmert'. Could somebody let me know? BTW, in R version 2.9.1, there is a typo on the help ...
    Peng YuPeng Yu
    Nov 8, 2009 at 4:03 pm
    Nov 10, 2009 at 9:44 am
  • Dear All, I want to see a R package code, how can I do that? what file in the package? -- Best wishes, Zhijiang Wang -------------------------------------------- PHD Student Room 212, Science ...
    Zhijiang WangZhijiang Wang
    Nov 5, 2009 at 4:08 am
    Nov 7, 2009 at 11:27 pm
  • Dear Rxperts! I was wondering if it is possible to write a function which can take in argument of a subset or condition.. Of course, I am aware of the alternate methods like coplot, par.plot, xyplot ...
    SantoshSantosh
    Nov 21, 2009 at 1:40 am
    Dec 12, 2009 at 12:30 am
  • I'm trying to write code to calculate partial correlations (along with p-values). I'm new to R, and I don't know how to do this. I have searched and come across different functions, but I haven't ...
    DadrivrDadrivr
    Nov 11, 2009 at 8:56 pm
    Dec 5, 2009 at 6:01 pm
  • Hello, R users, I have a dataset that looks like this: id var1 var2 1 1 3 2 3 1 3 2 1 4 1 2 5 2 3 I want to split one column to two columns with 1 = 1 and 1, 2 = 1 and 2, 3 2 and 2: id var1.1 var1.2 ...
    LisajLisaj
    Nov 24, 2009 at 3:51 pm
    Nov 25, 2009 at 9:53 am
  • Hi guys , Im trying to do principal component analysis in R . There is 2 ways of doing it , I believe. One is doing principal component analysis right away the other way is standardizing the matrix ...
    MasterinexMasterinex
    Nov 22, 2009 at 1:21 am
    Nov 24, 2009 at 4:18 am
  • Dear R users, I would like to show the estimated density of a (0, 1) uniformly distributed random variable. The density curve, however, goes beyond 0 and 1 because of the kernel smoothing. Example: x ...
    Justine RochonJustine Rochon
    Nov 5, 2009 at 9:35 am
    Nov 7, 2009 at 10:40 am
  • Hello, I am searching for a function to calculate "partial" cumsums. For example it should calculate the cumulative sums until a NA appears, and restart the cumsum calculation after the NA. this: x ...
    SmuSmu
    Nov 11, 2009 at 3:58 pm
    May 30, 2011 at 8:03 am
  • My question if in the Subject, but if to extend: I am specifically curious about WordPress blogs. But any solution will give me a lead. Thanks, Tal ---------------------------------------------- ...
    Tal GaliliTal Galili
    Nov 20, 2009 at 6:26 pm
    Feb 12, 2010 at 1:46 pm
  • Hi, I would like to save a few dynamically created objects to disk. The following is the basic flow of the code segment for(i = 1:10) { m = i:5 save(m, file = ...) ## ??? } To distinguish different ...
    JeffcJeffc
    Nov 2, 2009 at 2:53 am
    Dec 12, 2009 at 9:31 pm
  • Dear R helpers, Almost 15 days back I have become member of this very active and wonderful group. So far I have been only raising queries and in turn got them solved too and I really thank for the ...
    Julia CainsJulia Cains
    Nov 30, 2009 at 7:22 am
    Nov 30, 2009 at 9:56 pm
  • Please help me persuade IT to install R on my computer! All suggestions welcome. Our IT department run scared when you mention software that they have no working experience of. I need to know the ...
    FrenchcrFrenchcr
    Nov 22, 2009 at 11:14 am
    Nov 23, 2009 at 1:51 pm
  • Hello all, When using R for some time, one comes across more and more useful functions. But naturally we can't remember all of them, so I imagine some of you save these snippets of code. My question ...
    Tal GaliliTal Galili
    Nov 22, 2009 at 4:53 pm
    Nov 22, 2009 at 8:26 pm
  • Within a very large matrix composed of a mix of values and NAs, e.g, matrix A: [,1] [,2] [,3] [1,] 1 NA NA [2,] 3 NA NA [3,] 3 10 17 [4,] 4 12 18 [5,] 6 16 19 [6,] 6 22 20 [7,] 5 11 NA I need to be ...
    Jim BouldinJim Bouldin
    Nov 21, 2009 at 6:34 pm
    Nov 22, 2009 at 7:42 pm
  • Dear list, I'm seeking advice to extract some numeric values from a log file created by an external program. Consider the following example, input <- readLines(textConnection( "some text <ax = ...
    Baptiste auguieBaptiste auguie
    Nov 18, 2009 at 11:57 am
    Nov 18, 2009 at 8:21 pm
  • Hi, I want to apply ^ operator to a vector but it is applied to some of the elements correctly and to some others, it generates NaN. Why is it not able to calculate -6.108576e-05^(1/3) even though it ...
    Carol whiteCarol white
    Nov 16, 2009 at 10:24 am
    Nov 16, 2009 at 1:41 pm
  • I'm trying to import a table into R the file is about 700MB. Here's my first try: Error: cannot allocate vector of size 15.6 Mb In addition: Warning messages: 1: In scan(file, what, nmax, sep, dec, ...
    MaiyaMaiya
    Nov 10, 2009 at 12:10 pm
    Nov 11, 2009 at 8:41 pm
  • Exactly! Thanks, Duncan. Let me re-phrase me question like this: 1) X_i values are independent Gammas, with the shape 0.067 and scale 0.008 2) Min(X)=1 and Max(X)=85 3) SUM(X)=2000 4) Do I also have ...
    Hongwei DongHongwei Dong
    Nov 10, 2009 at 7:26 pm
    Nov 10, 2009 at 10:31 pm
  • I read somewhere that t.test is equivalent to a hypothesis testing for one way ANOVA. But I'm wondering how they are equivalent. In the following code, the p-value by t.test() is not the same from ...
    Peng YuPeng Yu
    Nov 5, 2009 at 2:21 pm
    Nov 9, 2009 at 9:53 pm
  • Dear all, I am attempting to export my results (data.frame) created with the help of a number of you to Excel. In the procedure my column structure is however lost and all results are placed together ...
    Hayes, DanielHayes, Daniel
    Nov 5, 2009 at 9:56 am
    Nov 6, 2009 at 8:56 am
  • Hi All, I am making a serious effort to try to learn R, but one hurdle I am facing is that I need to "see" the data as I walk through the examples in the packages. For instance, many examples on the ...
    Brock TibertBrock Tibert
    Nov 27, 2009 at 4:46 am
    Nov 27, 2009 at 11:23 am
  • Hello, I just started using R to do epidemiologic simulation research using the Cox proportional hazard model. I have 2 covariates X1 and X2 which I want to model as h(t,X)=h0(t)*exp(b1*X1+b2*X2). I ...
    RWilliamRWilliam
    Nov 19, 2009 at 5:00 pm
    Nov 23, 2009 at 11:41 pm
  • Greetings, All! I want to draw contour lines in red, using contour(), but also have the contour labels (for the level-values) in black so that they will stand out against a coloured background ...
    Ted HardingTed Harding
    Nov 22, 2009 at 5:06 pm
    Nov 23, 2009 at 1:24 am
  • Dear R users, I am running R 2.10.0 on OS X 10.5.8. I had been running 2.10 successfully for about a week (and have used previous R versions for 2+ years on the same computer) until 2 days ago it ...
    StrophariaStropharia
    Nov 20, 2009 at 3:45 am
    Nov 20, 2009 at 8:45 pm
  • Greetings All. According to the PLoS (Public Library of Science) Guidelines for Figure preparation, if a figure is submitted as EPS rather than TIFF then "Figure text must be in Arial font" -- see ...
    Ted HardingTed Harding
    Nov 19, 2009 at 11:00 am
    Nov 19, 2009 at 1:50 pm
  • Hi, I have a complex-valued vector X in C^n. Given another complex-valued vector Y in C^n, I want to find a permutation of Y, say, Y*, that minimizes ||X - Y*||, the distance between X and Y*. Note ...
    Ravi VaradhanRavi Varadhan
    Nov 12, 2009 at 3:09 pm
    Nov 18, 2009 at 3:24 pm
  • Hi, I would like to extract the last row of each group in a data frame. The data frame is as follows Name Value A 1 A 2 A 3 B 4 B 8 C 2 D 3 I would like to get a data frame as Name Value A 3 B 8 C 2 ...
    Hao CenHao Cen
    Nov 16, 2009 at 7:42 pm
    Nov 17, 2009 at 1:04 pm
Group Navigation
period‹ prev | Nov 2009 | next ›
Group Overview
groupr-help @
categoriesr
discussions1,052
posts3,489
users884
websiter-project.org
irc#r

884 users for November 2009

David Winsemius: 271 posts Duncan Murdoch: 79 posts Peng Yu: 77 posts Jim holtman: 75 posts Uwe Ligges: 75 posts Gabor Grothendieck: 69 posts Peter Ehlers: 66 posts Marc Schwartz: 38 posts Frenchcr: 37 posts Sharpie: 33 posts Baptiste auguie: 31 posts Peter Dalgaard: 31 posts Ychu066: 31 posts Jorge Ivan Velez: 30 posts Henrique Dallazuanna: 29 posts Greg Snow: 25 posts Jason Rupert: 25 posts Karl Ove Hufthammer: 25 posts Ravi Varadhan: 25 posts Ista Zahn: 23 posts
show more
Archives