Grokbase Groups R r-help March 2011
FAQ

Search Discussions

971 discussions - 3,357 posts

  • Hi, all, Does R have a "const object" concept like which is in C++ language? I want to set some data frames as constant to avoid being modified unintentionally. Thanks! xiagao1982 2011-03-15
    Xiagao1982Xiagao1982
    Mar 15, 2011 at 2:53 pm
    Mar 16, 2011 at 9:42 pm
  • I am a new user of the function sem in package sem and lavaan for structural equation modeling 1. I don?t know what is the difference between this function and CFA function, I know that cfa for ...
    JoubaJouba
    Mar 27, 2011 at 7:12 pm
    Nov 7, 2011 at 12:24 pm
  • k=lm(y~x) summary(k) returns R^2=0.9994 lm(y~x) is supposed to find coef. a anb b in y=a*x+b l=lm(y~x+0) summary(l) returns R^2=0.9998 lm(y~x+0) is supposed to find coef. a in y=a*x+b while setting ...
    DerekDerek
    Mar 16, 2011 at 7:49 pm
    Mar 18, 2011 at 1:05 am
  • Hi, I am exporting an HDF5 file from Matlab (hdf5write function). It contains several datasets: one scalar, one vectory, one 2-D array, and one 3-D array. The hdf5read() function in the hdf5 library ...
    Stephen T.Stephen T.
    Mar 8, 2011 at 9:47 am
    Mar 27, 2011 at 1:53 pm
  • Dear List, how can I obtain the value of r suqared for a non-linear model? For linear models it can be found in the summary() of the model but for non-linear models I just don't know. Please help! ...
    Anna GretschelAnna Gretschel
    Mar 16, 2011 at 4:53 pm
    Mar 18, 2011 at 9:00 am
  • Hi R users, I request members of the R community to consider filling a short survey regarding the use of R. The survey can be found at http://goo.gl/jw1ig Please accept my apologies for posting here ...
    HarshHarsh
    Mar 3, 2011 at 10:53 am
    Mar 4, 2011 at 11:25 pm
  • Greetings, I've just put out the latest version of "The Popularity of Data Analysis Software" at http://r4stats.com/popularity. This update includes complete data for 2010, the addition of number of ...
    Muenchen, Robert A (Bob)Muenchen, Robert A (Bob)
    Mar 22, 2011 at 10:37 am
    May 11, 2011 at 1:44 pm
  • Dear everybody, I have the following challenge. I have a data set with 2 subgroups, dates (days), and corresponding values (see example code below). Within each subgroup: I need to aggregate (sum) ...
    Dimitri LiakhovitskiDimitri Liakhovitski
    Mar 30, 2011 at 2:23 pm
    Apr 6, 2011 at 4:18 pm
  • Is it possible to refer to an object from within a method, as in *this *in Java? I can't find anything about this in the documentation. Sorry if I missed it. Thanks. *-- Russ Abbott* ...
    Russ AbbottRuss Abbott
    Mar 19, 2011 at 10:34 pm
    Mar 20, 2011 at 1:24 pm
  • As much as I love R, there are still the occasional shortcomings. I would love to find a solution to the "save as..." problem. Steps to reproduce the problem: 1. Open any version of he R GUI in ...
    Gene LeynesGene Leynes
    Mar 14, 2011 at 9:03 pm
    Apr 13, 2011 at 10:05 pm
  • I am new to R so I apologize if my question is trivial. I have not been able to figure out whether what I want to do is even possible. I have a data frame of stock ticker symbols which I store into R ...
    Algotr8derAlgotr8der
    Mar 12, 2011 at 8:08 pm
    May 12, 2011 at 9:20 pm
  • Dear all, I'm trying to create my own package by following for instance http://epub.ub.uni-muenchen.de/6175/2/tr036.pdf In step 6 (page 19) it says that the command 'R CMD build <mypackage ' should ...
    Ian SchillerIan Schiller
    Mar 24, 2011 at 2:36 pm
    Apr 5, 2011 at 2:35 am
  • I have 3 vectors: p1, p2, and p3. I would like each vector to be any possible value between 0 and 1 and p1 + p2 + p3 = 1. I want to graph these and I've thought about using scatterplot3d(). Here's ...
    Christopher DesjardinsChristopher Desjardins
    Mar 29, 2011 at 4:20 pm
    Mar 30, 2011 at 7:27 pm
  • Hi, I am trying to write a loop to recode my data from -999 to NA in R. What's the most efficient way to do this? Below is what I'm presently doing, which is inefficient. Thanks, Chris dat0 <- ...
    Christopher DesjardinsChristopher Desjardins
    Mar 30, 2011 at 1:15 pm
    Mar 30, 2011 at 5:34 pm
  • Dear R users, I'm trying to do betareg on my dataset. Dependent variable is not normally distributed and is proportion (of condom use (0,1)). But I'm having problems: gyl<-betareg(cond ~ alcoh + ...
    Vlatka Matkovic PuljicVlatka Matkovic Puljic
    Mar 12, 2011 at 12:02 pm
    Mar 14, 2011 at 8:48 am
  • Hello I have a matlab MAT file that contains one single variable: a. The structure of a is as follows: a.river1.flow (flow values) a.river1.date_flow (date) a.river1.precip (precipitation values) ...
    Eduardo M. A. M.MendesEduardo M. A. M.Mendes
    Mar 13, 2011 at 9:07 pm
    Mar 14, 2011 at 12:49 am
  • Dear R users, Here is my problem: # example data name <- c(paste ("M", 1:1000, sep = "")) xvar <- seq(1, 10000, 10) set.seed(134) p <- rnorm(1000, 0.15,0.05) dataf <- data.frame(name,xvar, p) plot ...
    Umesh RosyaraUmesh Rosyara
    Mar 5, 2011 at 5:29 pm
    Mar 11, 2011 at 12:01 pm
  • dear R experts--- t <- 1:30 f <- function(t) { cat("f for", t, "\n"); return(2*t) } g <- function(t) { cat("g for", t, "\n"); return(3*t) } s <- ifelse( t%%2==0, g(t), f(t)) shows that the ifelse ...
    Ivo welchIvo welch
    Mar 1, 2011 at 7:19 pm
    Mar 28, 2012 at 3:44 pm
  • Hello R Help, I'm working in a project with a software that register date and time data in serial time format. This format is used by excel, for exemple. In this format, 40597.3911423958 is 2011/2/23 ...
    Raoni Rosa RodriguesRaoni Rosa Rodrigues
    Mar 14, 2011 at 2:00 am
    Jan 20, 2012 at 2:10 pm
  • Hi, I am processing tick data and my code has stopped working as I have increased the size of data being processed. Now I am receiving error for basic tasks in RConsole: Error: evaluation nested too ...
    RivercodeRivercode
    Mar 9, 2011 at 6:05 pm
    Aug 31, 2011 at 3:26 pm
  • I need to change the font(s) used in mosaic from package vcd. The help file and the vignette do not give very explicit examples for doing that. The easiest solution would be changing the font for ...
    Erich NeuwirthErich Neuwirth
    Mar 30, 2011 at 12:49 pm
    Apr 2, 2011 at 6:47 pm
  • Hi, I have been working with R for the past couple of years; analyzing data and producing some graphics. I was just wondering if people use graphics from R straight into articles or are they always ...
    BlancoBlanco
    Mar 29, 2011 at 4:31 pm
    Mar 30, 2011 at 8:24 pm
  • Hi All, I'm trying to plot data that is a time series of flows that are associated with a specific level, and I would like each level to represent a colour in a line plot. Here is some data that ...
    Pamela AllenPamela Allen
    Mar 17, 2011 at 10:33 pm
    Mar 29, 2011 at 1:57 am
  • Dear all, I need to plot an cumulative distribution plot of a variable and then to fit a distribution to that, probably a weibull or lognormal. I have plotted the ecdf as but I haven't managed to fit ...
    Lathouri, MariaLathouri, Maria
    Mar 15, 2011 at 4:00 pm
    Nov 28, 2011 at 2:37 pm
  • Dear All, My question is: how can I estimate VECM system with "unrestricted trend" (aka "case 5") option as a deterministic term? As far as I know, ca.jo in urca package allows for "restricted trend" ...
    Grzegorz KonatGrzegorz Konat
    Mar 30, 2011 at 2:46 pm
    Apr 1, 2011 at 8:21 am
  • Hi, I wish to develop a web crawler in R. I have been using the functionalities available under the RCurl package. I am able to extract the html content of the site but i don't know how to go about ...
    AntujsrvAntujsrv
    Mar 3, 2011 at 9:22 am
    Mar 29, 2011 at 12:16 pm
  • Hi to all, how could I to rotate automatically a data sheet which was imported by read.xls? x1 x2 x3 .... xn y1 1 4 7 ... xn/y1 y2 2 5 8 .... xn/y2 y3 3 6 9 ....xn/y2 yn ... ... ... Xn/Yn to y1 y2 y3 ...
    Knut KruegerKnut Krueger
    Mar 25, 2011 at 10:43 am
    Mar 25, 2011 at 5:10 pm
  • Hi there! I'm not sure I can create a minimal example of my problem, so I'm linking to a minimal .RData file that has only two objects: obs and exp, each is a 6x9 matrix ...
    MaiyaMaiya
    Mar 10, 2011 at 3:18 pm
    Mar 11, 2011 at 1:06 am
  • Dear all I have two 10*10 matrixes and I would like to compare theirs contents. By the word content I mean to check visually (not with any mathematical formulation) how similar are the contents. I ...
    AlaiosAlaios
    Mar 4, 2011 at 7:42 am
    Jun 8, 2011 at 4:01 am
  • Hello I have downloaded the fPortfolioSolver package from R-forge but I have not been able to install it. I don't know exactly where I should place the file and which commands to give R. Could ...
    Luis Felipe ParraLuis Felipe Parra
    Mar 28, 2011 at 11:30 am
    Mar 29, 2011 at 1:50 pm
  • Dear R users, Given this data: x <- seq(1,100,1) dx <- as.POSIXct(x*900, origin="2007-06-01 00:00:00") dfx <- data.frame(dx) Now to play around for example: subset(dfx, dx as.POSIXct("2007-06-01 ...
    Michael BachMichael Bach
    Mar 24, 2011 at 1:29 pm
    Mar 24, 2011 at 4:09 pm
  • Hello! I?m doing this: A<-optim(vv,pen.wlsv,method="BFGS") B<-optim(vv,pen.wlsv,method="Nelder-Mead") the function is the same and the initial values too the estimate values are different, very ...
    LC-BeaLC-Bea
    Mar 18, 2011 at 6:27 pm
    Mar 21, 2011 at 6:14 pm
  • LMM without Random effect: I want to run an LMM both with and without the random factor (ID). And then extract the log-lik values from the two models in order to generate a p-value. with random ...
    BaughBaugh
    Mar 17, 2011 at 9:43 am
    Mar 19, 2011 at 8:25 am
  • Hi All, When I teach an intro workshop on R, I've been minimizing "quote confusion" by always using quotes around package names in function calls. For example: install.packages("Hmisc") ...
    Muenchen, Robert A (Bob)Muenchen, Robert A (Bob)
    Mar 7, 2011 at 2:52 pm
    Mar 10, 2011 at 9:13 am
  • I am running a PCA, but would like to rotate my data and limit the number of factors that are analyzed. I can do this using the "principal" command from the psych package [principal(my.data, ...
    Shari ClareShari Clare
    Mar 3, 2011 at 9:02 pm
    Aug 16, 2012 at 3:40 pm
  • I'm having trouble loading ggplot2 on my mac (Snow Leopard) using R version 2.12.1, as shown below. I can't find a posting relevant to this problem, so any help would be very much appreciated ...
    LinsleypLinsleyp
    Mar 2, 2011 at 6:51 pm
    Apr 25, 2012 at 2:36 pm
  • Hi list, I have a bunch of .csv files that are password-protected. I wonder if there is a way to read them in in R without manually removing the password protection for each file? Thank you very ...
    Shi, TaoShi, Tao
    Mar 31, 2011 at 6:00 pm
    Mar 31, 2011 at 9:22 pm
  • Hi, I would like to compare two models in R with the same dependant variable but different predictors (two different types of frequency and reaction times as RT). An editor told me to have a look at ...
    Boris NewBoris New
    Mar 23, 2011 at 1:32 pm
    Mar 24, 2011 at 4:48 pm
  • http://r.789695.n4.nabble.com/file/n3389613/Life_Expectancies_2008.csv Life_Expectancies_2008.csv I am trying to plot a histogram base on the file i uploaded above. I am facing a trouble in sorting ...
    Andrew456Andrew456
    Mar 19, 2011 at 1:10 pm
    Mar 20, 2011 at 3:10 am
  • Dear R Users, R Core Team, I have a two dimensional space where I measure a numerical value in two situations at different points. I have measured the change and I would like to test if there are ...
    Jon ToledoJon Toledo
    Mar 17, 2011 at 4:38 pm
    Mar 19, 2011 at 4:08 am
  • Dear R, If I have remembered correctly, a square matrix is singular if and only if its determinant is zero. I am a bit confused by the following code error. Can someone give me a hint? Error in ...
    Feng LiFeng Li
    Mar 16, 2011 at 3:28 pm
    Mar 16, 2011 at 10:03 pm
  • R-help, I'm trying to read a data file with plenty of columns. I just need the first 5 but it doe not work by doing something like: Any suggestions? Thanks in advance
    Luis RidaoLuis Ridao
    Mar 15, 2011 at 3:52 pm
    Mar 16, 2011 at 2:49 pm
  • Please note is with replacement From: taby gathoni <<span class="m_body_email_addr" title="3019509e528012a39f37e43d997afd8e" tabieg@yahoo.com</span To: R help <<span class="m_body_email_addr" ...
    Taby gathoniTaby gathoni
    Mar 10, 2011 at 9:04 am
    Mar 14, 2011 at 3:38 pm
  • Hello! I've been trying to get this right for quite a while now and fear there is an easy solution I just don't see. I did not have this problem in Linux, and I searched r-help and Google but did not ...
    Daniel NüstDaniel Nüst
    Mar 10, 2011 at 4:17 pm
    Mar 11, 2011 at 4:02 pm
  • Dear R Users, I would like to know is there any package to create a plot like this? http://dl.dropbox.com/u/5409929/cs1160521f01.gif X axis is categorical. And the positions of the points are ...
    C.H.C.H.
    Mar 8, 2011 at 12:27 pm
    Mar 10, 2011 at 7:43 am
  • R users, I am trying to generate a randomized weekday survey schedule that ensures even coverage of weekdays in the sample, where the distribution of variable DOW is random with respect to WEEK. To ...
    Hosack, MichaelHosack, Michael
    Mar 9, 2011 at 3:33 pm
    Mar 9, 2011 at 10:23 pm
  • Dear all, I am a newbie in R and could not find help on this problem. I am trying to plot an histogram with probabilities in the y axis. This is the code I am using: #TLC uniform n=30 mi=1; mx=6 ...
    JpmarocoJpmaroco
    Mar 3, 2011 at 2:03 pm
    Mar 3, 2011 at 7:39 pm
  • Hello,everybody. My name is Chuan Zun Liang. I come from Malaysia. I am just a beginner for R. Kindly to ask favor about median filter. The problem I facing as below: [,1] [,2] [,3] [,4] [,5] [1,] 7 ...
    Chuan_zlChuan_zl
    Mar 27, 2011 at 2:56 pm
    May 12, 2011 at 1:33 pm
  • Hello R experts I have two linear regressions for sexes (Male, Female, Unknown). All have a good correlation between body length (response variable) and head length (explanatory variable). I know it ...
    Yusuke FukudaYusuke Fukuda
    Mar 31, 2011 at 6:42 am
    Apr 5, 2011 at 5:08 am
  • Hi, I am stuck on this: how to specify a match pattern that means not to include "abc"? I tried: grep("^(abc)", "hello", value=T) should return "hello". while grep("^(abc)", "hello abcd foo", ...
    Array chipArray chip
    Mar 31, 2011 at 11:31 pm
    Apr 1, 2011 at 5:14 pm
Group Navigation
period‹ prev | Mar 2011 | next ›
Group Overview
groupr-help @
categoriesr
discussions971
posts3,357
users902
websiter-project.org
irc#r

902 users for March 2011

David Winsemius: 180 posts Gabor Grothendieck: 69 posts Dennis Murphy: 57 posts Duncan Murdoch: 54 posts Peter Ehlers: 54 posts Joshua Wiley: 50 posts Ista Zahn: 48 posts Henrique Dallazuanna: 47 posts Bert Gunter: 46 posts Jim Holtman: 43 posts Uwe Ligges: 43 posts Greg Snow: 36 posts Ben Bolker: 35 posts Prof Brian Ripley: 31 posts Rex Dwyer: 29 posts Jim Lemon: 24 posts Allan Engelhardt: 23 posts Ivan Calandra: 22 posts Jonathan P Daily: 22 posts Jorge Ivan Velez: 22 posts
show more
Archives