search for: mathematical

Displaying 20 results from an estimated 8100 matches for "mathematical".

2012 May 15
2
question about creating data frame
Hello, My data is "study.txt": "Not A" "A" "Mathematics" 80 15 "Physics" 32 24 "Biology" 18 29 I want to transform this data into with column names 'course' and 'A': course A 1 Mathematics 1 2 Mathematics 1 ..
2006 Jun 06
5
ruby mathematical expression parser
Hi, Has anyone come across a Ruby mathematical expression parser, capable of parsing out token, replacing them with values then executing the mathematical formula? Nothing too heavy, A * (44/12) * ... etc. where A is can be replaced with a value. In Java there are serveral, like JEP, but I''d prefer it we could get a Ruby one now we ha...
2007 Nov 19
2
Editorial in Notices of the AMS: Open Source Mathematical Software
Hi all, For those interested, while scanning /. tonight, I came across a posting which referred to a new editorial in the November 2007 Notices of the American Mathematical Society: Open Source Mathematical Software by David Joyner and William Stein http://www.ams.org/notices/200710/tx071001279p.pdf Although brief, it makes for interesting reading. Regards, Marc Schwartz
1997 Sep 11
1
R-alpha: Mathematical Annotation in R (plots)
...'list-manager', because the subject said ``Returned mail: User unknown'' Paul, I assume you'd approve the subject I've chosen... -- Martin M ]] hi for those who are interested ... the following is a LaTeX document which describes the current state of mathematical expression syntax in R paul ------CUT HERE--------------------------------------------- \documentstyle{article} \begin{document} \section*{Documentation for \\ Mathematical Annotation in $R$} If the {\tt text} argument to one of the text-drawing functions ({\tt text}, {\tt mtext},...
2009 Jun 17
0
New book: Mathematical modeling using R
May I recommend my new book on mathematical modeling to you, which is based on R as a main software tool: Kai Velten: Mathematical Modeling and Simulation, Wiley-VCH, 2009, ISBN 978-3527407583. See also: http://www.wiley.com/WileyCDA/WileyTitle/productCd-3527407588.html http://books.google.com/books?id=Czp1N5UWpyEC List of reviews below....
2011 Jun 20
1
Can mathematical formula be used in the help file of a R function or package?
Hi everyone, I am writing help files for some R functions in an R package. I am wondering if we can use the Latex mathematical formula when editing those *.Rd files and then obtain a pdf manual with beautiful mathematical formula. I tried it with the default R CMD check command but could not get the desired mathematical formula. That is, $f(x)$ is not recognized as a math formulas. I think the R CMD check command invokes p...
2011 Sep 13
2
Mathematical expressions in the group labels in lattice
Hi, I am working with the lattice package and I want to label to groups in the xyplots with mathematical expressions. I short example for this library(lattice) Case<-factor(rep(1:2,each=300)) xx<-rnorm(600,0,1) yy<-rnorm(600,0,1) xyplot(yy~xx|Case) This results in two scatter plots with label "1" and "2". I would like to substitute this labels by math expression. I used...
2005 Apr 04
3
plotting mathematical notation and values substitution
Dear R-users, I'm trying to add a title on a plot with both mathematical notation and values substitution. I read the documentation and search the mailing list but I was not able to solve my problem. Actually, there is a message by Uwe Ligges on June 2003 which addresses a question very close to mine, but the code provided doesn't work. The code is the following: #...
2002 Mar 12
1
mathematical expression in legend
Hello, I'm trying to put a mathematical expression into a legend, but R complains about a syntax error. Basically i'd like to do this: legend.text = c(expression(x < 10), expression(x >= 10)) The manual says that one can only pass mathematical expressions to axis, text etc. but not to the legend command? Is there a workaroun...
2009 Mar 31
1
Problem with mathematical expression and loop
Hi to all I use a loop to plot 9 different histograms of 9 different transformations of one dataset (x). I want to label the histograms with the mathematical expression of each transformation (e.g. x^3). For that I've prepared a vector with the labeling names for "expression". > trans.expr <- c("x^3", "x^2", "x", "frac(1,x)", "frac(1,x^2)", > "frac(1,x^3)", "sqr...
2010 Jun 28
1
mathematical expression in varnames of lattice parallel plot
How can I insert mathematical expressions for variable names in a lattice parallel plot? I tried to implement mathematical expressions in varnames, however, without success. For example, neither parallel(~iris[1:4] | Species, iris, varnames=c("P[Width]", "Petal[length]", "alpha[Width]&quot...
2003 Apr 03
0
Call for papers
"CALL FOR PAPERS" THE ISLAMIC SOCIETY IN SOUTH EAST ASIA CONFERENCE ON STATISTICAL AND MATHEMATICAL SCIENCES BANDUNG, 25 - 26 APRIL 2003 Fakultas Matematika dan Ilmu Pengetahuan Alam Universitas Islam Bandung Jalan Tamansari No. 1, Bandung 40116 Telepon +62 22 4203368 Ext. 136 or 135 Facsimile +62 22 4263895 E-mail: - fmipa_unisba at yahoo.com - wanda at dns.math.itb.ac.id INTRO...
2007 Jan 03
1
mathematical symbols in plots
Hello everyone! I'm trying to plot some mathematical expression along my axis, but demo(plotmath) did not have the symbol I was looking for. In particular, I would like to denote the mean of an observable by writing <k> which I tried to enter with expression(group("<", k, ">")) However, my naive try doesn't wor...
2010 Apr 26
1
Error in pf(q, df1, df2, lower.tail, log.p) : Non-numeric argument to mathematical function
...743926-I PTPRT 5.938578 rs1040481 CHB_NA18537 C/C 2 GI_19743926-I PTPRT 5.874439 rs1040481 CHB_NA18540 C/C 3 GI_19743926-I PTPRT 5.915231 output rs1040480 pvalue:0.39 or something like that rs1040481 pvalue:0.02... error Error in pf(q, df1, df2, lower.tail, log.p) : Non-numeric argument to mathematical function script I'm using data1<-read.table("C:\\Documents and Settings\\bogugk\\Desktop\\Update_Rory\\A_G_without_NN_Results.txt", header=TRUE) fm <- lmList(geneexpression~gvariable|snpid,data=data1) get.pval <- function(z) { x <- summary(z) pf(x$fstatistic[1L...
2011 Mar 07
0
JOB: Statistical and Mathematical Modelling in the Energy and Environment Sectors
JOB: Statistical and Mathematical Modelling in the Energy and Environment Sectors Quintessa (www.quintessa.org) is an employee-owned company that undertakes high-quality science-based consultancy, research and software development for industry and governments around the world in the energy and environment sectors. Statistical and...
2008 May 08
1
variable of mathematics string not interpreted
Hi everybody, my goal is to display symbols on the x-axis of a barplot. I read some mathematics strings in a file and convert them to an expression as follows: tt<- scan(file = fstr ,'what' ='character', sep = ""); for (iaa in 1:length(tt)) { tt[iaa]<-do.call(expression, lapply(tt[iaa], as.name)); } I obtained the following result: tt =
2009 Jul 23
2
mathematical notation in R
...;- -Inf > LBAuo [1] -Inf > HTH Steven McKinney > -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Mary A. Marion > Sent: Wednesday, July 22, 2009 8:00 PM > To: r-help at r-project.org > Subject: [R] mathematical notation in R > > Hello, > > I have an R function which includes the statement LBAuo<- -9999. > Rather > than printing out -9999 I want it to print out - infinity. > As of yet I have not been able to do that. I am not in a graphics > window just outputting a set of var...
2004 Mar 12
1
Re: [R] No traceback available when using try(...) (PR#6669)
On Fri, 12 Mar 2004 11:44:14 -0500, "Roger D. Peng" <rpeng@jhsph.edu> wrote : >Funny, it works for me on R-patched > > > f <- function(a) { return(log(a)) } > > f("A") >Error in log(x) : Non-numeric argument to mathematical function > > traceback() >2: log(a) >1: f("A") > > try(f("A")) >Error in log(x) : Non-numeric argument to mathematical function > > traceback() >2: log(a) >1: f("A") Oops, I get the same behaviour as you now. I think I must have edite...
2012 Oct 11
4
characters, mathematical expressions and computed values
...1, 18, 14.7, 18.9 ) hist(new, xlab='30-day Death Rate',xlim=c(7,22),main=expression("Heart Attack(" * bar(X) * ")=" * mean(new))) I would appreciate any pointers on getting this correct. Thanks -- View this message in context: http://r.789695.n4.nabble.com/characters-mathematical-expressions-and-computed-values-tp4645916.html Sent from the R help mailing list archive at Nabble.com.
2012 Mar 20
3
Graphic legend with mathematical symbol, numeric variable and character variable
Hi, I'd like to make a legend with a mix of mathematical symbol (tau), numeric variable and character variables.I have tried : types<-c("Type 1","Type 2","Type 2") tau<-c(1,3,2) legend(x="topright",legend=paste(types,"tau=",expression(tau))) but it doesn't work: the 'tau' symbol is...