similar to: Simple Problem: Plotting mathematical functions

Displaying 20 results from an estimated 200 matches similar to: "Simple Problem: Plotting mathematical functions"

2010 Apr 27
5
get means of elements of 5 matrices in a list
I've got a list of 5 matrices that are each 5 x 6. I'd like to end up with a 5 x 6 matrix that contains the mean value of the 5 original matrices. I can do this by brute force, but there must be a better way than making each matrix into a vector and then remaking a matrix thanks very much for any help david freedman ll=list(structure(c(9.7, 17.6, 20.8, 24.1, 33.8, 14.5, 25.7, 29.8,
2010 Feb 11
1
Mathematical Program
My college professor has created a Math program for astronomy. I don't know what programming language it was built in but Wine will not run it. I want to ask him for the source code because I assume it was C so I might be able to make it so it runs on Linux. Until then do any of you know how this program will run? It does not have a virus, trust me, this is strictly professional.
2009 Jul 07
1
Mathematical annotation axis in lattice
Dear list, making mathematical expressions in plots is not difficult: expression(phi[1]) for example. At this moment I am stuck in creating a vector of expressions: pos <- 1:10 lab <- letters[pos] Now, I would like to create a vector of expressions which I could use for labeling the x-axis of a lattice plot. ll <- as.expression(paste(pos," phi[",lab,"]",sep =
2004 Aug 19
0
Is R good for not-professional-statistician, , un-mathematical clinical researchers?
We are finding more and more clinical researchers interested in learning R and are starting to teach R to clinicians. We have put some teaching material on our site: http://biostat.mc.vanderbilt.edu -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University
2012 May 05
1
what is Non-numeric argument to mathematical function in prediction ?
Hi, I tried to use naivebayes in package 'e1071'. when I use following parameter, only one predictor, there is an error. > m <- naiveBayes(iris[,1], iris[,5]) > table(predict(m, iris[,1]), iris[,5]) Error in log(sapply(attribs, function(v) { : Non-numeric argument to mathematical function However, when I use two predictors, there is not error any more. > m <-
2006 Nov 15
1
Erosion, mathematical morphology
Hello! I need a function to compute the erosion of a binary image by a structuring element. I need the structuring element to be a ball of a given radius. As far as I know the libraries adehabitat and spatstat include functions of mathematical morphology but I couldn't find a function which computes the erosion by a ball. Any idea? Thanks!
2008 May 12
1
inserting mathematical symbols in lattice strip
I have tried without success to find a way including the square root symbol in lattice strips as part of my conditioning labels. I have tried supplementing by creating a list of vectors using the var.name function coupled with the expression function used in xlab/ylab. xyplot(adjusted_Rand_index~cluster|distance_measure, main="Level of agreement between partitions: Wards Method",
1999 Aug 19
1
Mathematical Superscript on the y-axis of a plot
I am trying to get superscripts on the y-axis. I keeping getting syntax error: This works as advertised: > plot(c(1:10), ylab= expression(paste(x^ theta))) This does not: >plot(c(1:10), ylab= expression(paste(x^ {++}))) Note that I am trying to get ++ as superscript. Any suggestions? Thanks. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing
1999 May 24
1
Mathematical Annotation: subscripts
How does one produce subscripts in axis labels? -------------------------------------------------------------------- Kurt Lohman, Biostatistician Department of Public Health Sciences tel: (336) 716-7167 Wake Forest University School of Medicine fax: (336) 716-6427 Winston-Salem, NC 27157 klohman at rc.phs.wfubmc.edu
1999 Nov 04
1
Mathematical niceties
I'd like to make axis titles, chart titles, legends and the like mathematically nice (e.g., have proper superscripts and subscripts, variables in italics, and so on). Ideally, one could go into ``math mode" a la LaTeX, and write something like plot(blah, xlab="Methane in $\mbox{cm}^3$ / g", blah). This is just an ideal, but it would be nice. Is some approximation of this
2012 Feb 07
2
FLAC Mathematical Details
I am unable to find the mathematical details of the codec , please guide. Thanks in advance. -- Manu Ghulyani B.E.(Hons.) Electronics & Instrumentation. B.I.T.S. Pilani. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20120207/0caaeac0/attachment.htm
2012 Feb 07
0
FLAC Mathematical Details
On 7 February 2012 06:24, Manu Ghulyani <manughulyani at gmail.com> wrote: > I am unable to find the mathematical details of the codec , please guide. Unfortunately I'm not aware of a clear write-up of how the FLAC format works in detail. One must muddle through between http://flac.sourceforge.net/format.html and the source code. Basically the audio is chopped into a blocks and
2012 Feb 08
0
FLAC Mathematical Details
On 7 February 2012 21:59, Martijn van Beurden <mvanb1 at gmail.com> wrote: > AFAIK, FLAC uses a fixed block length so block boundaries are just put > somewhere a block ends. Flake, another FLAC-encoders can use variable > block length and has a algorithm to decide the length, but this is > outside of the -0 to -8 presets, as these are all fixed block length. Aha. Thanks for
2012 Feb 08
2
FLAC Mathematical Details
On 02/08/2012 11:49 AM, Ralph Giles wrote: > On 7 February 2012 21:59, Martijn van Beurden <mvanb1 at gmail.com> wrote: > >> AFAIK, FLAC uses a fixed block length so block boundaries are just put >> somewhere a block ends. Flake, another FLAC-encoders can use variable >> block length and has a algorithm to decide the length, but this is >> outside of the -0 to
2012 Feb 08
0
FLAC Mathematical Details
On 8 February 2012 10:00, Justin Ruggles <justin.ruggles at gmx.com> wrote: > 0.5% to 1.0% on average. That's with a fairly simple algorithm. Not very worthwhile. I imagine it's possible to do quite a bit more on some files, but it would be pretty expensive to find the boundaries... -r
2012 Feb 08
1
FLAC Mathematical Details
On 02/08/2012 01:06 PM, Ralph Giles wrote: > On 8 February 2012 10:00, Justin Ruggles <justin.ruggles at gmx.com> wrote: > >> 0.5% to 1.0% on average. That's with a fairly simple algorithm. > > Not very worthwhile. I imagine it's possible to do quite a bit more on > some files, but it would be pretty expensive to find the boundaries... Yes, it likely can do
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 mathematical modelling of complex systems (ranging from geological
1997 Jul 27
0
R-alpha: Mathematical Anotation in Plots
I forgot to mention that version 0.50 will do "greek" and "accents" in plot labels. The basic idea is that you should be able to replace any character vector by an expression vector when doing plot annotation. E.g. plot(rnorm(10),main=expression(hat(Theta))) This produces a plot with a main title consisting of a capital Theta with a "hat" on it. The idea is to
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 workaround for this? thanks a lot for help, Arne -- Arne
2004 Mar 17
2
R-1.8.1-4: Font family, ticks and mathematical expression??
Hi all, Could anyone help answer the following questions, please? (I'm using R-1.8.1-4 on Fedora Core 1 and very new to R) (i) Is it possible to specify a font family (e.g. courier or helvetica) when graphing? (ii) How can I make ticks point inwards on all four sides of a plot? Is it possible to have minor and major ticks? (iii) How would I specify a symbol "\sim" (i.e.