Grokbase Groups R r-help April 2016
FAQ

Search Discussions

249 discussions - 832 posts

  • Sorry if this has been answered elsewhere, but I can't find any discussion of it. Wondering why the following situation occurs (duplicated on 3.2.2 CentOS6 and 3.0.1 Win2k, so I don't think it is a ...
    Paulson, ArielPaulson, Ariel
    Apr 8, 2016 at 10:24 pm
    Apr 12, 2016 at 6:21 pm
  • Hi, I am trying to show an interquartile range while grouping values using the function ddply(). So my function call now is like groupedAll <- ddply(data ,~groupColumn ,summarise ...
    Michael ArtzMichael Artz
    Apr 19, 2016 at 1:15 am
    Apr 20, 2016 at 4:39 am
  • I am trying to draw maps for the world using: library(rworldmap) library(maptools) library(RColorBrewer) tmp2<- dput(head(pece,10)) structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL", ...
    Miluji SbMiluji Sb
    Apr 8, 2016 at 12:24 pm
    Apr 14, 2016 at 8:01 am
  • Hi I'm trying to get the top decision rules from a decision tree. Eventually I will like to do this with R and Random Forrest. There has to be a way to output the decsion rules of each leaf node in ...
    Michael ArtzMichael Artz
    Apr 13, 2016 at 8:40 pm
    Apr 16, 2016 at 4:58 am
  • Hi I'm not sure how to ask this, but its a very easy question to answer for an R person. What is an easy way to check for a column value and then assigne a new column a value based on that old column ...
    Michael ArtzMichael Artz
    Apr 7, 2016 at 11:41 am
    Apr 8, 2016 at 10:58 am
  • Hi all, I have one factor variable in my df and I want to extract the names from it which contain both "t2" and "pd": 'data.frame': 36919 obs. of 162 variables $TE :int 38,41,11,52,48,75,..... $TR ...
    Chalabi ElaheChalabi Elahe
    Apr 30, 2016 at 9:38 pm
    May 2, 2016 at 7:08 pm
  • How can I get the p values from a glm ? I want to get the p values so I can add them to a custom report fitwean<- glm(data[,"JWean"]~data[,"Group"],data=data,family=binomial(link ="logit")) ...
    John SorkinJohn Sorkin
    Apr 1, 2016 at 10:14 pm
    Apr 3, 2016 at 10:22 pm
  • Hi all, I hope you are doing well? I?m currently using the lm() function from the package stats to fit linear multifactor regressions. Unfortunately, I didn?t yet find a way to fit linear multifactor ...
    Aleksandrovic, Aljosa (Pfaeffikon)Aleksandrovic, Aljosa (Pfaeffikon)
    Apr 26, 2016 at 12:39 pm
    Apr 28, 2016 at 1:06 pm
  • Dear Sirs, I am Professor at Indira Gandhi Krishi Vishwavidyalaya, Raipur, Chhattisgarh, India. While taking classes, I found the *by() *function producing following error when I use FUN=mean or ...
    Akhilesh SinghAkhilesh Singh
    Apr 14, 2016 at 8:14 pm
    Apr 17, 2016 at 3:11 pm
  • Following some old advice on this list, I have been reading the code for summary.lm to understand the computation of R-squared from a weighted regression. Usually weights in lm are applied to squared ...
    Murray EffordMurray Efford
    Apr 7, 2016 at 9:21 pm
    Apr 10, 2016 at 10:39 pm
  • Hello, Suppose the you need a loop to create a new variable , i.e., you are not reading data from outside the loop. This is a simple example in Matlab code, for i=1:5 r1=randn r2=randn r=[r1 r2] ...
    Gordon, FabianaGordon, Fabiana
    Apr 27, 2016 at 2:25 pm
    May 2, 2016 at 11:54 pm
  • Hi First post and a relative R newbie.... I am using the vioplot library to produce some violin plots. I have an input CSV with columns off irregular length that contain NAs. I want to strip the NAs ...
    Mike SmithMike Smith
    Apr 30, 2016 at 7:58 pm
    May 2, 2016 at 5:28 pm
  • Hi All, I am new to R and don't know how to achieve it. I am interested in generating a hypothetical dataframe that is consisted of say two variables named v1 and v2, based on the following ...
    Muhammad BilalMuhammad Bilal
    Apr 8, 2016 at 6:57 pm
    Apr 9, 2016 at 2:01 pm
  • Dear All, I have the following problem: I have a function in which I check if the difference between values is smaller or equal to a certain threshold. I however realized that I might get there some ...
    Rainer JohannesRainer Johannes
    Apr 5, 2016 at 11:34 am
    Apr 7, 2016 at 8:43 am
  • Good morning RGuru's I have a data frame of 575 columns.? I want to extract only those columns that are numeric(double) or integer to do some machine learning with.? I have searched the web for a ...
    Carl SuttonCarl Sutton
    Apr 29, 2016 at 4:19 pm
    May 4, 2016 at 5:08 pm
  • Hi, How would you calculate the "mean colour" of several colours, for example c("#FF7C00","#00BF40","#FFFF00")? Yours, Atte Tenkanen
    Atte TenkanenAtte Tenkanen
    Apr 16, 2016 at 12:47 pm
    Apr 16, 2016 at 6:15 pm
  • When I use any function of RWeka Package in Rstudio I get an error, "Error in .jnew (name): java.lang.ClassFormatError." can anyone guide me in this? [[alternative HTML version deleted]]
    ‪Rini John‬ ‪‪Rini John‬ ‪
    Apr 5, 2016 at 12:14 pm
    Apr 13, 2016 at 5:58 am
  • Hi there, I have a data frame DF with 40 millions strings and their frequency. I am searching for strings with a given pattern and I am trying to speed up this part of my code. I try many options but ...
    Fabien TarradeFabien Tarrade
    Apr 10, 2016 at 6:03 pm
    Apr 29, 2016 at 7:03 pm
  • Dear all: I converted the columns (Baci, Meti, Fungii, Protozoai) into integers (using excel) and then imported the data (.txt) into R. Interestingly, the other three variables were loaded as INT, ...
    André Luis NevesAndré Luis Neves
    Apr 26, 2016 at 5:11 pm
    Apr 26, 2016 at 10:20 pm
  • I have a situation in R where I would like to find any x (if one exists) that solves the linear system of equations Ax = b, where A is square, sparse, and singular, and b is a vector. Here is some ...
    A AA A
    Apr 20, 2016 at 11:22 am
    Apr 20, 2016 at 8:25 pm
  • Hi,I have a data set (mydata), which a part of this is like the following:??'data.frame': ? 36190 obs. of 16 variables:$ RE ? ? ? ? ? ? ? ? ? ?: int ?38 41 11 67 30 18 38 41 41 30 ...$ LU ? ? ? ? ? ? ...
    Chalabi ElaheChalabi Elahe
    Apr 14, 2016 at 8:14 pm
    Apr 16, 2016 at 2:03 pm
  • I have a simple function such as: foo <- function(x) { call <- lapply(match.call(), deparse) testit <- capture.output(tryCatch(eval(x), error = function(e) e)) if (grepl("Error", testit)) { ...
    Adrian DușaAdrian Dușa
    Apr 12, 2016 at 10:24 am
    Apr 14, 2016 at 5:00 pm
  • Hi, How could we print the frequency table (produced by "table") to an Excel file? Is there an easy way to do so? Thanks, Miao z y a b c 1 0 0 1 2 0 1 0 3 1 0 0 y z Freq 1 1 a 0 2 2 a 0 3 3 a 1 4 1 b ...
    Jpm miaoJpm miao
    Apr 26, 2016 at 10:35 pm
    May 2, 2016 at 1:30 pm
  • I am trying to use the angle option in polygon to create polygons filled with horizontal and vertical lines. The polygons I am crating are irregular and it the angle function appears to set the angle ...
    Simon, HeatherSimon, Heather
    Apr 27, 2016 at 8:17 pm
    Apr 28, 2016 at 4:32 pm
  • I am just beginning to learn R, using _R for Dummies_ by Andrie de Vries and Joris Meys. I am using Windows 7, and RGui (64-bit) version 3.0.2. I have reached the chapter on "Getting Data Into and ...
    Jason HernandezJason Hernandez
    Apr 24, 2016 at 8:30 pm
    Apr 26, 2016 at 4:00 am
  • Dear Experts , I am using R with Spark on Windows and now there is a need to move to Ubuntu. I wanted to know if most of the packages that are available on windows , would they be available on ...
    MylisttechMylisttech
    Apr 22, 2016 at 6:51 pm
    Apr 25, 2016 at 9:04 pm
  • I needed to update R so I could install ggplot. I am running Ubuntu 12.04. I cannot upgrade Ubuntu because I am using a work computer. I tried upgrading the normal way: sudo apt-get update sudo ...
    Paul TremblayPaul Tremblay
    Apr 20, 2016 at 4:36 pm
    Apr 22, 2016 at 9:08 pm
  • Hi I need to insert a blank row after every row in R data frame. I have achieved it through: df[rep(1:nrow(df),1,each=2),] But it inserts a row with name of previous row, while i want a complete ...
    Saba SehrishSaba Sehrish
    Apr 24, 2016 at 12:02 pm
    Apr 25, 2016 at 2:42 pm
  • Hi I have the following df and I created two subsets but I don't know how to use these subsets as the colors of my plot. data.frame': 36919 obs. of 162 variables $TE :int 38,41,11,52,48,75,.... ...
    Chalabi ElaheChalabi Elahe
    Apr 23, 2016 at 8:16 pm
    Apr 25, 2016 at 12:50 am
  • Hi I have two columns in data frame. First column is based on "ID" assigned to each group of my data (similar ID depicts one group). From second column, I want to identify highest value among each ...
    Saba SehrishSaba Sehrish
    Apr 22, 2016 at 1:51 pm
    Apr 24, 2016 at 3:56 am
  • Hi, I request help with the following: INPUT: A data frame where column "Lower" is a character containing numeric values (different count or occurrences of numeric values in each row, mostly 2) ...
    Burhan ul haqBurhan ul haq
    Apr 18, 2016 at 4:48 pm
    Apr 19, 2016 at 4:37 am
  • Dear All, I have a data set containing year, month, day and counts as shown below: data <- read.table("data.txt", col.names = c("year", "month", "day", "counts")) Using the formula below, I converted ...
    Ogbos OkikeOgbos Okike
    Apr 18, 2016 at 1:09 pm
    Apr 18, 2016 at 8:07 pm
  • i have combined all the variables in a matrix, and i wish to conduct a simulation row by row. But i found out the code only works for the every first row after a cycle of nine samples. But after ...
    Tan sjTan sj
    Apr 17, 2016 at 5:59 pm
    Apr 18, 2016 at 11:11 am
  • I am trying to understand cut so I can divide a list of numbers into 10 group: 0-9.0 10-10.9 20-20.9 30-30.9, 40-40.9, 50-50.9 60-60.9 70-70.9 80-80.9 90-90.9 As I try to do this, I have been playing ...
    John SorkinJohn Sorkin
    Apr 17, 2016 at 2:38 am
    Apr 17, 2016 at 4:39 pm
  • Hi R user, Can we calculate sample size when only mean and SE are given? Let say one example, I have mean with SE is 0.54+-0.0517 (mean+-SE). Is there any way to find the samples (sample size n) in ...
    Marna WagleyMarna Wagley
    Apr 14, 2016 at 7:28 am
    Apr 14, 2016 at 12:55 pm
  • Dear R-list users, I need to use strptime because I have to deal with date with hours and minutes. I read the manual for strptime and I also looked at many examples, but when I try to apply it to my ...
    Stefano SofiaStefano Sofia
    Apr 11, 2016 at 7:22 am
    Apr 11, 2016 at 4:20 pm
  • Dear R Forum, I have about 2000+ FX forward transactions and I am trying to run 1000 simulations. If I use less no of simulations, I am able to get the desired results. However, when I try to use ...
    Amelia MarshAmelia Marsh
    Apr 6, 2016 at 11:39 am
    Apr 7, 2016 at 6:08 am
  • Hi, I was wondering if there was an equivalent to the pdf-manual for R-packages, but rendered as a single html page? I am looking for this as it would make reading easier as - no restriction to the ...
    Holger HoeflingHolger Hoefling
    Apr 6, 2016 at 8:17 am
    Apr 6, 2016 at 4:40 pm
  • hi, i am new in this field. do favorite<http://stackoverflow.com/questions/36404707/simulation-study-of-2-sample-test-on-different-combination-of-factors# If I wish to conduct a simulation on the ...
    Tan sjTan sj
    Apr 5, 2016 at 1:15 am
    Apr 6, 2016 at 3:54 pm
  • Respected Sir, I am doing a project on multiple linear model fitting and in that project I have to test Homoscedesticity of errors I have google for the same and found bptest for the same but in R ...
    Deepak SinghDeepak Singh
    Apr 4, 2016 at 8:40 am
    Apr 4, 2016 at 8:03 pm
  • Dear All, I have a script that draws longitude and latitude of lightning occurrence. This script was running fine before. But when I changed my system and do a fresh install on another laptop, this ...
    Ogbos OkikeOgbos Okike
    Apr 30, 2016 at 8:28 am
    May 1, 2016 at 12:33 am
  • Hi All, my script tries to do the following on factors: + Umsatz <- paste0("Umsatz_", year) + Kunde <- paste0("Kunde01_", year) + Check <- paste0("Check_U_0__Kd_1_", year) + + cat('Creating', Check, ...
    G MaubachG Maubach
    Apr 28, 2016 at 7:07 am
    Apr 28, 2016 at 1:29 pm
  • Hi, Do you have ideas, how to find all those different combinations of integers ( 0) that produce as a sum, a certain integer. i.e.: if that sum is 3, the possibilities are c(1,1,1), c(1,2), c(2,1) ...
    Atte TenkanenAtte Tenkanen
    Apr 27, 2016 at 3:46 pm
    Apr 28, 2016 at 5:10 am
  • Hi All, I need to evaluate missing values in my data. I am able to filter these values and do simple statistics on it. But I do need new variables based on variables with missing values in my ...
    G MaubachG Maubach
    Apr 26, 2016 at 8:09 am
    Apr 27, 2016 at 10:02 am
  • Hi all, I would like to use a loop for tasks that occurs repeatedly: # Groups # Umsatz <= 0: 1 (NICHT kaufend) # Umsatz 0: 2 (kaufend) for (year in c("2011", "2012", "2013", "2014", "2015")) { ...
    G MaubachG Maubach
    Apr 22, 2016 at 3:52 pm
    Apr 26, 2016 at 6:44 am
  • Hi, I have a char vector with year values. Some cells have single year value '2001-' and some have range like 1996-2007. I need to remove hyphen character '-' from all the values within the character ...
    Sunny SinghaSunny Singha
    Apr 25, 2016 at 6:35 am
    Apr 25, 2016 at 7:21 pm
  • Hi all, I have a data frame df and I want to do subset based on several conditions of letters of the names in Command.1)if the names contain PD 2)if the names contain t1 3)if the names contain t2 ...
    Chalabi ElaheChalabi Elahe
    Apr 22, 2016 at 1:42 pm
    Apr 23, 2016 at 6:07 pm
  • Dear All, I am trying to generate a circular/radial plot. The script below has a result I am looking for: testlen<-rnorm(24)*2+5 testpos<-0:23+rnorm(24)/4 clock24.plot(testlen,testpos,main="Test ...
    Ogbos OkikeOgbos Okike
    Apr 21, 2016 at 8:44 am
    Apr 22, 2016 at 7:34 pm
  • Dear All, I am trying to reshape the data with some conditions. A small part of the data looks like below. Like this there will be more data with repeating ID. Count id name type 117 335 sally A 19 ...
    Sri vathsanSri vathsan
    Apr 20, 2016 at 5:03 am
    Apr 21, 2016 at 10:28 pm
  • Dear All, I have never had this problem before. I run debian testing on my box and I have recently update my R environment. Now, see what happens when I try the most trivial of all plots Error in ...
    Lorenzo IsellaLorenzo Isella
    Apr 19, 2016 at 3:23 pm
    Apr 20, 2016 at 6:56 am
Group Navigation
period‹ prev | Apr 2016 | next ›
Group Overview
groupr-help @
categoriesr
discussions249
posts832
users260
websiter-project.org
irc#r

260 users for April 2016

Bert Gunter: 49 posts David Winsemius: 46 posts Jim Lemon: 38 posts Jeff Newmiller: 35 posts Duncan Murdoch: 26 posts Michael Artz: 26 posts PIKAL Petr: 24 posts David L Carlson: 15 posts John Kane: 14 posts William Dunlap: 14 posts Jim holtman: 12 posts Peter dalgaard: 11 posts Chalabi Elahe: 10 posts Giorgio Garziano: 10 posts Miluji Sb: 10 posts Ogbos Okike: 10 posts Sarah Goslee: 10 posts Tan sj: 10 posts Muhammad Bilal: 8 posts Saba Sehrish: 8 posts
show more
Archives