Grokbase Groups R r-help October 2014
FAQ

Search Discussions

276 discussions - 897 posts

  • Hello Can someone help me with the following, specifically in judging whether a matrix exists. I have trouble with the first line below. In this case, matrix obj$hessian exists and is 74 x 74. I ...
    Steven YenSteven Yen
    Oct 19, 2014 at 4:17 am
    Jan 7, 2015 at 11:30 pm
  • Dear All, How can I change the format of date of day of the year ? for example r (i.e. "17 Apr" rather than "108"). The following is the type of the dataset I have head(Samaru) Year Start End Length ...
    Frederic NtirenganyaFrederic Ntirenganya
    Oct 7, 2014 at 7:32 am
    Oct 10, 2014 at 12:02 pm
  • I am trying to show that the red line ('yaw') in the upper of the two plots here; http://i.imgur.com/N4Xxb4f.png varies more within the pink sections ('transition 1') than in the light blue sections ...
    CJ DaviesCJ Davies
    Oct 29, 2014 at 5:12 pm
    Nov 5, 2014 at 12:29 am
  • Dear Rers, I am trying to run a for-loop in R. During each iteration I read in an mp3 file and do some basic processing. If I do what I need to do for each file one by one - it works fine. But once I ...
    Dimitri LiakhovitskiDimitri Liakhovitski
    Oct 20, 2014 at 3:30 pm
    Oct 22, 2014 at 7:37 pm
  • Dear usRers, ? ?I want to judge virable is or not a integer? ? e.g. ?is.integer(1) ?FALSE ? because it is a numeric, but i want it's true. as.integer may not be used. because i don't know a is 1 or ...
    PO SUPO SU
    Oct 18, 2014 at 10:41 am
    Oct 20, 2014 at 1:08 pm
  • Dear all, I use R 3.1.1 for Windows. I would like to use three-dimensional scatterplots to evaluate the agreement among 3 laboratory methods in a set of 30 subjects (all subjects was evaluated with ...
    Mario PetrettaMario Petretta
    Oct 31, 2014 at 3:31 pm
    Nov 23, 2014 at 10:46 am
  • Dear expeRts, ? Now i want to know how to implement an Unary operator?like? i++ in cpp's ?synax form. ??e.g.?? 2++? will let 2 be 3 ,? a<-2 ,a++?,will let a be 3 I tried this : ?'%++%'<-function(x){ ...
    PO SUPO SU
    Oct 17, 2014 at 4:29 am
    Oct 20, 2014 at 7:53 pm
  • Hello together, i have a short question. Maybe anyone can help me to create a barplot in R with the package lattice. I have the following data as ouput values and the following code: Data (d): KOST ...
    Matthias WeberMatthias Weber
    Oct 23, 2014 at 3:57 pm
    Oct 30, 2014 at 12:57 pm
  • I am new to R but a bit familiar with Stata and SPSS and a software dev. As I understand it right, there is no possibility to give variables or values a lable. Is that right? Just for example. "x" ...
    MoonkidMoonkid
    Oct 11, 2014 at 5:17 pm
    Oct 20, 2014 at 5:31 pm
  • Hello There! I have an issue reading a large text file and parsing it. I would be grateful if you let me you can help me about? Thanks. Javad [[alternative HTML version deleted]]
    JAVAD LESSANJAVAD LESSAN
    Oct 15, 2014 at 12:53 pm
    Dec 25, 2014 at 10:51 am
  • Hello, I want to do the following: Given a set of (number, value) pairs, I want to create a list l so that l[[toString(number)]] returns the vector of values associated to that number. It is hundreds ...
    Thomas NybergThomas Nyberg
    Oct 30, 2014 at 3:17 pm
    Oct 30, 2014 at 9:09 pm
  • I'm having an issue with grep: I have numerous columns that end with .at... when I use grep like so: df[,grep(".at",colnames(df))] it works fine. When I have one column that ends with .at, it does ...
    Kate IgnatiusKate Ignatius
    Oct 14, 2014 at 2:23 pm
    Oct 14, 2014 at 8:37 pm
  • What is the way to add an arbitrary fit from a model to a lattice conditioning plot ? For example xyplot(v1 ~v2 | v3,data=mydata, panel=function(...){ panel.xyplot(...) ...
    Bond, StephenBond, Stephen
    Oct 7, 2014 at 1:01 pm
    Oct 8, 2014 at 11:09 pm
  • Hi , When I run the following code , I get both the description and the value , eg : Intercept and 0.5714286. Is there a way to extract just the value 0.5714286? Thanks! Call: lm(formula = x ~ y) ...
    Billy amBilly am
    Oct 5, 2014 at 11:21 am
    Oct 6, 2014 at 5:54 pm
  • Hello! I hope someone can help me. It would save me days of work. Thanks in advance! I have two dataframes which look like these: myframe <- data.frame (Timestamp=c("24.09.2012 09:00:00", "24.09.2012 ...
    DagmarDagmar
    Oct 2, 2014 at 1:13 pm
    Oct 4, 2014 at 2:33 pm
  • A = matrix(1:10,nrow=5) B = A[-c(1,2,3),]; So [,1] [,2] [1,] 1 6 [2,] 2 7 [3,] 3 8 [4,] 4 9 [5,] 5 10 and [,1] [,2] [1,] 4 9 [2,] 5 10 I would like to compare A and B in order to find in which rows ...
    Charles Novaes de SantanaCharles Novaes de Santana
    Oct 31, 2014 at 1:12 pm
    Oct 31, 2014 at 3:27 pm
  • Dear, I have to compute the trace of a product between four matrices. For example, I know the matrices Wi, Wj and C, I need to compute this -trace(Wi%*%C^-1%*%Wj%*%C^-1) I would like to avoid compute ...
    Wagner BonatWagner Bonat
    Oct 19, 2014 at 2:43 pm
    Oct 28, 2014 at 3:18 pm
  • Dear All, I want to calculate water balance using the following formula: Water balance today = Water balance yesterday + Rainfall ? Evaporation This is a sample of data I am using: head(Wb30) May ...
    Frederic NtirenganyaFrederic Ntirenganya
    Oct 23, 2014 at 12:33 pm
    Oct 24, 2014 at 9:54 am
  • To Users of Excel: Following advice from Brian and Markus, I created an RMarkdown "vignette" that shows an example of how the pasteFromExcel function in the excelRio package on github could be used ...
    Dan MurphyDan Murphy
    Oct 20, 2014 at 6:18 am
    Oct 21, 2014 at 8:23 pm
  • A rather strange situation here and I've not found the source of the problem. The point is to print a ternary plot matrix of compositional data with ellipses enclosing 95% of the variance in each ...
    Rich ShepardRich Shepard
    Oct 14, 2014 at 9:20 pm
    Oct 21, 2014 at 12:51 am
  • Subscribers, A version of R is installed in a virtual machine, which has complete internet access via the host. The following error occurs when a package is selected: install.packages([packagename], ...
    RlRl
    Oct 14, 2014 at 3:00 pm
    Oct 16, 2014 at 3:52 pm
  • So please be prepared... Ok. I made a copy of the arima.r function called earima.r to put in some print statements. Fair enough. Now when I run earima, the .Call statements call find the C ...
    Erin HodgessErin Hodgess
    Oct 3, 2014 at 4:09 pm
    Oct 6, 2014 at 4:30 pm
  • Is there an easy way to check whether a variable is within +/- 10% range of another variable in R? Say, if I have a variable 'A', whether its in +/- 10% range of variable 'B' and if so, create ...
    Kate IgnatiusKate Ignatius
    Oct 1, 2014 at 10:11 pm
    Oct 2, 2014 at 1:55 pm
  • Hello! I have a code that creates an hclust object. After the object creation I plot the object as a dendrogram, similar to the left image of this link ...
    David FeitosaDavid Feitosa
    Oct 27, 2014 at 11:42 am
    Oct 28, 2014 at 8:41 pm
  • Dear usRers, ? Now i want to cal ,e.g. ?cal(1.234)? will get 3 ?cal(1) will get 0 ?cal(1.3045) will get 4 ?But the difficult part is cal(1.3450) will get 4 not 3. So, is there anyone happen to know ...
    PO SUPO SU
    Oct 24, 2014 at 3:35 am
    Oct 24, 2014 at 1:55 pm
  • Hi, I have fixed width data that I would like to split into columns. Here is a sanpshot of the data (actual data is a list object): lst1Sub<- "20131124GGG1 23.00" "20131125GGG1 15.00" "20131128GGG1 ...
    Zilefac ElvisZilefac Elvis
    Oct 22, 2014 at 3:37 pm
    Oct 23, 2014 at 1:48 am
  • Dear all. Before I start fishing in (for me) murky regular expression waters I try to ask community about changing format of negative numbers. For some reason I get a file with negative numbers ...
    PIKAL PetrPIKAL Petr
    Oct 20, 2014 at 7:03 am
    Oct 22, 2014 at 10:46 am
  • Dear All, i am solving the following problem in my work. The first day from April 01 that gets more than 20 mm on a single day, or totalled over 2 consecutive days. i.e April 01 = 92th day of the ...
    Frederic NtirenganyaFrederic Ntirenganya
    Oct 15, 2014 at 7:01 am
    Oct 19, 2014 at 8:10 am
  • I want to sum columns based on their names. As an exampel how could I sum columns which contain 6574, 7584 and 85 as column names? In addition, how could I sum those which contain 6574, 7584 and 85 ...
    Kuma RajKuma Raj
    Oct 13, 2014 at 12:57 pm
    Oct 15, 2014 at 6:51 am
  • Hi R helpers, I want to write a function which will 1. Count the number of fridays in the current month ( to extract month from given date) and also the number of fridays in the preceeding month 2 ...
    Abhinaba RoyAbhinaba Roy
    Oct 10, 2014 at 11:28 am
    Oct 11, 2014 at 2:55 am
  • Dear expeRts, ?? i? use sapply for loop,?and i want to break it when i needed, how to do that?? e.g. sapply( 1:10, function(i) { if(i==5) break and jump out of the function sapply } ) I want to do it ...
    PO SUPO SU
    Oct 10, 2014 at 5:24 am
    Oct 10, 2014 at 11:59 am
  • ...or some such. I'm trying to work up a function wherein the user passes a list of matrices to the function, which then (1) takes each matrix, (2) performs an operation to 'vectorize' the matrix ...
    Evan CoochEvan Cooch
    Oct 8, 2014 at 7:12 pm
    Oct 9, 2014 at 7:15 pm
  • Hello, I have three datasets StartSignals, MainData, StopSignals and need to compound the data for each variable in MainData over dates that fall between the Start and Stop signals. (Stop signals are ...
    Pooya LalehzariPooya Lalehzari
    Oct 7, 2014 at 4:55 pm
    Oct 8, 2014 at 4:06 am
  • I have four time-series of similar data. I would like to combine these into a single, clean time-series. I could simply find the mean of each time period, but I think that using principal components ...
    Jonathan ThaynJonathan Thayn
    Oct 2, 2014 at 7:18 pm
    Oct 5, 2014 at 12:36 am
  • Simple question. A vector of ?number of observations? can be input to power.t.test, and a vector of ?power? s is output. But, inputting a vector of powers generates an error. Am I missing something? ...
    Stephen KennedyStephen Kennedy
    Oct 1, 2014 at 12:29 pm
    Oct 3, 2014 at 5:51 pm
  • Hi everyone, I would like to read a file line by line, but I would rather not load all lines into memory first. I've tried using readLines with n = 1, but that seems to reset the internal file ...
    Thomas NybergThomas Nyberg
    Oct 29, 2014 at 3:23 pm
    Oct 29, 2014 at 5:51 pm
  • Hi guys; I want to write some text at the first line of an output file. The output file will be used for other software. In particular, the following text "ampl.tab 2 1" needs to be added to the ...
    YIHSU CHENYIHSU CHEN
    Oct 22, 2014 at 12:32 am
    Oct 22, 2014 at 2:57 pm
  • Hi, I have a question how to split a factor name into different columns. I have metabarcoding data and need to merge the FASTA-file with the taxonomy- and counttable files (dataframes). To be able to ...
    Anna Zakrisson BraeunlichAnna Zakrisson Braeunlich
    Oct 12, 2014 at 7:24 am
    Oct 19, 2014 at 11:56 am
  • Hi I want to evaluate NA and NaN to FALSE (for indexing) so I would like to have the result as indicated here: ,---- `---- Is there a way that I can do this more easily then in my example above? It ...
    Rainer M KrugRainer M Krug
    Oct 14, 2014 at 9:51 am
    Oct 14, 2014 at 11:41 am
  • Hi, Can anyone tell me the steps to install R 3.1.0 and rstudio on ubuntu 12.0.4. Thanks Madhvi
    MadhviMadhvi
    Oct 14, 2014 at 6:17 am
    Oct 14, 2014 at 7:22 am
  • Hi all -- I just encountered a behavior that I believe has changed from previous versions, though I haven't chased back the last version that behaves as my existing code expects quite yet. Perhaps ...
    Murat TasanMurat Tasan
    Oct 6, 2014 at 6:00 pm
    Oct 13, 2014 at 3:09 am
  • Dear UseRs, I obtained following results from Anderson-Darling Goodness of fit test. structure(c(2.911, 0.9329, 0.818, 1.539, 0.604, 0.5142, 0.4344, 0.801, 0.963, 0.9925, 0.933, 0.956, 0.883, 0.572), ...
    Eliza bottoEliza botto
    Oct 2, 2014 at 2:54 pm
    Oct 10, 2014 at 2:36 pm
  • Hi, folks. I've got a sort of coupon that would allow me to get a copy of "Advanced R" by Hadley Wickham at no cost. OTOH, I've already cloned the github repository, and having the "live" Rmd files ...
    Michael HannonMichael Hannon
    Oct 3, 2014 at 7:55 am
    Oct 6, 2014 at 7:53 pm
  • Hey Folks, I?m hoping to get a general consenus on a good book for someone with no prior experience in R that is new to data science and statistical analysis. So far, I?ve been recommended to read ...
    Jason EyerlyJason Eyerly
    Oct 2, 2014 at 12:48 am
    Oct 2, 2014 at 5:50 pm
  • Hi everyone, I want to write a list of data frames to a text file and preserve the names given to the list elements (I am using R 3.1.0). I tried: setNames(myList, myNames) # myNames is a vector of ...
    Ingrid CharvetIngrid Charvet
    Oct 1, 2014 at 10:59 am
    Oct 2, 2014 at 9:28 am
  • Hi. Is there a way how to find out from within a .Rmd file what output format is generated? The reason is this: I write a paper in R markdown in RStudio. Sometimes I generate .html, sometimes .pdf ...
    Michal KvasničkaMichal Kvasnička
    Oct 31, 2014 at 11:56 am
    Oct 31, 2014 at 3:19 pm
  • Hi List, are there ways to get signatures of all functions of a library in a format that is easy to process by a programm (list, xml or so)? The info about function name, return value and arguments ...
    Thorsten JolitzThorsten Jolitz
    Oct 29, 2014 at 1:09 pm
    Oct 29, 2014 at 6:48 pm
  • Hello, I have an ESRI ArGis geo database directory which I would like to convert to geojson or a shape file (or anything else that I can read into R). Unfortunately that does not work out of the box ...
    Guido BieleGuido Biele
    Oct 24, 2014 at 10:06 am
    Oct 27, 2014 at 8:47 am
  • Dear JJ and list members, I wonder whether it's possible to get scan() to read in-line data in an R Markdown document. The following code, for example, works (of course) when entered in the R console ...
    John FoxJohn Fox
    Oct 25, 2014 at 2:43 pm
    Oct 25, 2014 at 8:50 pm
  • Hi guys, I came across a strange phenomena and can't figure out why it happens by myself so here we go. I got a dataframe which consists of double numbers which I want to check, row-wise if there are ...
    PhilPhil
    Oct 17, 2014 at 10:53 am
    Oct 21, 2014 at 1:53 pm
Group Navigation
period‹ prev | Oct 2014 | next ›
Group Overview
groupr-help @
categoriesr
discussions276
posts897
users291
websiter-project.org
irc#r

291 users for October 2014

Jeff Newmiller: 42 posts David Winsemius: 28 posts PIKAL Petr: 22 posts Duncan Murdoch: 21 posts Frederic Ntirenganya: 21 posts PO SU: 21 posts William Dunlap: 21 posts S Ellison: 18 posts Peter dalgaard: 17 posts David L Carlson: 16 posts Jim Lemon: 16 posts Rui Barradas: 14 posts Prof Brian Ripley: 11 posts Rolf Turner: 11 posts Greg Snow: 9 posts John Fox: 9 posts Sven E. Templer: 9 posts Bert Gunter: 8 posts Camilo Mora: 8 posts Dimitri Liakhovitski: 8 posts
show more
Archives