FAQ

Search Discussions

217 discussions - 706 posts

  • R 3.0.1 on Linux 64... I was working with someone else's code. They were using ave() in a way that I guess is nonstandard: Isn't FUN always supposed to be a variant of mean()? The idea was to count ...
    Mike MillerMike Miller
    Dec 24, 2014 at 7:30 pm
    Dec 26, 2014 at 12:00 pm
  • I'm trying to use both these packages and wondering whether they are possible... To make this simple, my ultimate goal is determine long stretches of 1s, but I want to do this within groups (hence ...
    Kate IgnatiusKate Ignatius
    Dec 30, 2014 at 2:27 pm
    Jan 4, 2015 at 3:25 am
  • Hi, I have a simple question. I know there are plenty of packages out there that can provide code to generate a table in latex. But I was wondering whether there was one out there where I can ...
    Kate IgnatiusKate Ignatius
    Dec 9, 2014 at 2:31 am
    Dec 10, 2014 at 8:25 pm
  • # I have a dataframe that contains 2 columns: CaseID <- c('1015285', '1005317', '1012281', '1015285', '1015285', '1007183', '1008833', '1015315', '1015322', '1015285') Primary.Viol.Type <- ...
    BcrombieBcrombie
    Dec 18, 2014 at 3:15 am
    Dec 22, 2014 at 4:32 am
  • Dear all, Suppose that I have natural numbers 1 through 28. Based on these numbers, choose 4 numbers 7 times without replacement and make a 4 by 7 matrix, for example, [,1] [,2] [,3] [,4] [,5] [,6] ...
    Kathryn LordKathryn Lord
    Dec 12, 2014 at 5:00 pm
    Dec 15, 2014 at 4:10 pm
  • Hi, I have been using Deducer for the past year for my very basic 100-level introductory statistics classes for students from other disciplines. I really have liked using it for this specific purpose ...
    Ranjan MaitraRanjan Maitra
    Dec 5, 2014 at 5:34 pm
    Dec 6, 2014 at 1:35 am
  • Hello, I am trying to fit many hundreds of simulated datasets using NLME (it's all in a big loop in R). Some don't seem to converge. I am working on addressing the issues by perhaps adjusting my ...
    Ramiro BarrantesRamiro Barrantes
    Dec 2, 2014 at 8:57 pm
    Dec 3, 2014 at 3:48 pm
  • Hello, Kindly I have a list of lists as follow x [[1]] [1] 7 [[2]] [1] 3 4 5 as showen x[[3]] does not have a value and it has NULL, how can I check on this how to test if x[[3]] is empty. thanks in ...
    Ragia IbrahimRagia Ibrahim
    Dec 20, 2014 at 3:58 pm
    Dec 21, 2014 at 8:39 pm
  • Hi all, Is it possible to change the position of the x axis to have it at the top of the plot when we use the ggplot function ?Thanks for your help,C?line [[alternative HTML version deleted]]
    Jouanin CelineJouanin Celine
    Dec 10, 2014 at 4:43 pm
    Dec 12, 2014 at 3:57 pm
  • Hello, I would like to rename multiple files in a directory. Filenames are read using: lfile <- list.files(pattern="rcp45_Daily_") files <- paste(paste(getwd(),lfile,sep="/"), ...
    Zilefac ElvisZilefac Elvis
    Dec 5, 2014 at 3:44 am
    Dec 5, 2014 at 4:17 pm
  • Dear All, I am writing a GUIpackage that needs global variables. I had many warning message when I checked the code as for example: geteSet: no visible binding for global variable ?curselectCases? I ...
    Karim MezhoudKarim Mezhoud
    Dec 2, 2014 at 8:28 am
    Dec 5, 2014 at 3:24 pm
  • Dear all, I read my a character matrix from a text file. Some of them have greek characters. To reserve the special characters, I used stringsAsFactors=F using read.table. I notice that I can?t print ...
    Heyi xiaoHeyi xiao
    Dec 18, 2014 at 2:25 am
    Dec 21, 2014 at 1:58 am
  • Hello I am struggling with data frames and would appreciate some help please. I have a data set of 13 observations and 80 variables. The first column is the names of different political area ...
    Sun ShineSun Shine
    Dec 11, 2014 at 1:00 pm
    Dec 11, 2014 at 5:58 pm
  • Hello everybody; I'm writing a code where part of it is as follows: for (i in nrow(dadosmax)){ dadosmax$enchday[i] <- if (sum(dadosmax$above[i:(i+44)]) = 45) 1 else 0 } That is for each row of my ...
    Jefferson Ferreira-FerreiraJefferson Ferreira-Ferreira
    Dec 2, 2014 at 6:08 pm
    Dec 3, 2014 at 7:04 pm
  • In a manuscript, I have the following code to illustrate dummy coding of two factors in a contingency table. It works, but is surely obscured by the method I used, involving outer() to find ...
    Michael FriendlyMichael Friendly
    Dec 30, 2014 at 11:05 pm
    Dec 31, 2014 at 2:15 am
  • HI All: Okay I am feeling particular brain dead today. i have the following map created so far using ggmap: I want to color in some lat-lon 5 degree boxes based on some criterion, and it look like ...
    Roy Mendelssohn - NOAA FederalRoy Mendelssohn - NOAA Federal
    Dec 26, 2014 at 11:26 pm
    Dec 27, 2014 at 2:45 pm
  • Hi, I get following error when trying to update the affy package to latest version. Error: cannot remove prior installation of package ?affy? I think it is because affy requires R 3.1.1 and I have ...
    Jane SynnergrenJane Synnergren
    Dec 19, 2014 at 9:56 pm
    Dec 21, 2014 at 9:54 pm
  • Hi all, I have a data set like this: Test.cox file: V1 V2 V3 Survival Event ann 13 WTHomo 4 1 ben 20 * 5 1 tom 40 Variant 6 1 where "*" indicates that I don't know what the value is for V3 for Ben ...
    Aoife dohertyAoife doherty
    Dec 19, 2014 at 10:12 am
    Dec 19, 2014 at 12:06 pm
  • Dear List, I hope this posting is not redundant. I have several list outputs with the same components. I ran a function with three different scenarios below (e.g., scen1, scen2, and ...
    SHSH
    Dec 16, 2014 at 5:06 pm
    Dec 17, 2014 at 9:41 pm
  • Hello, I will analyze polytomous differential item functioning for IRT. I have a Likert type scale. For example, I want to analyze items in term of gender. Is lordifsufficient for this or are there ...
    Munevver kayaMunevver kaya
    Dec 9, 2014 at 8:22 am
    Dec 11, 2014 at 8:47 pm
  • Hi Boris, Sorry for not being explicit when replying to your first email. I wanted to say it does not work when row-binding. I want the following output. Thanks, Pradip 1 1 3 2 2 4 Total 7 ...
    Muhuri, Pradip (SAMHSA/CBHSQ)Muhuri, Pradip (SAMHSA/CBHSQ)
    Dec 1, 2014 at 1:45 am
    Dec 1, 2014 at 3:08 am
  • Is there any way to detect which calls are consuming memory? I run a program whose global variables take up about 50 Megabytes of memory, but when I monitor the progress of the program it seems to ...
    ALBERTO VIEIRA FERREIRA MONTEIROALBERTO VIEIRA FERREIRA MONTEIRO
    Dec 29, 2014 at 6:52 pm
    Dec 30, 2014 at 11:20 am
  • Dear all, I would like to run RAxML for phylogenetic analysis as indicated on Paradis' "Analysis of phylogenetic and evolution with R" (p. 158) thus I tried to use the package phyloch and its ...
    Luigi MarongiuLuigi Marongiu
    Dec 28, 2014 at 11:09 pm
    Dec 30, 2014 at 8:38 am
  • Just a curiosity question: In the documentation for the nlm procedure a find this example of defining a function with a gradient attribute: ----------- f <- function(x, a) { res <- sum((x-a)^2) ...
    Gerrit DraismaGerrit Draisma
    Dec 29, 2014 at 3:32 pm
    Dec 29, 2014 at 4:57 pm
  • Could you please let me know whether R software has any advantage over MATLAB to analyze very big datasets? Thanks you so much [[alternative HTML version deleted]]
    Ghasemzadeh-Barvarz, MassoudGhasemzadeh-Barvarz, Massoud
    Dec 4, 2014 at 8:19 pm
    Dec 28, 2014 at 8:12 pm
  • Hi R user, I am wondering whether I can perform a simple ANOVA analysis in the data in which I ?have mean + SE (+- Standard Error) for several groups.? For this one, ?I calculated upper and lower ...
    Kristi GloverKristi Glover
    Dec 26, 2014 at 2:38 pm
    Dec 27, 2014 at 1:41 pm
  • I just wanted to put this out there. It's just some of my observations about things that happen with R, or happened in this particular investigation. There were definitely some lessons for me in ...
    Mike MillerMike Miller
    Dec 25, 2014 at 9:04 am
    Dec 26, 2014 at 3:16 am
  • I must say I'm pretty new to Linux Debian and R so I might miss here reporting some relevant information (just in case, sorry for that!); I've been looking around the web and also onto this mailing ...
    MaxbreMaxbre
    Dec 23, 2014 at 9:38 pm
    Dec 24, 2014 at 2:57 pm
  • Hi to everyone, I am trying to calculate the Bca bootstrap confidence intervals for the Pearson coefficient. x=Dataset$math.testy=Dataset$geo.testcor(x,y,method="pearson")[1] 0.6983799 boot.ci(cor, ...
    Varin sachaVarin sacha
    Dec 20, 2014 at 8:36 pm
    Dec 23, 2014 at 10:59 pm
  • #Hi guys, #I would like to count the number of individuals that receive X=0 troughout their observational period. #example dataset: ID<-c(1,1,1,1,2,2,3,3,3) X<-c(0,1,2,1,0,0,0,0,0) ...
    NajuzzNajuzz
    Dec 22, 2014 at 1:45 pm
    Dec 23, 2014 at 8:24 am
  • Can you show what the first few rows of your table look like so that we understand the structure? -- View this message in context ...
    MtrangMtrang
    Dec 18, 2014 at 8:35 pm
    Dec 21, 2014 at 10:04 pm
  • Dear all, I want to create a time series object from 00:00:00 to 23:59:00 without dates ? I can't figure it out with xts ? ce
    CeCe
    Dec 21, 2014 at 5:09 am
    Dec 21, 2014 at 8:50 pm
  • I am trying to compute max, min, and mean from Global Circulation Models (GCM) for the US. The data is in 3-hour blocks for 2026-2045 and 2081-2100. Sample Data: tmp1 <- structure(list(FIPS = ...
    Shouro DasguptaShouro Dasgupta
    Dec 18, 2014 at 3:12 pm
    Dec 21, 2014 at 3:26 pm
  • Hi all,I am looking for a function that would give me all the combinations between two vectors.Lets take as example the? test<-seq(1,30000,byP00) Browse[2] test [1]???? 1? 5001 10001 15001 20001 ...
    AlaiosAlaios
    Dec 18, 2014 at 2:56 pm
    Dec 18, 2014 at 4:21 pm
  • Hi, Dr. Gu, I am trying to highlight some axis labels, for example, "72hL3" as bold, using the following command: circos.initialize(factors=female.f, xlim=c(1.8,6.2)) ...
    Fix AceFix Ace
    Dec 15, 2014 at 4:41 pm
    Dec 16, 2014 at 4:17 pm
  • I would appreciate assistance doing in R what a colleague has done in python. Unfortunately (for me), I have almost no experience with either python or xml. Within an xml file there is <CreaDate ...
    MacQueen, DonMacQueen, Don
    Dec 13, 2014 at 8:36 pm
    Dec 15, 2014 at 10:25 pm
  • Hi, Is there a plotmath symbol like LaTeX's \mapsto? I need this comparably often, for example if you want to plot a two-place function in one variable (and thus would like to have ylab="t \mapsto ...
    Marius HofertMarius Hofert
    Dec 12, 2014 at 3:38 am
    Dec 12, 2014 at 7:47 pm
  • Hello, I am attempting to plot an AR(1) model with a standard deviation and I am a little confused as how to do that. I have been looking through the interwebs and some documentation and I see that ...
    Michael SelevanMichael Selevan
    Dec 10, 2014 at 7:21 am
    Dec 11, 2014 at 8:30 am
  • Dear all, for the past two weeks, I've been working on a script to retrieve word pairs and calculate some of their statistics using R. Everything seemed to work fine until I switched from a small ...
    ApeshifterApeshifter
    Dec 8, 2014 at 8:21 pm
    Dec 9, 2014 at 10:02 am
  • Dear R users I am puzzled by the following result from R script. I am trying to convert local time to UTC time. Time zone is -5, therefore I used the following approach. Below is the script. [1] ...
    Alemu TadesseAlemu Tadesse
    Dec 7, 2014 at 7:25 pm
    Dec 8, 2014 at 8:57 am
  • Using the dataset "dat" (found below), I'm seeking a way to condense down the data.frame such that each "site" (i.e., "CID_1"..."CID_13") has a maximum of 7 rows of post-processed data, where the ...
    Morway, EricMorway, Eric
    Dec 7, 2014 at 2:21 pm
    Dec 8, 2014 at 2:01 am
  • hello, I have imported a couple of .dta datasets, but a variable, instead of being labeled as factor (w/ values ranging from a to b) is labeled as integer. How can I fix this? I am sorry if it is a ...
    Edoardo PrestianniEdoardo Prestianni
    Dec 6, 2014 at 11:54 pm
    Dec 8, 2014 at 1:48 am
  • This is NOT critical. It arose due to a fumble fingers when developing an R example, but slightly intriguing. How could one build a string from substrings with a single backslash (\) as separator ...
    Prof J C Nash (U30A)Prof J C Nash (U30A)
    Dec 6, 2014 at 7:00 pm
    Dec 6, 2014 at 7:35 pm
  • Dear expeRts, ? I know we can build a vignette from .Rmd file, but ?i find a lot of r packages have R topic documented words then followed an index, then functions'document which are ...
    PO SUPO SU
    Dec 5, 2014 at 9:12 pm
    Dec 6, 2014 at 7:25 am
  • Hi, I have written a script that currently reads in a .txt file where I specify the name e.g mydata<-read.table("a_date.txt", header=TRUE) The script eventually produces a plot, e.g ...
    Thomas BarninghamThomas Barningham
    Dec 5, 2014 at 1:40 pm
    Dec 5, 2014 at 7:07 pm
  • Hi all, In ?order, the sorting method used appears as the "method" argument to sort.list(), but I cannot make out which is used by default when calling order(), and how to parametrize it. Does ...
    Pierrick BruneauPierrick Bruneau
    Dec 2, 2014 at 11:33 am
    Dec 2, 2014 at 12:47 pm
  • I cross posted this on Stack Overflow: http://stackoverflow.com/questions/27694466/chaining-multiple-replacement-functions-in-r I am using R to work with a large JS object (using the library ...
    Daniel GabrieliDaniel Gabrieli
    Dec 29, 2014 at 9:41 pm
    Dec 30, 2014 at 9:51 pm
  • Dear All, I am not familiar with R language well. Could you please help me interpret these commands?: TE = exp(sum(coef(cox)[c('aTRUE', 'bTRUE')])) - does it mean exp(coef(a variable) + coef(b ...
    Ruzan UdumyanRuzan Udumyan
    Dec 23, 2014 at 9:42 am
    Dec 29, 2014 at 3:31 pm
  • Hello, I have tried the solve the non-negativity constraint "if else function" in R. But I have done something wrong because it still gives the same solution. I want that, if weight element is ...
    Esra UlasanEsra Ulasan
    Dec 20, 2014 at 4:26 am
    Dec 21, 2014 at 8:26 am
  • Hi R User, Would you suggest me on how I can build a pivot table using two variables? I want to put "text" in the table instead of value. I have attached an example data and the type of table ...
    Kristi GloverKristi Glover
    Dec 20, 2014 at 4:45 am
    Dec 20, 2014 at 2:41 pm
Group Navigation
period‹ prev | Dec 2014 | next ›
Group Overview
groupr-help @
categoriesr
discussions217
posts706
users259
websiter-project.org
irc#r

259 users for December 2014

Jeff Newmiller: 50 posts David Winsemius: 24 posts Lee, Chel Hee: 24 posts Duncan Murdoch: 23 posts Bert Gunter: 20 posts Mike Miller: 15 posts Peter dalgaard: 14 posts William Dunlap: 14 posts Prof Brian Ripley: 11 posts Boris Steipe: 9 posts Michael Dewey: 9 posts Richard M. Heiberger: 9 posts Zilefac Elvis: 9 posts John McKown: 8 posts Muhuri, Pradip (SAMHSA/CBHSQ): 8 posts Ce: 7 posts David L Carlson: 7 posts Henrik Bengtsson: 7 posts John Fox: 7 posts Kate Ignatius: 7 posts
show more
Archives