similar to: Date on x-axis of xyplot

Displaying 20 results from an estimated 190 matches similar to: "Date on x-axis of xyplot"

2003 Jun 13
1
R 1.7.0 startup error: .addMethodFrom...
Does anyone know what could be causing the following error message on startup of R: Error in .addMethodFrom(def,argName[1],class[1],fromClass) : object "*tmp*" not found. I'm using R 1.7.0 and Windows 2000. This happened shortly after I installed 1.7.0. Once it occurs, R freezes. >From then on R will always freeze with this error message. I reinstalled 1.7.0 and it worked
2005 Dec 06
5
Matrix of dummy variables from a factor
What is a simple way to convert a factor into a matrix of dummy variables? fm<-lm(y~f) where f is a factor takes care of this in the estimation. I'd like to save the result of expanding f into a matrix for later use. Thanks. Charles -- Charles H. Franklin Professor, Political Science University of Wisconsin, Madison franklin at polisci.wisc.edu chfrankl at wisc.edu
2006 Aug 25
2
horizontal direct product
II am translating some gauss code into R, and gauss has a matrix product function called the horizontal direct product (*~), which is some sort of variant on the Kronecker product. For example if x is 2x2 and y is 2x2 the horizontal direct product, z, of x and y is defined (in the Gauss manual) as: row 1 = x11*y11 x11*y12 x12*y11 x12*y12 row 2 = x21*y21 x21*y22 x22*y21 x22*y22 Or in R
2010 Jan 03
1
Interpreting coefficient in selection and outcome Heckman models in sampleSelection
Hi there Within sampleSelection, I'm trying to calculate the marginal effects for variables that are present in both the selection and outcome models. For example, age might have a positive effect on probability of selection, but then a negative effect on the outcome variable. i.e. Model<-selection(participation~age, frequency~age, ...) Documentation elsewhere describes one method for
2003 Jul 13
3
How robust is mle in R?
A newbie question: I'm trying to decide whether to run a maximum likelihood estimation in R or Stata and am wondering if the R mle routine is reasonably robust. I'm fairly certain that, with this data, in Stata I would get a lot of complaints about non-concave functions and unproductive steps attempted, but would eventually have a successful ML estimate. I believe that, with the
2006 Feb 14
1
Parallel computing in R for dummies--how to optimize an external model?
I am trying to use the optimizing function genoud() with the snow package on a couple of i686 machines running Redhat Linux WS4 . I don't know anything about PVM or MPI, so I just followed the directions in snow and rgenoud for the simplest method and started a socket cluster. My function fn for genoud involves updating an input file for a separate numerical model with the latest parameter
2011 Jun 07
3
Cleveland dot plots
I would rather use cleveland dot plots than bar charts to display my study results. I have not been able to find (or figure out) an R package that is capable of producing the publication quality dot charts Im looking for. I have either not been able to get error bars (lattice), cannot order the data display properly (latticeExtra), or cannot make adjustments to axes. Does anyone have a quick
2004 Jun 17
0
beta regression in R
Hello, I'm using optim to program a set of mle regression procedures for non-normal disturbances. This is for teaching and expository purposes only. I've successfully programmed the normal, generalized gamma, gamma, weibull, exponential, and lognormal regression functions. And optim returns reasonable answers for all of these compared with the identical optimization problems in STATA and
2009 Jun 04
0
(ORPHANED) rimage 0.5-8 package uploaded
Hi, With the help of Dirk Eddelbuettel, I was able to fix a few little problems that prevented the rimage (0.5-7) package from working under (at least) R 2.8 or 2.9 and g++ 4.2 or 4.3. I have uploaded a new release, 0.5-8, that fixes these problems. It have attempted to contact the package's maintainer, Tomomi TAKASHINA <t.takashina at computer.org>, to no avail. Kurt Hornik
2009 Aug 04
0
status of boolean package
FYI ---------- Forwarded message ---------- From: Bear Braumoeller <braumoeller.1 at polisci.osu.edu> Date: 2009/8/4 Subject: Re: Package boolean on CRAN To: "cgb at datanalytics.com" <cgb at datanalytics.com> Cc: Ronggui Huang <ronggui.huang at gmail.com>, Ben Goodrich <goodrich at fas.harvard.edu> Gentlemen, Thanks for your enquiries. ?Boolean is under
2012 Jul 04
1
How do you impute missing data using Latent Class Model (poLCA package)
My problem is I have data with both categorial and numerical data, currently only the categorical number contains missing data, was wondering do I make a new dataframe containing only the categorical columns? How would you use Latent Class Model specifically poLCA to impute the missing data? http://www.sscnet.ucla.edu/polisci/faculty/lewis/pdf/poLCA-JSS-final.pdf The reason why I chose not to
2009 Jun 04
0
(ORPHANED) rimage 0.5-8 package uploaded
Hi, With the help of Dirk Eddelbuettel, I was able to fix a few little problems that prevented the rimage (0.5-7) package from working under (at least) R 2.8 or 2.9 and g++ 4.2 or 4.3. I have uploaded a new release, 0.5-8, that fixes these problems. It have attempted to contact the package's maintainer, Tomomi TAKASHINA <t.takashina at computer.org>, to no avail. Kurt Hornik
2004 Jun 20
1
Sweave and echoing R comments
Is there any way to echo comments from an R source file into an SWeave->LaTeX document? Example: # Npop is population total # Npoph0..Npoph2 are stratum totals # Npoph is vector of stratum totals Npop<-sum(to2000) Npoph0<-sum(to2000[bg==0]) Npoph1<-sum(to2000[bg==1]) Npoph2<-sum(to2000[bg==2]) Npoph<-c(Npoph0,Npoph1,Npoph2) In the final LaTeX document, I'd like the
2004 Mar 21
0
Near-perl-like levels of obfuscation
Dirk Eddelbuettel and Albrecht Gephardt have created many Debian packages of R packages from CRAN and other archives. I wanted to install all these Debian packages on a machine running the Debian testing distribution. One way to do this is to search (using the apt-cache program) for all Debian package names that begin with 'r-', extract the package name, and concatenate all those names
1998 Jul 01
1
No subject
Douglas Bates wrote: >From 0.62 onward you should not have to create a symbolic link in >/usr/local/bin. It should be that you can run > cd $RSOURCE > ./configure --prefix=/usr/local > make install >and you will end up with the R script installed in /usr/local/bin and >all the files needed to run R in /usr/local/lib/R. > >Can you tell what the prefix is set to after
2013 Jul 30
1
Ayuda
Hola colegas: He estado usando R Studo para obtener unos reportes que espero me ayuden a comprender un ejemplo que estoy tomando de la red. Usando sink("Tabla.txt") , al pedir summay(n), obtengo: sr tl 1 : 1 1: 4 10 : 1 2:13 18 : 1 3:10 30 : 1 4: 4 47 : 1 7: 9 67 : 1 (Other):34 d Min. : 1.000 1st Qu.: 2.000 Median : 5.000
2013 Jul 31
0
Resumen de R-help-es, Vol 53, Envío 46
Re: Ayuda Manolo, si no estoy mal tu tarea se soluciona con el uso de las funciones melt y cast del package reshape o en su defecto la versión mas nueva reshape2. ------------------------------ > > Message: 4 > Date: Tue, 30 Jul 2013 15:56:03 -0500 > From: Manuel Máquez <manuelmx11@gmail.com> > To: R-help-es@r-project.org > Subject: [R-es] Ayuda > Message-ID: >
2009 Nov 23
2
non-intuitive behaviour after type conversion
Deal list, I have a data frame (birth) with mixed variables (numeric and alphanumeric). One variable "t1stvisit" was originally coded as numeric with values 1,2, and 3. After attaching the data frame, this is what I see when I use str(t1stvisit) $ t1stvisit: int 1 1 1 1 1 1 1 1 2 2 ... This is as expected. I then convert t1stvisit to a factor and to avoid creating a second
2012 May 17
3
New Eyes Needed to See Syntax Error
One of many scripts to produce 4 lattice plots on one page keeps throwing an error. I've tried manipulating the file to eliminate the error, but have not been able to do so. The error is: > source('bicarb.R') Error in source("bicarb.R") : bicarb.R:15:1: unexpected symbol 14: 15: hco33 ^ The 'h' is in column 0 so the caret would be column -1, but it's
2006 Oct 12
2
adding error bars to lattice plots
Dear R users, About a year ago Deepayan offered a suggestion to incorporate error bars into a dotplot using the singer data as an example <<http://finzi.psych.upenn.edu/R/Rhelp02a/archive/63875.html>>. When I try to utilize this code with a grouping variable, I get an error stating that the subscripts argument is missing. I have tried to insert them in various ways, but cannot