FAQ

Search Discussions

325 discussions - 1,069 posts

  • Hi, im trying to create a 3-D interpretation of a geological fault using the akima package. But my code fails below highlighted in red: Does anyone have any ideas why this is. Thanks ...
    Shane CareyShane Carey
    Dec 10, 2013 at 3:35 pm
    Dec 16, 2013 at 7:58 pm
  • Dear R-help I am using Knitr and ggplot to draft an article and have now started to improve on the layout and graphics. So far I have not been able to maintain the same font size for labels in all my ...
    Daniel HaugstvedtDaniel Haugstvedt
    Dec 22, 2013 at 11:42 am
    Dec 23, 2013 at 10:20 pm
  • I am reading the code below. It acts on a csv file called dodgers.csv with the following variables. 'data.frame': 81 obs. of 12 variables: $ month : Factor w/ 7 levels "APR","AUG","JUL",..: 1 1 1 1 1 ...
    BillBill
    Dec 2, 2013 at 11:24 am
    Dec 3, 2013 at 11:33 pm
  • Let us suppose that we have a function foo(X) which is called inside another function, bar(). Suppose, moreover, that the name "X" has been assigned a value when foo is called: X <- 2 bar(X=X){ ...
    Andrew HoernerAndrew Hoerner
    Dec 29, 2013 at 3:27 am
    Dec 30, 2013 at 9:54 pm
  • Hello, My x-y scatterplot produces a very ragged best-fit line when imported into Word. * plot (data.file$x, data.file$y, type = "p", las=1, pch=20, ylab = expression("Cover of Species y" ~ ...
    David hamerDavid hamer
    Dec 15, 2013 at 11:00 pm
    Dec 23, 2013 at 6:30 pm
  • I think I'm missing something. I have a data frame that looks below. sample.df<-data.frame(var1=rbinom(50, size=1, prob=0.5), var2=rbinom(50, size=2, prob=0.5), var3=rbinom(50, size=3, prob=0.5), ...
    Simon KissSimon Kiss
    Dec 18, 2013 at 1:53 am
    Dec 19, 2013 at 9:51 pm
  • I am having trouble understanding how to use sapply (or similar functions) with a user defined function with multiple parameters. I have the following functions defined q1.ans <- function(x) { retVal ...
    Walter AndersonWalter Anderson
    Dec 6, 2013 at 3:44 pm
    Dec 10, 2013 at 9:39 pm
  • Hi, I have a dataset with two independent variables (x, y) and a response variable (z). I was hoping to generate a response surface by plotting x, y, z on a three dimensional plot. I can plot the ...
    Jun ShenJun Shen
    Dec 4, 2013 at 4:36 pm
    Dec 6, 2013 at 8:28 pm
  • Dear all, I fit co-integration function between two integrated variables(y1 and y2) over different grid points: for(i in 1:N1){ for(j in 1:N2){ ...
    Mamush bukanaMamush bukana
    Dec 23, 2013 at 5:07 pm
    Dec 26, 2013 at 12:14 am
  • ifelse ((day_of_week == "Monday"),1, ifelse ((day_of_week == "Tuesday"),2, ifelse ((day_of_week == "Wednesday"),3, ifelse ((day_of_week == "Thursday"),4, ifelse ((day_of_week == "Friday"),5, ifelse ...
    BillBill
    Dec 3, 2013 at 12:33 am
    Dec 4, 2013 at 1:28 am
  • Dear all, I am trying to install a private package, with its dependencies. However, both install.packages("sand_1.0.tar.gz", dependencies=TRUE, repos=NULL, type="source") and ...
    Gábor CsárdiGábor Csárdi
    Dec 17, 2013 at 4:26 pm
    Dec 17, 2013 at 10:04 pm
  • I seem to be able to use expected values that are decimal (e.g., 1.33) when using chisq.test but not when using fisher.test. This happens when using an array/matrix as input. Fisher.test returns ...
    BakerwlBakerwl
    Dec 10, 2013 at 10:04 pm
    Dec 11, 2013 at 3:55 pm
  • Laura Bethan Thomas [lbt1]Laura Bethan Thomas [lbt1]
    Dec 23, 2013 at 12:31 pm
    Jan 27, 2014 at 2:33 pm
  • I was recently reminded on this list that "Using 1:ncol() is bad practice (seq_len is designed for that purpose)" (Ripley) This triggers the following question: What is "good practice" for 2:ncol(x)? ...
    Göran BroströmGöran Broström
    Dec 21, 2013 at 10:57 pm
    Jan 2, 2014 at 6:00 pm
  • Hey! http://expertiza-tv.ru/_1b3a_your.time.came_e5c2_.html?hicjpocix148039
    Francisco J. ZagmuttFrancisco J. Zagmutt
    Dec 2, 2013 at 1:59 am
    Dec 20, 2013 at 6:52 am
  • It must be the case that this issue has already been rised before, but I did not manage to find it in past posting. In some cases, optim() and nlminb() declare a successful convergence, but the ...
    Adelchi AzzaliniAdelchi Azzalini
    Dec 16, 2013 at 3:09 pm
    Dec 17, 2013 at 10:03 pm
  • Dear List, I'm quite new to R and want to do logistic regression with a 200K feature data set (around 150 training examples). I'm aware that I should use Naive Bayes but I have a more general ...
    Romeo KienzlerRomeo Kienzler
    Dec 12, 2013 at 8:00 am
    Dec 12, 2013 at 4:09 pm
  • Can anyone recommend a good way to add tables? Ideally I would like t1 <- table(x1) t2 <- table(x2) t1+t2 It t1 and t2 have the same levels this works fine, but I need something that will work even ...
    Ross BoylanRoss Boylan
    Dec 9, 2013 at 11:59 pm
    Dec 10, 2013 at 7:10 pm
  • useRs, The example code below is an attempt to plot some spatial data that is associated with an irregularly spaced grid. The last thing I hope to do with this example is assign the color of each ...
    Morway, EricMorway, Eric
    Dec 23, 2013 at 6:11 pm
    Jan 17, 2014 at 2:54 pm
  • Hi again, I have loaded a huge csv file in R using 'ff' package, however could not understand how can I subset the loaded object. Below is my try: ffdf (all open) dim=c(4,2), dimorder=c(1,2) ...
    Christofer BogasoChristofer Bogaso
    Dec 28, 2013 at 5:26 pm
    Dec 29, 2013 at 5:07 am
  • R Users, I have a data frame which I split using 2 factors using the split function: split(datframe, list(f=factor1, f2=factor2)); I then used lapply to get some summary statistics grouped by factor1 ...
    Onur UncuOnur Uncu
    Dec 22, 2013 at 11:54 pm
    Dec 23, 2013 at 6:13 pm
  • I used the by() function on a data.frame to get sums of the data grouped by 2 factors. The function worked however the output is in a class called 'by'. Not familiar with this class. How can I turn ...
    Onur UncuOnur Uncu
    Dec 20, 2013 at 5:38 pm
    Dec 21, 2013 at 3:38 pm
  • I have a data frame whose first colum contains the names of the variables and whose second colum contains the values to assign to them: : kkk <- data.frame(vars=c("var1", "var2", "var3"), vals=c(10, ...
    Julio Sergio SantanaJulio Sergio Santana
    Dec 6, 2013 at 7:27 pm
    Dec 20, 2013 at 4:03 pm
  • Hello R user, I have created two plots (attached!) using the codes below and would like to merge these figures in one. any suggestions are highly appreciated! Thanks, ...
    Bibek sharmaBibek sharma
    Dec 17, 2013 at 5:33 pm
    Dec 17, 2013 at 10:46 pm
  • I get an invalid connection method error message when trying to write an R object from a user-defined function to my hard drive (running Windows 7) using write.csv. I have previously not had this ...
    J KaronJ Karon
    Dec 13, 2013 at 7:11 pm
    Dec 16, 2013 at 11:38 pm
  • seq(as.Date("2001/1/1"),as.Date("2010/1/1"),"years") seq(as.Date("2001/1/1"),as.Date("2010/1/1"),"weeks") seq(as.Date("2001/1/1"),as.Date("2010/1/1"),"days") why there is no ...
    水静流深水静流深
    Dec 15, 2013 at 11:43 am
    Dec 16, 2013 at 1:21 pm
  • Hi, I found follwowing example of pnorm here: http://www.r-tutor.com/elementary-statistics/probability-distributions/normal-distribution Problem Assume that the test scores of a college entrance exam ...
    Johannes RadingerJohannes Radinger
    Dec 12, 2013 at 1:56 pm
    Dec 12, 2013 at 3:55 pm
  • Dear colleagues, For the past two weeks we have been struggling to create a proper image with stable pixels, height & width from R for various screen resolutions. We are trying to generate a wmf ...
    Venkat KarthikVenkat Karthik
    Dec 7, 2013 at 12:46 pm
    Dec 9, 2013 at 7:36 am
  • Hi all. I'm ploting a raster and I can't find the proper way to move the legend. For example, r = raster(system.file("external/test.grd", package="raster"))plot(r) How can I put the legend at the ...
    Philippe massicottePhilippe massicotte
    Dec 2, 2013 at 7:21 pm
    Dec 2, 2013 at 8:40 pm
  • Dear R helpers, I have a data sheet (�milk�) with four types of milk from five brands (A, B, C, D, E), the column shows the brands that each customer chose for each type of the milk they bought. The ...
    Jingxia LinJingxia Lin
    Dec 29, 2013 at 1:40 pm
    Jan 16, 2014 at 4:36 pm
  • I need to graph categorical data like a or b in the the following figure. Could anybody let me know what command line I should go with? Thanks a lot!
    Capricy gaoCapricy gao
    Dec 28, 2013 at 3:25 am
    Dec 30, 2013 at 6:42 pm
  • Hello, i'm using R for the exploration of a time series and i'm stuck in a problem with the fitting of the distribution. What's the difference between "fitdistr" and "mle"? library(MASS) fitting <- ...
    Tia BorrelliTia Borrelli
    Dec 23, 2013 at 7:06 pm
    Dec 26, 2013 at 2:41 pm
  • Dear R Users I have a list of functions. Each function in the list is a function of single variable. I would like to create a function (of one variable) which represents the sum of all the functions ...
    Onur UncuOnur Uncu
    Dec 19, 2013 at 7:05 pm
    Dec 20, 2013 at 5:30 pm
  • I found all the color transparency was defined with character color, or rgb color. What if I have number code and still try to modify the transparency? For example: here I defined color by numbers, ...
    Capricy gaoCapricy gao
    Dec 18, 2013 at 7:08 pm
    Dec 19, 2013 at 12:34 am
  • I am trying to get odfWeave to work and I seem to be doing something stupid. Straightforward inline statements and plain code chunks are working fine but when I try to use an actual odfWeave ...
    John KaneJohn Kane
    Dec 17, 2013 at 3:00 pm
    Dec 17, 2013 at 5:05 pm
  • I have data in the form of a two-way table recording the number of families with varying numbers of boys (rows) and girls (columns: g0 -- g12) below, also given in dput() format. I want to convert ...
    Michael FriendlyMichael Friendly
    Dec 13, 2013 at 7:41 pm
    Dec 16, 2013 at 9:12 pm
  • Dear users of R, How can i plot the values in column "C" with "A" on x-axis and "B" on y-axis?s <- "A B C 0.451 0.333 1134 0.491 0.270 1433 0.389 0.249 7784 0.425 0.819 6677 0.457 0.429 99053 0.436 ...
    Eliza bottoEliza botto
    Dec 14, 2013 at 2:30 pm
    Dec 14, 2013 at 10:29 pm
  • Suppose I have a dataframe defined as L3 <- LETTERS[1:3] (d <- data.frame(cbind(x = 1, y = 1:10), fac = sample(L3, 10, replace = TRUE))) x y fac 1 1 1 C 2 1 2 A 3 1 3 B 4 1 4 C 5 1 5 B 6 1 6 B 7 1 7 ...
    Gang ChenGang Chen
    Dec 13, 2013 at 9:15 pm
    Dec 13, 2013 at 10:14 pm
  • Dear Community, I am struggling with a growth curve estimation problem. It is a classic BMI change with age calculation. I am not an expert of this field but have some statistical experience in other ...
    Dániel KehlDániel Kehl
    Dec 8, 2013 at 3:45 pm
    Dec 13, 2013 at 5:33 pm
  • hello together, i want to filter a data.frame. My problem is, that i want to filter 2 numbers. My data.frame look like this one. No. text 1 abc 2 def 3 ee 4 ff 5 gg I want now to filter No. 2 and 3, ...
    MatMat
    Dec 13, 2013 at 12:59 pm
    Dec 13, 2013 at 3:41 pm
  • Hi folks, I am using the lme package of R, and am wondering if it is assumed that the dependent factor (what we fit for; y in many relevant texts) has to have a normal Gaussian distribution? Is there ...
    PeymanPeyman
    Dec 10, 2013 at 2:55 pm
    Dec 11, 2013 at 4:11 pm
  • Dear R Users Have run into a problem with the rJava package recently. I do not seem to be able to load the package. I am on R 3.0.2 and updated the rJava package this morning from the Pennsylvania ...
    Tolga UzunerTolga Uzuner
    Dec 8, 2013 at 2:03 pm
    Dec 8, 2013 at 7:38 pm
  • Dear Friends, I'm using Matchit package for a Cohor Study. After match the number provided by the summary output apparently don't correspond to the true value: Here the values provided by summary ...
    Thyago MoraesThyago Moraes
    Dec 27, 2013 at 8:17 pm
    Jan 5, 2014 at 1:49 pm
  • Let us suppose that we have a function foo(X) which is called inside another function, bar(). Suppose, moreover, that the name "X" has been assigned a value when foo is called. I have noticed that ...
    Andrew HoernerAndrew Hoerner
    Dec 16, 2013 at 5:31 pm
    Dec 30, 2013 at 4:47 am
  • Hi I am attempting to translate some of the models that Donella Meadows wrote about in her book "Thinking in systems" into code. Originally, I had wanted to do this in Python, but thought that it ...
    Sun shineSun shine
    Dec 28, 2013 at 3:46 pm
    Dec 29, 2013 at 11:08 am
  • Greetings All! With the Festive Season fast approaching, I bring you joy with the news (which you will surely wish to celebrate) that R cannot do arithmetic! Usually, this is manifest in a trivial ...
    Ted HardingTed Harding
    Dec 22, 2013 at 9:59 am
    Dec 22, 2013 at 6:41 pm
  • Is it possible to vary the size of the panels in lattice within one page? The examine I have in mind is a 3 row by 2 column display where I vary the y-axis scales in a dot plot and there are only a ...
    Frank HarrellFrank Harrell
    Dec 21, 2013 at 11:18 pm
    Dec 22, 2013 at 1:39 pm
  • Dear Rxperts.. I recently received a data file with the extension ".slk". If I save the file as MS Excel file, I am able to read in R without issues. Is it possible to read this ".slk" file without ...
    SantoshSantosh
    Dec 16, 2013 at 11:10 pm
    Dec 19, 2013 at 9:51 pm
  • Dear list-members, I have the following problem: I have a vector (countrydiff) with length 72 and another vector (long_df$country_name) which is about 12000 long. Basically what I want to do is to if ...
    AdelAdel
    Dec 18, 2013 at 1:57 pm
    Dec 18, 2013 at 3:18 pm
  • Here is a rather long discussion etc about freetype 2.5.2, problem with the survival package, and build R 2.15.x with gcc 4.8.x. Please feel free to skip forward. - freetype 2.5.2: the fix to cope ...
    Hin-Tak LeungHin-Tak Leung
    Dec 12, 2013 at 3:30 am
    Dec 18, 2013 at 12:06 am
Group Navigation
period‹ prev | Dec 2013 | next ›
Group Overview
groupr-help @
categoriesr
discussions325
posts1,069
users351
websiter-project.org
irc#r

351 users for December 2013

Arun: 70 posts David Winsemius: 57 posts Duncan Murdoch: 33 posts Jeff Newmiller: 27 posts Bert Gunter: 25 posts William Dunlap: 25 posts Sarah Goslee: 20 posts Andrew Hoerner: 17 posts David Carlson: 17 posts Jim Lemon: 15 posts Uwe Ligges: 15 posts John Kane: 14 posts Ben Bolker: 13 posts PIKAL Petr: 12 posts 水静流深: 12 posts Eliza botto: 11 posts Shane Carey: 11 posts Capricy gao: 10 posts Rolf Turner: 10 posts Bill: 9 posts
show more
Archives