Grokbase Groups R r-help March 2016
FAQ

Search Discussions

225 discussions - 803 posts

  • I have a factor variable that is 6 digits and hyphenated. For example, 001-014. I need to extract the first 3 digits to a new variable using mutate in dplyr - in this case 001 - but can?t find a ...
    KMNanusKMNanus
    Mar 3, 2016 at 8:18 pm
    Mar 5, 2016 at 4:11 am
  • Hi All: I am working with a very large array. if noLat is the number of latitudes, noLon the number of longitudes and noTime the number of time periods, the array is of the form: myData[noLat, no ...
    Roy Mendelssohn - NOAA FederalRoy Mendelssohn - NOAA Federal
    Mar 18, 2016 at 9:28 pm
    Mar 23, 2016 at 5:25 pm
  • Hello! The overall goal I have is taking a large data frame and splitting it into several smaller data frames (preserving column headers) which I can save as txt files to feed into my APACHE ANY23 ...
    Christian T Stackhouse (Campus)Christian T Stackhouse (Campus)
    Mar 22, 2016 at 7:32 pm
    Mar 23, 2016 at 8:39 pm
  • Hello R-helpers, I'd like a function that given an arbitrary formula and a data frame returns the residual of the dependent variable, and maintains all NA values. Here's an example that will give me ...
    Robert McGeheeRobert McGehee
    Mar 10, 2016 at 10:00 pm
    Mar 11, 2016 at 11:57 pm
  • Dear all - I need to have a function maintain a persistent lookup table of results for an expensive calculation, a named vector or hash. I know that I can just keep the table in the global ...
    Boris SteipeBoris Steipe
    Mar 19, 2016 at 4:45 pm
    Mar 25, 2016 at 7:43 pm
  • Hello, I have a time series that represents data sampled every 15-minutes. The data currently run from November through February, 8623 total readings. There are definitely daily periodic trends and ...
    Ryan UtzRyan Utz
    Mar 30, 2016 at 3:03 pm
    Mar 31, 2016 at 4:49 pm
  • Dear useRs, I would like to plot data points in a simple scatterplot. I don't have a lot of data per category, so a boxplot does not make sense. Here are some sample data: mydf <- ...
    Ivan CalandraIvan Calandra
    Mar 17, 2016 at 10:29 am
    Mar 18, 2016 at 8:46 am
  • Hi, I have a huge .RData file and I need just to get the colnames of it. so is there any way to reach the column names without loading or reading the whole file? Since the file is so big and I need ...
    Lida ZeighamiLida Zeighami
    Mar 16, 2016 at 3:59 pm
    Mar 17, 2016 at 7:22 am
  • I have a series of dates in format 3-Oct, 10-Oct, 20-Oct, etc. I want to create a variable of just the month. If I convert the date to a character string, substr is ineffective because some of the ...
    KMNanusKMNanus
    Mar 9, 2016 at 6:14 pm
    Mar 10, 2016 at 10:05 pm
  • Hi team I am new to R so please help me to do this task. Please find the attached data sample. But in the original data frame I have 350 features and 400000 observations. I need to carryout these ...
    Norman PatNorman Pat
    Mar 30, 2016 at 10:56 pm
    Mar 31, 2016 at 3:53 am
  • Hello, my name is F?bio and I'm a Marine Ecology student in Portugal. I'm currently using the FD package for my work and yesterday one message appeared that I wasn't expecting and I really need your ...
    Fabio MonteiroFabio Monteiro
    Mar 3, 2016 at 3:25 pm
    Mar 24, 2016 at 5:13 pm
  • Hi assume the following code: --8<---------------cut here---------------start------------- 8--- plot(1,1) legend(x="topleft", legend = LETTERS[1:10], title = "L 1") legend(x="bottomleft", legend = ...
    Rainer M KrugRainer M Krug
    Mar 11, 2016 at 2:01 pm
    Mar 14, 2016 at 2:25 pm
  • Hi, it's very difficult for me to understand the fullrefman.pdf document !!! I open a R script that is in the Git\reposit\gesdyn\jm directory. I 'type' alt + ctrl + R to run it. I would like to get ...
    MAURICE Jean - externeMAURICE Jean - externe
    Mar 1, 2016 at 2:56 pm
    Mar 2, 2016 at 9:49 am
  • I?m doing some optimisation that I first did with normal Poisson (only parameter theta was estimated), but now I?m doing the same with a zero-inflated Poisson model which gives me two estimated ...
    Matti ViljamaaMatti Viljamaa
    Mar 22, 2016 at 12:04 pm
    Mar 24, 2016 at 1:06 pm
  • Dear All, I am attempting to describe a distribution of height data. It appears roughly linear on a log-log plot, so Pareto seems sensible. However, the data are only reliable in a limited range ...
    John HillierJohn Hillier
    Mar 9, 2016 at 5:52 pm
    Mar 10, 2016 at 8:29 pm
  • How is it possible to group rows of a matrix or a data frame by the same values of the first column? 1 14331 453452 653 3762 45 1 1433,453452 45, 653 376 Thanks Carol [[alternative HTML version ...
    Carol whiteCarol white
    Mar 9, 2016 at 12:09 pm
    Mar 10, 2016 at 1:43 am
  • I have a (remarkably ugly!!) code snippet (below) that, given two simple functions, f and g, generates a list of new functions h_{k+1} = h_k * g, k= 1, ?, K. Surely, there are vastly better ways to ...
    Roger KoenkerRoger Koenker
    Mar 2, 2016 at 4:47 pm
    Mar 2, 2016 at 10:55 pm
  • Hi all,I have the following main data frame:(mydata)?? ? ? ?$ TE : num 40 40 20 20 20 20 20 20 20 40 ...?? ? ? ?$ TR : num 49 49 28 28 28 28 28 28 28 49 ...?? ? ? ?$ COUNTRY : Factor w/ 27 levels ...
    Hoda rahmatiHoda rahmati
    Mar 1, 2016 at 4:29 pm
    Mar 1, 2016 at 9:29 pm
  • Dear all, I'm a bit surprised by this behavior in poly: x <- c(NA, 1:10) poly(x, degree = 2, raw=TRUE) ## Error in poly(x, degree = 2, raw = TRUE) : ## missing values are not allowed in 'poly' x^2 ## ...
    Liviu AndronicLiviu Andronic
    Mar 23, 2016 at 7:59 pm
    Mar 28, 2016 at 7:04 pm
  • Hello members Question Could you tell me how to add ID 100, 104, 105 values with zero? 1, Source data ID 100, 104 and 105 has no values. ID DATE VAR CODE 1 101 20160301 1 PDT1 2 102 20160301 1 PDT2 3 ...
    Hiroyuki SatoHiroyuki Sato
    Mar 25, 2016 at 4:49 am
    Mar 25, 2016 at 2:59 pm
  • I have searched and tried many things but cannot get anything to work. I just want to print out a degree sign after a the Orthophase number. The following list of "xl" values are all ones I have ...
    Cathy Lee GierkeCathy Lee Gierke
    Mar 18, 2016 at 8:58 pm
    Mar 21, 2016 at 2:29 am
  • Dear group I have two R sessions ?running on Ubuntu 14.0x server , and I found that my program will take too long time to be finished( months...!), I used top command and found that ??cpu usage is ...
    Ragia .Ragia .
    Mar 14, 2016 at 9:32 pm
    Mar 17, 2016 at 12:22 am
  • Can't paste a value to the filter text box, using paste from by right-clicking the mouse and selecting paste from the context menu. How to reproduce: 1. view any data-frame 2. from the results copy ...
    Ronen CohenRonen Cohen
    Mar 13, 2016 at 1:31 pm
    Mar 13, 2016 at 11:26 pm
  • Hi, Is it possible to get the path and name of the running R file ? Jean Ce message et toutes les pi?ces jointes (ci-apr?s le 'Message') sont ?tablis ? l'intention exclusive des destinataires et les ...
    MAURICE Jean - externeMAURICE Jean - externe
    Mar 2, 2016 at 7:01 am
    Mar 2, 2016 at 8:53 am
  • Two different sizes of R logo are shown in Rstudio in the Help at the package level. For example, numderiv shows a nice discreet logo located at (in MacosX) ...
    Marc GirondotMarc Girondot
    Mar 29, 2016 at 7:42 pm
    Mar 30, 2016 at 4:46 pm
  • Dear R community, When I install or update a package, R prints the waring below. I go to the ?downloaded_packages? folder in the Temp file and manually move the new or updated package to the folder ...
    James HensonJames Henson
    Mar 21, 2016 at 9:07 pm
    Mar 30, 2016 at 3:31 pm
  • Hello- My name is Eric Handler and I am an academic technologist supporting the Science Division(7 academic departments) at Macalester College in Saint Paul, MN. The faculty use R for a variety of ...
    Eric HandlerEric Handler
    Mar 25, 2016 at 8:09 pm
    Mar 30, 2016 at 2:45 pm
  • Dear AllI'm trying to find the maximum likelihood estimator ?of a certain distribution using nlm command but I receive an error as: ?non-finite value supplied by 'nlm' can't figure?out what is wrong ...
    Heba eldeebHeba eldeeb
    Mar 28, 2016 at 8:19 pm
    Mar 29, 2016 at 8:23 pm
  • Hi, Please consider the following functions: myf1 <- function(x,fun){ if (is.null(fun)){ x } else { do.call(fun, list(x)) } } myf2 <- function(a=1, b=2, fun=NULL, c=myfun1(b,fun)){ if (myf1(b,fun) 0 ...
    SbihorelSbihorel
    Mar 24, 2016 at 12:11 pm
    Mar 24, 2016 at 3:16 pm
  • Hello all, I have sets of 4 x/y points through which I would like to fit closed, smoothed shapes that go through those 4 points exactly. smooth.spline doesn't like my data, since there are only 3 ...
    Alexander ShenkinAlexander Shenkin
    Mar 21, 2016 at 12:59 pm
    Mar 21, 2016 at 6:38 pm
  • I am not able to install "caret" package in R. Installation is successful but when I go to Library it says some namespaces not loaded. Please guide me. Sudhansu Sekhar Senapati [[alternative HTML ...
    Sudhansu SenapatiSudhansu Senapati
    Mar 12, 2016 at 3:54 pm
    Mar 16, 2016 at 3:45 pm
  • Hi I inherited a R package done in 2004 that works perfectly in R 2.15.1 and before, but not in R 3.2.2 ( = 3). I have already fixed issues with namespace for functions in R 3 but maybe not all of ...
    Sebastien MorettiSebastien Moretti
    Mar 8, 2016 at 11:01 am
    Mar 10, 2016 at 8:43 am
  • Hi , Seeking your help in coding following requirement in R. Vector 1 has sentences for ex. vector 1="he is a nice human being","he is smart and fast in his work" vector 2 has keywords found in each ...
    Deepak aggarwalDeepak aggarwal
    Mar 1, 2016 at 12:30 pm
    Mar 7, 2016 at 11:16 am
  • Hi, I saw a post on this topic on stackoverflow a while ago. It does not seem to have got any reply... Just trying my luck here. Is there any way to use stargazer to create a table of descriptive ...
    SbihorelSbihorel
    Mar 6, 2016 at 8:34 pm
    Mar 7, 2016 at 4:00 am
  • Hi R-users, I have a time series of residuals and I want to get the ACF (autocorrelation) values till lag = 12, along with the 12 upper/lower confidence limits. I understand that acf(residual) would ...
    Preetam PalPreetam Pal
    Mar 6, 2016 at 7:40 am
    Mar 7, 2016 at 12:09 am
  • I am new to R and neural networks . So I trained and predicted an elman network like so :? require ( RSNNS )? mydata = read.csv("mydata.csv",header = TRUE)? mydata.train = mydata[1000:2000,]? ...
    Jake88Jake88
    Mar 1, 2016 at 6:35 am
    Mar 3, 2016 at 10:54 pm
  • Hi, I am currently using R v3.2.3 and on Windows 10 OS 64Bit. I am having convergence issues when I use coxph with a interaction term (glarg*bca_py) and interaction term with the restricted cubic ...
    Jennifer Wu, MissJennifer Wu, Miss
    Mar 29, 2016 at 8:47 pm
    Mar 31, 2016 at 5:12 pm
  • Hello All: I would like to get some help with the following problem and understand how this can be done in R efficiently. The header is given in the data frame. *Component, TLA* C1, TLA1 C2, TLA1 C1, ...
    Satish VadlamaniSatish Vadlamani
    Mar 28, 2016 at 12:56 am
    Mar 29, 2016 at 12:11 pm
  • Hi, I think I'm experiencing an issue regarding system Locale. I have exported '.csv' formatted data frames gathered from various social media platforms like facebook/twitter/G+, etc. I observe many ...
    Sunny SinghaSunny Singha
    Mar 28, 2016 at 1:46 pm
    Mar 29, 2016 at 6:46 am
  • I have called geom_hline to insert a horizontal line on the y axis of a plot at a given point. How can I insert the corresponding tick and its value on the y axis itself? Ken kmnanus at gmail.com ...
    KMNanusKMNanus
    Mar 25, 2016 at 2:07 pm
    Mar 26, 2016 at 12:37 pm
  • Hi, I am trying to use the summary from the glm function as a data source. I am using the call sink(<some file ) then summary(logisticRegModel)$coefficients then sink(). The independent variables are ...
    Michael ArtzMichael Artz
    Mar 15, 2016 at 8:27 pm
    Mar 26, 2016 at 6:39 am
  • Dear All, I want to test a hypothesis in R by using student' t-test (P-values). The hypothesis is that model A produces lesser error than model B at ten stations. Obviously, Null Hypothesis (H0) is ...
    Eliza BottoEliza Botto
    Mar 23, 2016 at 7:15 pm
    Mar 24, 2016 at 12:41 am
  • ? ?Dear group I have the following variable ? v_neighbours and it holds a vector of the following : ?gawker.com ? ? ?gle.am ? jezebel.com? ? ? ? ? ? 1 ? ? ? ? ?16 ? ? ? ? ?28? three urls and their id ...
    Ragia .Ragia .
    Mar 21, 2016 at 5:27 pm
    Mar 22, 2016 at 4:48 am
  • Dear All, I have a dataframe like below but with many thousands rows, structure(list(gene_id = structure(1:6, .Label = c("0610005C13Rik", "0610007P14Rik", "0610009B22Rik", "0610009L18Rik", ...
    Stephen HK WONGStephen HK WONG
    Mar 21, 2016 at 6:30 pm
    Mar 21, 2016 at 10:09 pm
  • Hi R Users, Some individuals recorded multiple within a time period. But, I want to select the row of last site within each time period for each individual. I spent a substantial time, but no luck in ...
    Kristi GloverKristi Glover
    Mar 20, 2016 at 2:15 pm
    Mar 20, 2016 at 5:06 pm
  • R-Users I know sink("filename") will export my results to a file but how do I export both commands and results in R? Jeff [[alternative HTML version deleted]]
    Jeff ReichmanJeff Reichman
    Mar 18, 2016 at 10:00 pm
    Mar 19, 2016 at 4:36 pm
  • Hi, Please help and guide. I want to cbind dataframes within the list object: List object 'post_data' contains below sampled data frames: post_data $posts from_id user_name post_msg $comm comm_id ...
    Sunny SinghaSunny Singha
    Mar 14, 2016 at 7:16 am
    Mar 15, 2016 at 8:40 am
  • Dear all, with the below 2 files I would like to to the t.test and var.test but it does not work. Can you help me ? thanks BR leto st_ur 1972 1608.3 1973 1825.6 1974 1646.8 1975 1718.8 1976 1837.5 ...
    Damjan /Damjan /
    Mar 14, 2016 at 8:43 am
    Mar 14, 2016 at 3:22 pm
  • I have a set of independent variables that are all BINARY, and my dependent variable is also BINARY. Should I use the logistic regression for this - using the glm function? [[alternative HTML version ...
    Ajay AndrewsAjay Andrews
    Mar 13, 2016 at 10:42 pm
    Mar 14, 2016 at 12:46 pm
  • Hi to all the members of the list! I am a novice as regards to statistical analysis and the use of the R software, so I am experimenting with the dataset "olive" included in the package "tourr". This ...
    AxelAxel
    Mar 12, 2016 at 5:39 pm
    Mar 13, 2016 at 3:24 pm
Group Navigation
period‹ prev | Mar 2016 | next ›
Group Overview
groupr-help @
categoriesr
discussions225
posts803
users249
websiter-project.org
irc#r

249 users for March 2016

Bert Gunter: 41 posts David Winsemius: 33 posts Jim Lemon: 33 posts Jeff Newmiller: 31 posts PIKAL Petr: 21 posts Boris Steipe: 17 posts Duncan Murdoch: 17 posts Peter dalgaard: 17 posts KMNanus: 16 posts Sarah Goslee: 16 posts Uwe Ligges: 15 posts MAURICE Jean - externe: 13 posts Dalthorp, Daniel: 11 posts John Kane: 10 posts Martin Maechler: 10 posts Mohammad Tanvir Ahamed: 9 posts Roy Mendelssohn - NOAA Federal: 9 posts S Ellison: 9 posts Sunny Singha: 9 posts William Dunlap: 9 posts
show more
Archives