search for: odot

Displaying 20 results from an estimated 45 matches for "odot".

Did you mean: dot
2010 Dec 13
0
odot symbol as a subscript in axes labels
Dear R users, do you know how to print the latex "\odot" symbol subscripted to axes labels? Thank you in advance Gaetano
2003 Feb 11
4
How "else" works
...ns.expr } else alt.expr This results a syntax error. Am I doing something wrong, or doesn't R support the spanning of the combination of if and else statements over several lines? Brian Gregor, P.E. Transportation Planning Analysis Unit Oregon Department of Transportation Brian.J.GREGOR at odot.state.or.us (503) 986-4120
2002 Sep 18
2
Use of Apply to Change Values in Dataframe
...ed by zeros. However, if I define a function: change.na <- function(x){ x[is.na(x)] <- 0 x } and then do: Dat2 <- apply(Dat, 2, change.na) I get the result I want. Why is this? Brian Gregor, P.E. Transportation Planning Analysis Unit Oregon Department of Transportation Brian.J.GREGOR at odot.state.or.us (503) 986-4120 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !)...
2000 Mar 26
1
LaTeX labels
Is there a way to label axes with LaTeX commands like \frac{M}{M_{\odot}} or v_{\rm Cluster} (10^3 km s^{-1}) and have them come out looking right? Please CC eford at princeton.edu. Thanks, -- Eric Ford eford at princeton.edu http://www.princeton.edu/~eford/ eford at mad.scientist.edu -.-.-.-.-.-.-.-.-.-.-.-.-....
2003 Jun 09
2
ESRI shapefiles and EMME/2 packages
I just uploaded two packages to CRAN. shapefiles_0.1.tar.gz - functions to read and write ESRI shapefiles (including dbfs) emme2_0.1.tar.gz - functions to read binary data from an EMME/2 databank data (EMME/2 is a transportation modeling program) Please let me know if you find any bugs or have some suggestions. Thanks. Regards, Benjamin Stabler Transportation Planning Analysis Unit Oregon
2005 May 13
3
List and Column Names in a Function?
...the function? I've posted this type of question before and received no response. Maybe this example will be easier to understand and troubleshoot. ds <- function(myds, vec) {myds[[vec]]*2} ds1 <- c(X=list(1:10), Y=list(11:20)) ds(get("ds1"),get("Y")) khobson at odot.org Kenneth Ray Hobson, P.E. Oklahoma DOT - QA & IAS Manager Oklahoma City, OK 73105-3204
2003 Oct 31
4
Array Dimension Names
I would like to reference array dimensions by name in an apply and a summary function. For example: apply(x, "workers", sum) Is there a better way to do this than creating a new attribute for the array and then creating new methods for apply and summary? I don't want to name the individual elements of each dimension (such as with dimnames) but rather name the dimensions. Thanks
2005 Apr 07
2
Zipping Rdata Files
...he process with, system("gunzip trips.Rdata.gz") load("trips.Rdata") but perhaps there is a simpler solution. P.S. I'm running R 2.0.1 on a Windows XP computer. Brian Gregor, P.E. Transportation Planning Analysis Unit Oregon Department of Transportation Brian.J.GREGOR at odot.state.or.us (503) 986-4120
2003 Sep 17
3
Building and loading a DLL on Windows NT
I am trying to build a simple dll with Rcmd SHLIB to link into R. The results of the build are below. From my limited knowledge of building DLLs, it looks like it worked (I didn't get any errors). F:\R\dlls> Rcmd SHLIB add.C making add.d from add.C g++ -IC:/PROGRA~1/R/src/include -Wall -O2 -c add.C -o add.o ar cr add.a *.o ranlib add.a g++ --shared -s -o add.dll add.def add.a
2002 May 24
3
Converting Character Strings into Object Names
...nd I want to assign data to the objects a.pass.trp, b.pass.trp, c.pass.trp, a.trk.trp, etc. I'd like to be able to paste the names together and then use them as an object references. Brian Gregor, P.E. Transportation Planning Analysis Unit Oregon Department of Transportation Brian.J.GREGOR at odot.state.or.us (503) 986-4120 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !)...
2005 Jul 01
4
R integration with Microsoft Powerpoint
Please allow me an unusual question. Is there any way that R can be closely integrated with a Microsoft Powerpoint presentation? I would like to embed R calculations in Powerpoint so that I will start Powerpoint, be prompted to enter some parameters, and an R function will run and return values and graphs. Thanks, John R 2.1.1 windows 2k John Sorkin M.D., Ph.D. Chief, Biostatistics and
2004 Aug 05
1
R interface to Python (in Windows)
I put a copy of R 1.8.1 for Windows on our FTP site at: ftp://ftp.odot.state.or.us/outgoing/Test/. It should be there for a few days before it gets deleted. Benjamin Stabler Transportation Planning Analysis Unit Oregon Department of Transportation 555 13th Street NE, Suite 2 Salem, OR 97301 Ph: 503-986-4104 -----Original Message----- From: Peter Wilkinson [mail...
2004 Apr 21
1
Error with 1.9.0 - winMenuAdd not usable in .Rprofile
...of the utils package. R must be loading this library after it sources in Rprofile. If you add library(utils) to the beginning of your .First function, it should take care of the problem. Brian Gregor, P.E. Transportation Planning Analysis Unit Oregon Department of Transportation Brian.J.GREGOR at odot.state.or.us (503) 986-4120 > -----Original Message----- > From: Fan [mailto:xiao.gang.fan1 at libertysurf.fr] > Sent: Wednesday, April 21, 2004 3:06 PM > To: Duncan Murdoch > Cc: r-help at stat.math.ethz.ch > Subject: [R] Error with 1.9.0 - winMenuAdd not usable in .Rprofile &g...
2004 Mar 10
2
Rcmd BATCH command line arguments
I want to run Rcmd BATCH with R_DEFAULT_PACKAGE=base so it doesn't load any packages, but it seems to reject this argument because it does not start with a '-' or '--'. Is there a different argument that will work? Thanks. Benjamin Stabler Transportation Planning Analysis Unit Oregon Department of Transportation 555 13th Street NE, Suite 2 Salem, OR 97301 Ph: 503-986-4104
2004 Apr 06
4
how to learn R quickly?
i am new to R,so i post here to ask you how to learn R quickly? is there some usefull materials about using R. ps:though the manual is a good materials,but it is not the best for a newbie,i think. thank you !
2003 Jun 02
6
Building an R package under Windows NT
I am trying to build a R 1.7 package under Windows NT. I created the DESCRIPTION file, the RD file and added the code to the R folder. I also downloaded and installed the Rtools package and have Perl 5.0. I know that Perl, Miktex, and gcc are working. I also have my PATH variable set correctly. I can fake install my package by removing the *.R from the code file, using Rcmd Rdconv to create
2003 Jul 23
2
paste and NAs
I understand how R treats NAs but in the situation below it would be nice to have a na.skip argument to paste so it does not convert the NAs to "NA"s and simply skips those elements of the vector for pasting. > x [1] "2.13" "2.3" NA NA "2.83" NA > paste(x, "0", sep="") [1] "2.130" "2.30"
2008 Mar 05
3
ipf function in R
Hi I have a 3 x 2 contingency table: 10 20 30 40 50 60 I want to update the frequencies to new marginal totals: 100 130 40 80 110 I want to use the ipf (iterative proportional fitting) function which is apparently in the cat package. Can somebody please advice me how to input this data and invoke ipf in R to obtain an updated contingency table? Thanks. By the way I am quite new to R. -- Dr
2005 May 24
2
Missing Data Line Type?
...e that line solid, otherwise, make it dashed up to the next existing x/y point. Additionally, what plot type would you recommend for a plot with two Y points per X? The two points would be joined by a vertical line. The average of the two is the dual type line described above. mailto:khobson at odot.org Kenneth Ray Hobson, P.E. Oklahoma DOT - QA & IAS Manager 200 N.E. 21st Street Oklahoma City, OK 73105-3204 (405) 522-4985, (405) 522-0552 fax Visit our website at: http://www.okladot.state.ok.us/materials/materials.htm
2005 Jun 10
2
Default Format for Dates?
...erfect macro but I'd rather do it as an R default date format if possible. I researched some of this in the archives, FAQ's and manuals but didn't find anything that met my need. I would imagine that this type of question is probably an FAQ but I didn't find it. mailto:khobson at odot.org Kenneth Ray Hobson, P.E. Oklahoma DOT - QA & IAS Manager 200 N.E. 21st Street Oklahoma City, OK 73105-3204 (405) 522-4985, (405) 522-0552 fax Visit our website at: http://www.okladot.state.ok.us/materials/materials.htm