Search Discussions

206 discussions - 704 posts

  • Hello, The example data frame in the reproducible code below has 5 columns (1 column for id and 4 columns for dates), and there are 7 observations. I would like to insert the most recent date from ...
    Muhuri, Pradip (SAMHSA/CBHSQ)Muhuri, Pradip (SAMHSA/CBHSQ)
    Nov 9, 2014 at 4:40 am
    Dec 4, 2014 at 7:32 pm
  • i already sent this please unsusbscribe passoword: 33311986 or 33311986dic please unsubscribe me [[alternative HTML version deleted]]
    M. A. ParreñoM. A. Parreño
    Nov 29, 2014 at 1:26 pm
    Dec 1, 2014 at 4:35 pm
  • I am trying to replace a for loop by using sapply, The code is for forecasting using arima. The code is as follows:- ------------------------------------------------------- far<-function(p) { ...
    Amit ThombreAmit Thombre
    Nov 19, 2014 at 9:47 am
    Jan 15, 2015 at 3:42 am
  • Hello fellow R users, I have recently updated to R 3.1.2. When trying to plot an hclust object to generate the dendrogram I get the following error: Error in .Internal(dend.window(n, merge, height2, ...
    Michael MasonMichael Mason
    Nov 25, 2014 at 5:13 pm
    Nov 27, 2014 at 5:30 pm
  • Hi, I have this: y = matrix(cbind(c(0, 0.5, 1),c(0, 0.5, 1)),ncol=2) z = matrix(c(12, -6),ncol=2) In matlab I would do this I would get this in matlab 0 -0 6 -3 12 -6 What is the equivalent in R? ...
    Ruima E.Ruima E.
    Nov 19, 2014 at 2:22 pm
    Nov 20, 2014 at 5:16 pm
  • Hi there, I can't help to notice that the gender balance among R developers and ordinary members is extremely skewed (as it is with open source software in general). Have a look at ...
    Maarten BlaauwMaarten Blaauw
    Nov 24, 2014 at 3:10 pm
    Nov 26, 2014 at 6:19 am
  • Hi, I am trying to compute bootstrap confidence intervals for weighted means of paired differences with the boot package. Unfortunately, the weighted mean estimate lies out of the confidence bounds ...
    Nov 14, 2014 at 8:15 pm
    Nov 22, 2014 at 4:21 pm
  • Dear all, I use R 3.1.1 for Windows. kindly how can I generate n number of random numbers with probability from [0,1] and their sum must not be more than one thanks in advance Ragia [[alternative ...
    Ragia IbrahimRagia Ibrahim
    Nov 22, 2014 at 2:29 pm
    Nov 27, 2014 at 9:14 pm
  • Dear member list, In many experimental sciences, there is a lower detection limit (LDL) when a dosage of a product is done. Then some samples are evaluated to be below this limit. I search for the ...
    Marc GirondotMarc Girondot
    Nov 9, 2014 at 6:07 pm
    Nov 13, 2014 at 3:47 pm
  • Dear All, I would like to make a function that create Day of the year column in a dataset. State of the problem: write a function that create a day column either from a single date column (string/or ...
    Frederic NtirenganyaFrederic Ntirenganya
    Nov 4, 2014 at 10:01 am
    Nov 5, 2014 at 10:35 pm
  • Hi, I am trying to convert lat/lon to UTM but my results are extremely flawed. Is it because of wrong UTM zone or my lon points are negative? I read a shapefile from ESRI using: library(rgdal) ...
    Zilefac ElvisZilefac Elvis
    Nov 18, 2014 at 4:20 pm
    Nov 20, 2014 at 1:11 am
  • Hello, I'm trying to generate plain text from the .Rd files. I run "R CMD Rd2txt xx.Rd -o xx.txt" to get the plain text file. When I open the text file, I see "_^H" in front of each character in all ...
    Zheng DaZheng Da
    Nov 13, 2014 at 7:51 pm
    Nov 14, 2014 at 10:47 am
  • Hi, I am working R on windows 2012 R2 platform, I have updated the latest hotfixes for time zone information(Microsoft KB 2981580. <http://support.microsoft.com/kb/2981580 ). But still R is not ...
    Vasantha Kumar KesavanVasantha Kumar Kesavan
    Nov 6, 2014 at 6:16 pm
    Nov 7, 2014 at 3:56 pm
  • I wish to simulate the following stochastic process, for i = 1...N individuals and t=1...T periods: y_{i,t} = y_0 + lambda Ey_{t-1} + epsilon_{i,t} where Ey_{t-1} is the average of y over the N ...
    Matteo RichiardiMatteo Richiardi
    Nov 6, 2014 at 2:47 pm
    Nov 7, 2014 at 9:08 am
  • Dear All, I am getting this error and don't know why it comes. can you please help ? Error in if (data$Rain[i_NA] == 60) { : missing value where TRUE/FALSE needed The loop is : indicNAs <- ...
    Frederic NtirenganyaFrederic Ntirenganya
    Nov 25, 2014 at 12:19 pm
    Nov 26, 2014 at 1:38 pm
  • Hi, This problem has me stumped so I thought I'd ask the experts. I'm trying to create a pretty summary table of some data (which patients have had what tests at what times). Ideally I'd like to ...
    Tom WrightTom Wright
    Nov 25, 2014 at 8:12 pm
    Nov 26, 2014 at 12:35 pm
  • Dear guRus How can I round of time in R to the nearest 30th minute please? For example suppose if [1] "2014-11-21 22:49:05.59042 GMT" then I would like a function that outputs 22:30:00. if Sys.time ...
    Raghuraman RamachandranRaghuraman Ramachandran
    Nov 21, 2014 at 10:52 pm
    Nov 22, 2014 at 5:45 pm
  • Hello everyone, In geology we often do rose diagrams showing the number of features along a certain compass direction within a given range (bin) of angle (0-180 degrees). I was wondering if anybody ...
    David DoyleDavid Doyle
    Nov 18, 2014 at 9:42 pm
    Nov 21, 2014 at 4:48 pm
  • I'm looking for a package that would take a mathematical function written in symbolic notation and convert it into R code. What I have in mind would be something like the following: 1) Have a GUI ...
    Scott RifkinScott Rifkin
    Nov 19, 2014 at 5:17 pm
    Nov 21, 2014 at 8:21 am
  • How do I set the limits of my x and y axis in svyplot? xlim and ylim does not work. Regards, Raphael [[alternative HTML version deleted]]
    Raphael FraserRaphael Fraser
    Nov 20, 2014 at 6:54 am
    Nov 20, 2014 at 9:46 pm
  • Dear list, I wonder if there's a clever way to fine control the exact way arguments are dispatched via R's "three dots" argument .... Consider the following use case: - you have a function foobar() ...
    Janko ThysonJanko Thyson
    Nov 15, 2014 at 2:49 pm
    Nov 17, 2014 at 12:25 am
  • Hi R users, I am trying to plot two dimensional posterior likelihood surface. I have a data like para1 para2 likehood ....... ........ ........... ....... ........ ........... I looked at contour ...
    Gyanendra PokharelGyanendra Pokharel
    Nov 11, 2014 at 7:17 pm
    Nov 12, 2014 at 12:37 am
  • Hello, The range() with complete.cases() removes NA's for the date variables that are read from a data frame. However, the issue is that the same function does not remove NA's for the other date ...
    Muhuri, Pradip (SAMHSA/CBHSQ)Muhuri, Pradip (SAMHSA/CBHSQ)
    Nov 10, 2014 at 4:10 pm
    Nov 10, 2014 at 6:36 pm
  • Hi R Users, I was trying to determine whether I have enough samples and power in my analysis. Would you mind to provide some hints?. I found a several packages for power analysis but did not find any ...
    Kristi GloverKristi Glover
    Nov 8, 2014 at 11:49 am
    Nov 9, 2014 at 1:15 am
  • Morning everyone I am relatively new to R and although there are tons of "how to" websites, some are just way over my head. I am currently trying to figure out how to create dot plot graphs with my ...
    Juan ScheunJuan Scheun
    Nov 24, 2014 at 9:08 am
    Nov 28, 2014 at 3:24 pm
  • Dear all I encountered strange behaviour of ggplot with combination of facet and subsetting. I use for creating plots sometimes a for cycle, something like this for (i in n:m) { p<-ggplot(data, ...
    PIKAL PetrPIKAL Petr
    Nov 26, 2014 at 1:40 pm
    Nov 27, 2014 at 1:53 pm
  • Dear all, I would like to use the R's Bioconductor package flowCore to do flow cytometry analysis. I generated a FCS file using the file export function of the FACSDiva Software Version 8 from a BD ...
    Nov 24, 2014 at 2:18 pm
    Nov 24, 2014 at 8:41 pm
  • I was looking at the R website (r-project.org). 1) The Books page does not list several books about R, including one of my own (Nonlinear parameter optimization tools in R) nor that of Karline ...
    Prof J C Nash (U30A)Prof J C Nash (U30A)
    Nov 20, 2014 at 7:10 pm
    Nov 21, 2014 at 9:39 am
  • While importing .csv files into R, all data are converted to factor-by default. But, how can I preserve the original format of the data like numeric to numeric, integer to integer, character to ...
    Ramesh GautamRamesh Gautam
    Nov 14, 2014 at 12:28 am
    Nov 15, 2014 at 2:03 am
  • Hello, Here is something (file.copy) trivial but does not seem to work. I could not figure out what I am doing wrong. The R script below creates folders (fromFolder and toFolder) and finds the list ...
    Muhuri, Pradip (SAMHSA/CBHSQ)Muhuri, Pradip (SAMHSA/CBHSQ)
    Nov 14, 2014 at 12:07 pm
    Nov 14, 2014 at 2:13 pm
  • I have a script that uses RWeka (and consequently rJava). When I run it in Rstudio everything works fine. When I run it with `R CMD BATCH`, everything also works fine. However, when I run it with ...
    Jeff HansenJeff Hansen
    Nov 19, 2014 at 4:48 pm
    Dec 15, 2014 at 11:51 pm
  • ?Dear All I have some data expressed in geometric means and 95% confidence intervals. Can I code them in metafor as: rma(m1i=geometric mean 1, m2i=geometric mean 2, sd1i=geometric mean 1 CI /3.92, ...
    Purssell, EdPurssell, Ed
    Nov 13, 2014 at 11:00 am
    Dec 8, 2014 at 6:35 am
  • Hi, I am the maintainer of the "traj" package. I have added a vignette to the package this week(Wednesday) and uploaded the new tarball to CRAN. I have not yet received a confirmation e-mail.I do not ...
    Dan VatnikDan Vatnik
    Nov 28, 2014 at 2:16 pm
    Nov 29, 2014 at 9:46 pm
  • Hi R-Help, So, I will try to provide a reproducible example...I basically made a dummy spreadsheet that contains the same number of tabs as the spreadsheet I am really interested in. The data on that ...
    Jennifer SabatierJennifer Sabatier
    Nov 20, 2014 at 11:44 pm
    Nov 21, 2014 at 4:19 pm
  • I have a test.csv with two fields "year" and "sale", with below values: year sale 2001 1002002 200 This is what I did in R. But when I call the above plot function why I'm getting decimals in x-axis ...
    Statup rStatup r
    Nov 19, 2014 at 3:13 pm
    Nov 20, 2014 at 8:08 am
  • R 3.1.1 OS X Colleagues When I use the duplicated function, I often need to find both the duplicates and the original element that was duplicated. This can be accomplished with: duplicated(OBJECT) | ...
    Dennis FisherDennis Fisher
    Nov 18, 2014 at 3:23 pm
    Nov 18, 2014 at 5:39 pm
  • Hi all, I'm using quantreg rq() to perform quantile regression on a large data set. Each record has 4 fields and there are about 18 million records in total. I wonder if anyone has tried rq() on a ...
    Yunqi ZhangYunqi Zhang
    Nov 15, 2014 at 8:12 pm
    Nov 16, 2014 at 6:49 pm
  • Team, Can some one help me in computing the R-squared value in glm. Thanks Aravindhan [[alternative HTML version deleted]]
    Aravindhan, KAravindhan, K
    Nov 15, 2014 at 1:48 am
    Nov 16, 2014 at 2:43 pm
  • Dear list, I just encountered a behavior that I've never seen before: Is it possible, that certain argument names (lazy in my case) are special/reserved and thus would lead to unexpected behavior ...
    Janko ThysonJanko Thyson
    Nov 14, 2014 at 11:51 pm
    Nov 15, 2014 at 1:37 pm
  • Hi Team, I have the below xml file where i have to find and remove all the email address in <string tag and need to append the new email address using R script.May be string tag needs to be added or ...
    Chidambaram SelvakumarChidambaram Selvakumar
    Nov 8, 2014 at 6:10 am
    Nov 14, 2014 at 8:33 pm
  • Hello ? I am using inline C functions within foreach %dopar% loop. On SMP (doParallel, doMP) it works but on MPI-based clusters (doMPI) it does?t. The reason, I think, is because the object code ...
    Mikhail UmorinMikhail Umorin
    Nov 13, 2014 at 3:59 pm
    Nov 14, 2014 at 6:49 pm
  • Hello everybody, I am working with the package bnlear, but, probably, error is caused not by the package itself. There is a function cpquery() to which I pass argument str2: str2="(lag1=='s')" prob.s ...
    Alexandr MAlexandr M
    Nov 10, 2014 at 5:46 pm
    Nov 14, 2014 at 9:26 am
  • Hi, the print of rpart fitting gives the summary of tree I would like to save the console text of: fit <- rpart(formula, data) summary <- print(fit) when I look in "summary" I did not find the same ...
    Karim MezhoudKarim Mezhoud
    Nov 13, 2014 at 8:35 pm
    Nov 13, 2014 at 9:44 pm
  • Hi, I want to use dredge to test several gam submodels including interactions. I tried to find a way in order to keep models with interaction only if the single variables occurring in the interaction ...
    Arnaud MosnierArnaud Mosnier
    Nov 10, 2014 at 8:26 pm
    Nov 12, 2014 at 8:43 pm
  • Dear useRs, I have this funny thing going on with me since morning. I am 32 bit window 7 system with 4 GB RAM(2.95 usable). I tried to run a code on it but when I tried to convert dataframe to matrix ...
    Eliza bottoEliza botto
    Nov 11, 2014 at 7:32 pm
    Nov 12, 2014 at 3:47 pm
  • Hi everybody, I have another question (to which I could not find an answer in my r-books. I am sure, it's not a great issue, but I simply lack of a good idea how to solve this: One of my variables ...
    David StuderDavid Studer
    Nov 12, 2014 at 1:34 pm
    Nov 12, 2014 at 3:39 pm
  • Hi All, I would like to install the package "sweave" but got the following warning: Installing package into ?/home/fredo/R/x86_64-pc-linux-gnu-library/3.0? (as ?lib? is unspecified) Warning in ...
    Frederic NtirenganyaFrederic Ntirenganya
    Nov 11, 2014 at 11:25 am
    Nov 11, 2014 at 1:41 pm
  • Hi, I have 2 queries: 1. What function to use to read all the files in a directory to a vector in R code? 2. What function to use to coerce character string into numeric? As a help to others, I ...
    Aditya SinghAditya Singh
    Nov 10, 2014 at 1:12 pm
    Nov 11, 2014 at 9:36 am
  • Hello, all! So, as stated in the title, the Lme4 package used to output p-values for the fixed effects. What happened?! Literally 2 weeks ago, I ran code, got output with no errors, and had p-values ...
    Daniel MelloDaniel Mello
    Nov 6, 2014 at 11:23 pm
    Nov 9, 2014 at 9:16 am
  • Dear R forum, I am trying to execute following code (Page no 259 - VGAM.pdf) # ...
    Katherine GobinKatherine Gobin
    Nov 6, 2014 at 6:04 am
    Nov 6, 2014 at 11:48 pm
Group Navigation
period‹ prev | Nov 2014 | next ›
Group Overview
groupr-help @

263 users for November 2014

Jeff Newmiller: 39 posts David Winsemius: 36 posts Bert Gunter: 21 posts Duncan Murdoch: 21 posts PIKAL Petr: 18 posts William Dunlap: 14 posts Frederic Ntirenganya: 12 posts Muhuri, Pradip (SAMHSA/CBHSQ): 12 posts Rolf Turner: 12 posts Boris Steipe: 10 posts MacQueen, Don: 10 posts David L Carlson: 9 posts Michael Dewey: 8 posts Peter dalgaard: 8 posts Prof Brian Ripley: 8 posts Amit Thombre: 7 posts Janko Thyson: 7 posts Lee, Chel Hee: 7 posts Vasantha Kumar Kesavan: 7 posts Aditya Singh: 6 posts
show more