Grokbase Groups R r-help August 2008

Search Discussions

840 discussions - 2,815 posts

  • A friend of mine came to me with the two envelopes problem, I hadn't heard of this problem before and it goes like this: someone puts an amount `x' in an envelope and an amount `2x' in another. You ...
    Aug 25, 2008 at 7:40 pm
    Aug 27, 2008 at 6:27 pm
  • Hi I'm wondering if you could save new data frames with in a loop using the names within the data frame... I.e. If you have a data frame as below Product Type Test A One 67 A Two 55 B One 42 A One 55 ...
    Lars ModigLars Modig
    Aug 7, 2008 at 11:21 am
    Feb 21, 2009 at 5:15 pm
  • Hello, is there a simple way to give all combinations for a given vector: v<-c("a","b","c") combination(v,v) becomes "aa","ab","ac","bb","bc","cc' combination(v,v,v) becomes ...
    Yuan JianYuan Jian
    Aug 31, 2008 at 8:03 am
    Sep 2, 2008 at 3:01 pm
  • I recently came across a flyer from REvolution Computing, and I wanted to ask if this is R going private? Tony.
    Aug 8, 2008 at 2:13 pm
    Aug 11, 2008 at 4:55 pm
  • Hi everyone, I have a matrix that has a combination of zeros and NAs. When I perform certain calculations on the matrix, the zeros generate "Inf" values. Is there a way to either convert the zeros in ...
    Aug 12, 2008 at 5:43 pm
    Aug 14, 2008 at 9:33 pm
  • Hi, all, I would like to know if there is any gui interface out there (academic or commercial) that allows one to edit R-language generated graphs (e.g positioning x axis labels.) It would be nice to ...
    Arthur RobertsArthur Roberts
    Aug 4, 2008 at 4:50 pm
    Aug 11, 2008 at 5:13 pm
  • I'm trying to learn how to calibrate/postStratify/rake survey data in preparation for a large survey effort we're about to embark upon. As a working example, I have results from a small survey of ...
    Farley, RobertFarley, Robert
    Aug 18, 2008 at 3:50 pm
    Aug 29, 2008 at 5:23 pm
  • Hi I am running an R script that creates 100s of graphs, and I need to use the greek CAPITAL letter delta in the mtext() function. I got as far as expression(delta) but this gives me the lowercase ...
    michael watson (IAH-C)michael watson (IAH-C)
    Aug 5, 2008 at 11:14 am
    Aug 7, 2008 at 1:57 am
  • Dear R wizards: I decided to take the advice in the R data import/export manual and want to learn how to work with SQL for large data sets. I am trying SQLite with the DBI and RSQLite database ...
    Ivo welchIvo welch
    Aug 25, 2008 at 1:12 pm
    Sep 1, 2008 at 8:21 pm
  • Hi R, This is a very trivial one.... C=0.1 I want to check whether my value of C is between 0 and 1 exclusively.... I don't want to use (C 0 & C<1). And I can't use a single statement like (0<C<1) ...
    Shubha Vishwanath KaranthShubha Vishwanath Karanth
    Aug 12, 2008 at 11:46 am
    Aug 12, 2008 at 9:27 pm
  • The title says it all. Does anyone know of a way to save your packages when you upgrade to a new version of R? This may seem petty, but I'm accumulating enough packages that having to download and ...
    James MilksJames Milks
    Aug 28, 2008 at 2:02 am
    Aug 29, 2008 at 9:20 am
  • Hi, I want to fit some psychophysical data with cumulative gaussians. There is quite a convenient toolbox for matlab called 'psignifit' (formerly known as 'psychofit'). It allows the lower bound of ...
    Mario MaiwormMario Maiworm
    Aug 21, 2008 at 11:05 am
    Aug 25, 2008 at 7:14 pm
  • d <- structure(c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, NA, NA, NA, 14), .Dim = c(14L, 2L ), .Dimnames = list(NULL, c("a", "b"))) plot(d, type="b") This is ...
    Stephen sefickStephen sefick
    Aug 18, 2008 at 1:55 am
    Aug 19, 2008 at 9:52 pm
  • I was trying to help someone who used a spanish keyboard on a PC running Windows. he discovered that he had no tilde key. Does anyone know of any simple work-arounds? Thanks, Hank Dr. Hank Stevens, ...
    Martin Henry H. StevensMartin Henry H. Stevens
    Aug 12, 2008 at 10:00 am
    Aug 12, 2008 at 7:13 pm
  • Hello, Is this a bug or a feature? I am using R 2.7.1 on Apple OS X. x y "numeric" "numeric" x y yy "numeric" "numeric" "matrix" I'm not sure why dataframes are allowed to have matrices as members ...
    Daryl MorrisDaryl Morris
    Aug 13, 2008 at 1:30 am
    Jun 30, 2009 at 8:20 am
  • R2.7.1, WinXP Hi, I have a polygon inside a circle as follows: radius <- 3 x <- seq(-radius,radius,length 00) y <- sqrt(radius^2-x^2) xx <- c(x,-x) yy <- c(y,-y) plot(xx,yy, ...
    Roger LeendersRoger Leenders
    Aug 15, 2008 at 12:00 pm
    Aug 17, 2008 at 10:56 am
  • Hi, When I create an environment object with new.env() and populate it with values then how can I save it into an .RData file properly, so it can be loaded later on in a new session? Saving an ...
    Benjamin OttoBenjamin Otto
    Aug 15, 2008 at 11:41 am
    Aug 15, 2008 at 5:48 pm
  • I have just encountered the problem with rgl where plot3d figures don't interact with the mouse. My plots zoom in and out with the mouse wheel but the mouse buttons do nothing. I can't rotate the ...
    Barry RowlingsonBarry Rowlingson
    Aug 13, 2008 at 11:45 am
    Aug 14, 2008 at 7:49 pm
  • In trying to install the pbatR package, I was greeted with the error Error: package 'tcltk' does not have a name space Execution halted Directly installing the package tcltk2 returned the following ...
    Michael GormleyMichael Gormley
    Aug 8, 2008 at 5:27 pm
    Aug 11, 2008 at 9:24 am
  • Hi there, I am trying to reorganized my data sets so that it is easy for MARK to read it. Basically I have the encounter histories of 1837 butterflies The data looks like this the first 4 columns are ...
    Aug 2, 2008 at 8:07 pm
    Aug 4, 2008 at 3:59 pm
  • Is there a way to create a 'bubble plot' in R? For example, if we define the following data frame containing the level of y observed for 5 patients at three time points: time<-c(rep('time ...
    Cody HamiltonCody Hamilton
    Aug 2, 2008 at 3:06 am
    Aug 3, 2008 at 11:13 pm
  • Dear R Users, I am looking for an alternative to AIC or BIC to choose model parameters. This is somewhat of a general statistics question, but I ask it in this forum as I am looking for a R ...
    Tolga I UzunerTolga I Uzuner
    Aug 13, 2008 at 4:33 pm
    Aug 21, 2008 at 12:24 pm
  • Dear All, I have developed a programme the anable the decomposition of the Gini index, it complets tha valuable work of Achim Zeileis, the author of the ineq package. I would like to make it to be ...
    Ndoye SouleymaneNdoye Souleymane
    Aug 19, 2008 at 7:46 am
    Aug 20, 2008 at 10:17 am
  • Hey list! I have a csv-file with two variables: (Date,CMI) Date,CMI Jan-93,3.24 Feb-93,-2.56 . . . Dec-06, 8.25 When I want to plot this dataset, R is sorting the date in alphabetical order. Is there ...
    Schreiber, StefanSchreiber, Stefan
    Aug 15, 2008 at 5:12 pm
    Aug 15, 2008 at 11:42 pm
  • Hi, I was wondering if there's a way in R to open a web browser (such as Internet Explorer, or Firefox or whatever). I'm doing some analyses that have associated urls, and it would be nice to have ...
    J DelasHerasJ DelasHeras
    Aug 15, 2008 at 10:55 am
    Aug 15, 2008 at 3:24 pm
  • Sorry if this post should be long but I tried to give you a piece of my data to reproduce my error message using hetcor: Fehler in result$rho : $ operator is invalid for atomic vectors Zus?tzlich ...
    Aug 7, 2008 at 10:02 am
    Aug 7, 2008 at 2:13 pm
  • Hey, I am just starting to learn R now and I typed in this simple survival program: library(survival) t <- c(10,13,18,19,23,30,36,38,54,56,59,75,93,97,104,107,107,107) c <- ...
    Aug 7, 2008 at 7:56 am
    Aug 7, 2008 at 12:30 pm
  • I need to do a model II linear regression, but I could not find out how!! I tryed to use the lm function, but I did not discovered how to specify the model (type I or type II) to the function.. ...
    Danilo MunizDanilo Muniz
    Aug 29, 2008 at 5:37 pm
    Aug 29, 2008 at 10:10 pm
  • Dear R-list, I'd like to do a meta-analysis plot similar to install.packages('rmeta') require(rmeta) data(catheter) a <- meta.MH(n.trt, n.ctrl, col.trt, col.ctrl, data=catheter, names=Name, ...
    Jorge Ivan VelezJorge Ivan Velez
    Aug 25, 2008 at 6:44 pm
    Aug 26, 2008 at 2:43 pm
  • Hi all, I want to do plot() in a loop to make 10 graphs, so I have some code like for (i in 1:10) { plot(... ... , xlab = expression(g[i]) ) } I expect g_1, g_2, and so on appear on x labels, but it ...
    Nanye LongNanye Long
    Aug 18, 2008 at 10:00 pm
    Aug 26, 2008 at 11:06 am
  • Dear R-colleagues, I am quite a newbie to R fighting my stupidity to solve a probably quite simple problem of generating artificial data with defined features. I am conducting a study of ...
    Aug 22, 2008 at 12:12 pm
    Aug 25, 2008 at 3:26 pm
  • I'm trying to remove the elements "No" from the character vector ...
    Aug 20, 2008 at 6:16 pm
    Aug 21, 2008 at 10:29 am
  • Dear List: I am working to understand some differences between the results of the svymean() function in the survey package and from code I have written myself. The results from svymean() also agree ...
    Doran, HaroldDoran, Harold
    Aug 15, 2008 at 3:00 pm
    Aug 18, 2008 at 2:53 pm
  • Dear All, I have a large data frame ( 2700000 lines and 14 columns), and I would like to extract the information in a particular way illustrated below: Given a data frame "df": names col1 1 A 1 2 A 0 ...
    Emmanuel LevyEmmanuel Levy
    Aug 12, 2008 at 11:35 pm
    Aug 13, 2008 at 4:11 pm
  • Hi - I can access R from Tinn-R by going to Options- Main- Application/R and setting the search path, but each time I exit Tinn-R I have to redefine the search path. Is there no way of fixing that ...
    Paul ChatfieldPaul Chatfield
    Aug 5, 2008 at 1:02 pm
    Aug 6, 2008 at 8:12 pm
  • Hi, I would like to view matrices I am working with in a clean, easy to read, separate window. A friend showed me how to do something like I want with edit(). I can view the matrix in the 'R Data ...
    Rachel SchwartzRachel Schwartz
    Aug 1, 2008 at 5:29 pm
    Aug 4, 2008 at 4:00 pm
  • Greetings, I'm complety new to "R" and have a question. I've read through a couple of manuals but I'm having a problem with getting something run properly. I'd like to attempt to use the ...
    Aug 2, 2008 at 5:51 pm
    Aug 3, 2008 at 3:46 pm
  • Hi, i try to use function svm of package e1071 to estimate a density. But if my data are X=(X1,...,Xn) and m<-svm(X) some values of m$SV are less than 0. I don't see how i can get the estimation of ...
    Aug 20, 2008 at 1:29 pm
    May 5, 2009 at 2:43 pm
  • Hi, I have created a plot using filled.contour() and have the problem that one of the axis titles and an axis label are overlapping. I have tried changing par()$mgp (with, e.g. par(mgp=c(4,1,0)) ), ...
    Nicky ChorleyNicky Chorley
    Aug 20, 2008 at 4:58 pm
    Aug 21, 2008 at 8:37 am
  • I'm trying to test an extension of mosaic() from the vcd package that requires a change to the basic strucplot() function from that package. I want to test my change by sourcing the replacement ...
    Michael FriendlyMichael Friendly
    Aug 17, 2008 at 4:42 pm
    Aug 18, 2008 at 11:29 pm
  • Dear R-helpers, I am trying to check whether a model of the form y(t) = a/(1 +b*t) fits the curve of downloads per day of a file in a specific online community better than a model of the form y(t) = ...
    Nazareno AndradeNazareno Andrade
    Aug 12, 2008 at 6:10 am
    Aug 12, 2008 at 6:47 pm
  • Hi, I'm looking for a manual (we based or pdf) which would explain in detail with graphical examples what all the option can do in plot and par. Does anybody now anything like this? A couple of ...
    Zroutik ZroutikZroutik Zroutik
    Aug 11, 2008 at 12:38 pm
    Aug 11, 2008 at 10:47 pm
  • Dear R-users, I am currently writing an R package that contains three C++ files in the src/ source directory When i issue a R CMD check pkge_name, all the *.cpp files in the src/ directory will be ...
    Lafaye de Micheaux PierreLafaye de Micheaux Pierre
    Aug 11, 2008 at 12:17 pm
    Aug 11, 2008 at 9:29 pm
  • e1 <- function(x,b,t){ d<-(x)*(b^t) plot(d) } e1(2, 2,seq(from=0, to=6, by=1)) Is there a way to do this with a change in time. I would like to use differential equations. I am trying to model a ...
    Stephen sefickStephen sefick
    Aug 10, 2008 at 6:47 pm
    Aug 11, 2008 at 6:53 pm
  • I really like the ease of use with the boxplot command in R. I would rather have a boxplot that shows the average value and the standard deviation then the median value and the quartiles. Is there a ...
    Chad JunkermeierChad Junkermeier
    Aug 5, 2008 at 4:36 am
    Aug 6, 2008 at 3:23 pm
  • [1] 17409 If I look at the first element: $`100009` DayOfYear Quantity 1 66 1 2 128 1 3 137 1 4 193 1 Now how do I get the length of this list (actually it is another data.frame)? I have tried: [1] 1 ...
    Aug 8, 2008 at 9:18 pm
    Oct 14, 2011 at 12:43 pm
  • hi there, Is there any function to append the pdf file. I want to write in a pdf file some 100 plots(in one single pdf containing 100 plots) while all the plot are created using a for loop. I can ...
    Aug 5, 2008 at 4:41 pm
    Feb 17, 2009 at 7:04 am
  • Hi to all, seems to be simple, but I do not find the solution: What must I write for the splitted ???? to get splitted$"3"$x and splitted$"3"$x y = c(rep(2,5),rep(3,5)) ma <- data.frame(x = 1:10, y=y ...
    Knut KruegerKnut Krueger
    Aug 26, 2008 at 10:37 am
    Sep 10, 2008 at 4:08 pm
  • Hello all. I am an experienced R user, I have used R for many years for a wide variety of applications. However, I keep on running into one obstacle: I never want factors or levels in my data frames, ...
    Asher MeirAsher Meir
    Aug 31, 2008 at 9:01 am
    Sep 1, 2008 at 10:23 am
  • Dear R community, I find R fantastic and use R whenever I can for my data analytic needs. Certain data sets, however, are so large that other tools seem to be needed to pre-process data such that it ...
    Avram AelonyAvram Aelony
    Aug 21, 2008 at 6:32 pm
    Aug 29, 2008 at 8:36 pm
Group Navigation
period‹ prev | Aug 2008 | next ›
Group Overview
groupr-help @

768 users for August 2008

Prof Brian Ripley: 153 posts Gabor Grothendieck: 63 posts Peter Dalgaard: 59 posts Stephen sefick: 58 posts Jim Holtman: 56 posts Henrique Dallazuanna: 53 posts Duncan Murdoch: 35 posts Mark Difford: 35 posts Hadley wickham: 31 posts Rkevinburton: 31 posts Greg Snow: 30 posts Ben Bolker: 28 posts Marc Schwartz: 28 posts Rolf Turner: 28 posts Charles C. Berry: 27 posts Henrik Bengtsson: 24 posts Moshe Olshansky: 24 posts Dan Davison: 23 posts Rcoder: 23 posts Roland Rau: 21 posts
show more