Grokbase Groups R r-help March 2015

Search Discussions

277 discussions - 918 posts

  • Hello, I am facing a quite challenging task (at least to me) and I was wondering if someone could advise how R could assist me to speed the task up. I am dealing with a dataset with 3 discrete ...
    Luca MeyerLuca Meyer
    Mar 18, 2015 at 6:17 am
    Mar 23, 2015 at 9:04 am
  • Hi, I've got a rather large matrix of about 800 rows and 600000 columns. Each column is a time-series 800 long. Out of these 600000 time series, some have missing values (NA). I want to strip out all ...
    Jatin KalaJatin Kala
    Mar 27, 2015 at 5:13 am
    Mar 31, 2015 at 7:34 am
  • Hello, I recently updated to the newest version of R and I am encountering issues. Please find my error and session info below. My data are attached. I have tried the readstata13 package just in case ...
    Nicole FordNicole Ford
    Mar 19, 2015 at 7:00 pm
    Mar 20, 2015 at 10:01 pm
  • Hi folks, I KNOW there has to be a way to do this more elegantly, but I consistently fail to come up with it, as I was just reminded while writing an example for a query on this list. What's a nifty ...
    Sarah GosleeSarah Goslee
    Mar 31, 2015 at 5:46 pm
    Apr 3, 2015 at 3:38 pm
  • Length Class Mode dat1.str 59220 -none- numeric dat2.str 59220 -none- numeric dat3.str 59220 -none- numeric 1 2 3 4 5 6 7 8 9 10 11 12 L0001.1 0.60 0.500 0.325 0.675 0.600 0.500 0.500 0.375 0.550 ...
    Vikram ChhatreVikram Chhatre
    Mar 30, 2015 at 1:54 pm
    Mar 31, 2015 at 3:38 pm
  • Dear All, I want to plot multiple using ggplot function from a data frame of many columns. I want to plot only str1, str2 and str3 and I failed to make it. What I want is to compare str1, str2 and ...
    Frederic NtirenganyaFrederic Ntirenganya
    Mar 30, 2015 at 1:39 pm
    Mar 31, 2015 at 2:32 pm
  • Hi, I'm just learning my way around R. I got a bunch of states and would like to access to get all of the ones where it's cold. But when I do the following, I will get the following error: Error in ...
    Yves S. GarretYves S. Garret
    Mar 22, 2015 at 2:39 pm
    Mar 28, 2015 at 7:48 am
  • Hey everyone, I've written a function that adds NAs to a dataframe where data is missing and it seems to work great if I only need to run it once, but if I run it two times in a row I run into ...
    Curtis BurkhalterCurtis Burkhalter
    Mar 10, 2015 at 7:43 pm
    Mar 11, 2015 at 12:46 am
  • Hello everybody, I have encountered the following problem with lm(): When running lm() with a regressor close to zero - of the order e-10, the value of the estimate is of huge absolute value , of ...
    Mar 27, 2015 at 11:32 pm
    Mar 31, 2015 at 4:31 pm
  • Hello, I would like a function X to return to the place that called the function XParent that called this function X. Y calls XParent Y = function(){ XParent() print("hello") } XParent calls X ...
    Saptarshi GuhaSaptarshi Guha
    Mar 16, 2015 at 10:08 pm
    Mar 18, 2015 at 1:15 am
  • Dear R-Experts, I try to superimpose/present 2 curves/plots on the same graph. I would like the result/graph to be readable. For that, I use the par(new=TRUE) argument but on the Y-axis there is a ...
    Varin sachaVarin sacha
    Mar 23, 2015 at 3:54 pm
    Mar 24, 2015 at 4:48 pm
  • Hello, I am trying to use the following custom function in an aggregatefunction, but cannot get R to recognize my data. I?ve read the help on function()and on aggregate() but am unable to solve my ...
    Typhenn Brichieri-ColombiTyphenn Brichieri-Colombi
    Mar 4, 2015 at 10:02 pm
    Mar 5, 2015 at 7:19 pm
  • I?m a novice and this message looks like it shouldn?t be ignored. Someone who knows what they?re doing should probably take a look. Thanks Ian Lester Hit <Return to see next plot: Hit <Return to see ...
    Ian LesterIan Lester
    Mar 29, 2015 at 10:52 pm
    Mar 30, 2015 at 4:29 pm
  • Hi, I was trying to use hash, but can't seem to get the keys from the hash. According to the hash documentation ('hash' package pdf, the following should work: [1] "hash" attr(,"package") [1] "hash" ...
    Brian SmithBrian Smith
    Mar 27, 2015 at 11:39 pm
    Mar 28, 2015 at 11:57 pm
  • Dear All, I want to run "neural network" on my dataset. ########################################################## resp<-c(1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1) dim(data) #20*3110 out <- ...
    Soheila KhodakarimSoheila Khodakarim
    Mar 24, 2015 at 9:47 am
    Mar 25, 2015 at 1:52 pm
  • Dear list members, I like the look and feel of the eBook versions of the R manuals very much. So I would like to generate eBooks (teaching material etc) in that look. Q1: is there a description how ...
    Dr. Wolfgang LindnerDr. Wolfgang Lindner
    Mar 23, 2015 at 8:50 am
    Mar 24, 2015 at 9:31 pm
  • Hi all, I am trying in vain to create a new object "Year" in my data frame from existing Date data. I have tried many different approaches, but can't seem to get it to work. Here is an example of ...
    Steve ArchambaultSteve Archambault
    Mar 8, 2015 at 1:49 am
    Mar 13, 2015 at 3:51 pm
  • Hello everyone, I'm having a problem with a function that I wrote that is supposed to add a row to dataframe based upon a conditional statement. To explain I've used an example below: #create data ...
    Curtis BurkhalterCurtis Burkhalter
    Mar 5, 2015 at 8:41 pm
    Mar 9, 2015 at 9:53 am
  • I am analyzing trend ?using Mann-kendall ?test for 31 independent sample, each sample ?have 34 years dataset. ?I supposed to find Kendall ?tau? for each sample. The data is arranged in column wise (I ...
    Desta YosephDesta Yoseph
    Mar 31, 2015 at 4:08 pm
    Apr 2, 2015 at 7:44 pm
  • Sorry if that's confusing: I'm probably confused. :-( I am collecting and trying to analyze data regarding performance of computer systems. After extracting the data from its repository, I have ...
    David WolfskillDavid Wolfskill
    Mar 30, 2015 at 1:50 pm
    Apr 1, 2015 at 7:55 pm
  • Trying to read and clean up the FERC data on Advanced Metering infrastructure. Of course it is in XLS for the first two survey years and then converts to XLSX for the final two. Bad enough that it is ...
    Benjamin BakerBenjamin Baker
    Mar 25, 2015 at 9:01 pm
    Mar 28, 2015 at 12:45 am
  • Dear all, I am currently working with the spatstat package with 3D samples. I am trying to evaluate a non analytical function over the window that encloses the sample and I need to know which is the ...
    Lluis HurtadoLluis Hurtado
    Mar 23, 2015 at 10:44 am
    Mar 25, 2015 at 6:28 pm
  • Hello I'm using a dataframe (mydata) where row names are sampling points and column names are species in a multivariate analysis. If I write boxplot(mydata) I'll have boxplots for each species ...
    Antonio SilvaAntonio Silva
    Mar 20, 2015 at 9:20 pm
    Mar 22, 2015 at 10:01 pm
  • This is a fairly long question. It's about a problem that's easy to specify in terms of sets, but that I found hard to solve in R by using them, because of the strange design of R data structures. In ...
    Jocelyn Ireson-PaineJocelyn Ireson-Paine
    Mar 12, 2015 at 7:55 am
    Mar 17, 2015 at 3:01 am
  • [[alternative HTML version deleted]]
    Lyle WarrenLyle Warren
    Mar 15, 2015 at 3:50 am
    Mar 15, 2015 at 10:50 pm
  • Hello, I've found the following useful functionality: cola colb 1 1 2 2 2 3 But I haven't found a similar option in write.csv. I.e. I would like to "write" a dataframe to a string. What would be the ...
    Thomas NybergThomas Nyberg
    Mar 12, 2015 at 5:15 pm
    Mar 12, 2015 at 8:50 pm
  • Hi, Here are my data: user files date 1 alice 18 2013-09-15 2 bob 5 2013-09-15 3 carol 21 2013-09-15 4 alice 22 2013-09-08 5 bob 9 2013-09-08 6 carol 14 2013-09-08 7 alice 26 2013-09-01 8 bob 3 ...
    Loris BennettLoris Bennett
    Mar 9, 2015 at 1:55 pm
    Mar 10, 2015 at 1:41 pm
  • Hi all, I have a dataset that includes a "date" variable. Each observation includes a date in the form of 2/15/15, for example. I'm looking to create a new indicator variable that is based on the ...
    Brian HamelBrian Hamel
    Mar 4, 2015 at 2:54 pm
    Mar 4, 2015 at 10:42 pm
  • Hello. I am trying to simulate recruitment in a randomized trial. Suppose I have three streams (strata) of patients represented by these data frames. df1 <- ...
    Kevin E. ThorpeKevin E. Thorpe
    Mar 31, 2015 at 5:05 pm
    Mar 31, 2015 at 6:06 pm
  • Hi everybody, I am trying to generate the formula shown in the attachment. My formula so far looks as follows: phi <- function(w1, w2, j, k, K){ zaehler <- (k/K)^(w1-1)*(1-k/K)^(w2-1) nenner <- sum( ...
    Mar 29, 2015 at 12:59 pm
    Mar 31, 2015 at 6:30 am
  • Hello Any one knows multiple break test for univariate series ? -- *Thanks* Engin YILMAZ [[alternative HTML version deleted]]
    Temel İspanyolcaTemel İspanyolca
    Mar 27, 2015 at 11:41 pm
    Mar 29, 2015 at 10:43 am
  • Hello, I am stuck trying to run an analysis using the package picante. I am running two very similar analyses. One works as expected, but when I try the other, I get the error: Error in data.frame(PD ...
    Aman GillAman Gill
    Mar 12, 2015 at 5:07 pm
    Mar 18, 2015 at 10:00 pm
  • I have a dataset with 6187 elements, ranged from 3 to 104028. When I tried to examine only small range of data, I found that the plot was not smooth (as shown below): plot(density(test$V2), ...
    Fix AceFix Ace
    Mar 17, 2015 at 7:06 pm
    Mar 18, 2015 at 9:52 pm
  • ?How can i plot the "scaled TTT-transform" with R? And how can i plot " Empirical Hazard function plot" ? Thank you in advance [[alternative HTML version deleted]]
    Javad ZendedelJavad Zendedel
    Mar 1, 2015 at 4:43 pm
    Mar 18, 2015 at 5:33 pm
  • Dear R-Experts, I can easily plot an histogram and its density curve. But when I try to add the Gauss curve on the histogram with the following Rcode here below, I don't get it. What is wrong ? Or ...
    Varin sachaVarin sacha
    Mar 17, 2015 at 12:34 am
    Mar 17, 2015 at 12:30 pm
  • Dear all, I need help to get different 68 plots specifc fitted curves in one plot with respective field data observations (age vs dominant height) ...
    Mir SalamMir Salam
    Mar 8, 2015 at 9:56 pm
    Mar 14, 2015 at 2:04 pm
  • Hello, My apologies if this is not the right place to post this question. I need to get R installed on a Linux Red Hat server. I have very limited exposure to R and would appreciate some basic ...
    Axel UrbizAxel Urbiz
    Mar 12, 2015 at 8:39 pm
    Mar 13, 2015 at 12:03 am
  • Hi everyone, I need a regular expression to find those positions in a character vector which contain something which is not a number (either positive or negative, having decimals or not). myvector <- ...
    Adrian DușaAdrian Dușa
    Mar 11, 2015 at 7:27 pm
    Mar 12, 2015 at 10:05 pm
  • Well put. I avoid them too, and go so far as to seek and destroy so they don't get loaded unnoticed and cause unwanted consequences. ".RData files (the ones with nothing before the period) are just ...
    Prof J C Nash (U30A)Prof J C Nash (U30A)
    Mar 11, 2015 at 1:00 pm
    Mar 12, 2015 at 9:19 pm
  • OSX 10.10.2 R 3.1.3 XQuartz installed. I am trying to run one of the tcltk demos This one works: tt <- tktoplevel() label.widget <- tklabel(tt, text = "Hello, World!") button.widget <- tkbutton(tt, ...
    Erich NeuwirthErich Neuwirth
    Mar 11, 2015 at 10:41 pm
    Mar 12, 2015 at 9:42 am
  • Dear R-users, I would like to speed up a double-loop I developed for detecting and removing outliers in my whole data.frame. The idea is to remove data with a too big difference with the previous ...
    Mar 2, 2015 at 11:11 am
    Mar 3, 2015 at 11:16 am
  • Dear All, I want to run neural network on my data. i run these codes: #load mydata dim(mydata) # 20 3111 library(neuralnet) fm <- as.formula(paste("resp ~", paste(colnames(mydata)[1:3110], ...
    Soheila KhodakarimSoheila Khodakarim
    Mar 30, 2015 at 12:10 pm
    Mar 31, 2015 at 7:18 pm
  • Dear all, I want to run ggplot2 in one of my file. I do this: mergefile<- read.csv("path of my file/name.csv") library(ggplot2) to import my library ggplot(percent, aes(x=factor(Cell.lines), ...
    BenedettaB24 .BenedettaB24 .
    Mar 25, 2015 at 2:02 pm
    Mar 25, 2015 at 3:27 pm
  • Dear All, I have a showstopper here. I cannot run a library(UsingR) because I cannot load the package 'ggplot2'. R version 3.1.0 (2014-04-10) Platform: i386-w64-mingw32/i386 (32-bit) locale: [1] ...
    Jam OneJam One
    Mar 24, 2015 at 6:36 am
    Mar 25, 2015 at 3:10 am
  • Hi, Can a Matlab code be converted to R code? I am finding it difficult to do so. Could you please help me out with it. Your help will be highly appreciated. Here comes the Matlab code ############## ...
    Abhinaba RoyAbhinaba Roy
    Mar 23, 2015 at 3:10 pm
    Mar 23, 2015 at 8:28 pm
  • Hi, I am looking for a way to fit data (vector of values) to a density function using an optimization (ordinary least squares or maximum likelihood fit). For example if I have a vector of 100 values ...
    Johannes RadingerJohannes Radinger
    Mar 21, 2015 at 1:05 pm
    Mar 23, 2015 at 6:40 pm
  • So... wrote my first script, rather than just using the interactive console. I think I got everything working more or less the way I want, but I'm sure there's a ton of room for improvement ...
    Mar 23, 2015 at 1:21 am
    Mar 23, 2015 at 3:59 pm
  • Hi, I have a table with persons in rows and objects associated to these persons. And I need to transform it to table with objects in rows and persons next to them. As it is shown on the picture ...
    Mar 14, 2015 at 10:02 pm
    Mar 16, 2015 at 5:07 pm
  • Dear All, The textplot() function in the wordcloud package seem to do a good job with generating non-overlapping labels on a scatter plot. But it throws "warnings" when I try to use the pos= ...
    Fraser D. NeimanFraser D. Neiman
    Mar 13, 2015 at 8:29 pm
    Mar 16, 2015 at 4:16 pm
  • Dear All, Just wondering: Is there any official policy on announcing R-related courses and books on r-help? I didn't find anything on this in the posting guide, but ...
    Viechtbauer Wolfgang (STAT)Viechtbauer Wolfgang (STAT)
    Mar 13, 2015 at 9:26 am
    Mar 16, 2015 at 3:15 pm
Group Navigation
period‹ prev | Mar 2015 | next ›
Group Overview
groupr-help @

312 users for March 2015

Jeff Newmiller: 45 posts Bert Gunter: 26 posts David Winsemius: 26 posts Sarah Goslee: 24 posts William Dunlap: 20 posts PIKAL Petr: 18 posts Jim Lemon: 16 posts Peter dalgaard: 15 posts Rolf Turner: 15 posts Prof Brian Ripley: 14 posts John Kane: 13 posts JS Huang: 12 posts MacQueen, Don: 12 posts Curtis Burkhalter: 11 posts Duncan Murdoch: 11 posts Thierry Onkelinx: 11 posts David L Carlson: 10 posts Karim Mezhoud: 10 posts Luca Meyer: 10 posts Nicole Ford: 10 posts
show more