Try this:
x - c(349/077,349/074,349/100,349/117,
+ 340/384.2,340/513,367/139,455/128,D13/168,
+ 600/437,128/903,128/904)
library(gsubfn)
out - strapply(x, '([0-9]+)(?=/)')
out
[[1]]
[1] 349 349 349 349
[[2]]
[1] 340 340 367 455 13
[[3]]
[1] 600 128 128
The strapply
Try:
do.call(test,point)
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Florian Burkart
Sent: Friday,
Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com]
Sent: Friday, February 04, 2011 12:22 PM
To: Greg Snow
Cc: Dick Harray; r-help@r-project.org
Subject: Re: [R] lapply, strsplit, and list
Have you looked into bioconductor? There is a separate mailing list and many
packages designed for genetic analysis within the bioconductor project.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
No, your approach is not correct. For one you have not taken the covariance
between B and C into account, another thing is that the ratio of 2 normal
random variables is not necessarily normal, in some cases it can even follow a
Cauchy distribution. Also note that with only 1 degree of
It depends on what you are assigning. A simple example of assigning the values
1 through 100:
mylist - lapply(1:100, I)
names(mylist) - paste('var',1:100, sep='')
Or if you have 100 files named dat1.txt, dat2.txt, ..., dat100.txt and you want
to read them in:
mylist - lapply( paste('dat',
It is not clear what you are trying to do, but you can have lists (or vectors)
of functions and that should simplify what you are trying to do:
trigfuns - list( s=sin, c=cos, t=tan )
trigfuns
$s
function (x) .Primitive(sin)
$c
function (x) .Primitive(cos)
$t
function (x) .Primitive(tan)
Create a namespace for your package, anything not exported will be hidden
(though a determined person can still find it).
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From:
Yes, the better way to achieve this is to not use pie charts. Look at dotplots
instead.
Single pie charts are hard enough to read, multiple ones in the same plot will
invite comparisons that at best are hard and are often wrong and misleading.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data
The best way to do this is to not create those variables in the global
workspace, but to create a list with the variables in the list (you can name
the list elements and access them by name or by number). With lists you can
use lapply and sapply to do many of the things that you think you want
The apply functions are really just hidden loops, and loops have been made
efficient enough that they are usually not much slower (and sometimes a bit
faster) than the apply's.
If you really want to use apply, then look at mapply (might need to convert the
matrix to a list), or you could use
If you know the spacing between the factor levels, then why not just treat it
as a numeric vector and use the poly function to create orthogonal polynomials
of the numeric variable.
If you have an unequally spaced ordered factor that does not lend itself to the
above, then I don't see that any
In addition you may want to include asp=1 and pty='s' to the plot command.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org]
This would be easier if you showed us a sample of your data and what commands
you are using. Without we need to guess.
Probably your month variable is being turned into a factor somewhere and the
default for factors is alphabetical. The best solution depends on
how/where/when your months are
...@gmail.com]
Sent: Thursday, January 27, 2011 10:27 AM
To: Tal Galili
Cc: Greg Snow; r-help@r-project.org
Subject: Re: [R] boxplot - code for labeling outliers - any suggestions
for improvements?
My colleagues that use one of the .Net languages/libraries can make
scatter plots that look
Why do you need the line to overlay the bars? Which bars are touched by the
line is just a quirk of scaling and could easily change with the scales. All
the overlay does is to make it harder to read, why not jut have 2 panels
aligned on the x-axis but with the line plot above the bar plot?
Your faith in our ability to read your mind is apparently much higher than our
actual ability to do so. What is the nature of your data? what question are
you trying to answer? What type of equation do you want? What do you mean by
better? Better than what?
Maybe the esp package (pre-alpha)
For the last point (cluttered text), look at spread.labels in the plotrix
package and spread.labs in the TeachingDemos package (I favor the later, but
could be slightly biased as well). Doing more than what those 2 functions do
becomes really complicated really fast.
--
Gregory (Greg) L.
With large numbers of points you might want to consider hexagonal binning
instead of scatter plots. I don't know of any tools that both do the binning
and take groups into account, but you could think it through and work something
out.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
It is not clear what you are doing or why you are doing it. If you tell us
your ultimate goal we may be able to help you find a way that does not require
all the computing that you are doing.
How do you get your coefficients? Are you using lm? Have you looked at the
resid function?
--
This is FAQ 7.21.
The real gem in the answer there is at the end where it tells you that it is
easier to just use a list. If your fit1, fit2, fit3, and fit4 were elements in
a list then you can just loop through the list elements, or even easier use the
lapply function to loop through the
-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of JClark
Sent: Wednesday, January 19, 2011 4:04 PM
To: r-help@r-project.org
Subject: Re: [R] function of probability for normal distribution
Dear Greg Snow,
I'm a biologist trying to write a mathematical formula for a doubly
-
From: Alessandro Oggioni [mailto:a.oggi...@ise.cnr.it]
Sent: Tuesday, January 18, 2011 6:33 AM
To: Greg Snow
Cc: r-help
Subject: Re: [R] R scheduling request
Many thanks Greg!
I try to use tcltk2 and tclTaskSchedule function but in argument expr
is possible to insert a R script
You can use the updateusr function in the TeachingDemos package to get them to
match.
Sent from my iPod
On Jan 18, 2011, at 10:05 AM, Andy Aldersley ajalders...@hotmail.co.uk
wrote:
Hello all,
Hoping that there is a fairly simple solution to my query...
I'm trying to overlay a
What happens if you just load the R2wd package then run wdGet() yourself?
Also what OS, version of R, version of TeachingDemos, and version of R2wd are
you using?
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original
You could write a batch file and then have your OS schedule to run R on the
batch file whenever you want (see Rscript for one approach of running the
batch).
Inside of R you can use Sys.sleep to wait a certain amount of time before
running the next command. If you load the tcltk2 package then
Do you have R2wd installed and working? Is the Rcomm system working for you?
Do you receive any errors or warnings?
I just tested it using the R gui under windows and when I do wdtxtStart()
without any word documents open a new one starts and the output gets sent
there. So there must be
Another option to consider is instead of save/load to use save/attach. You
save the data, but then instead of loading it back into the global environment
you use the attach function to attach it in a new environment (position 2 on
the search list by default). It will be attached with the same
In the windows GUI cntrl+r will send the current line or selection to the
command line. There is not a similar sequence to send from the command line to
a script, but you can use the history function to create a new script from
the recent commands (you can set how many).
Another option is
This depends partly on what operating system you are using (the posting guide
suggests including this type of information).
But basically shell will pass a command to the operating system (or a shell for
unix Oss) for it to run the command. So in your example it is expecting to run
dir/b on a
Look at the symbols function for some options of doing what you suggest (you
can also do a search for bubble plot for a couple of other implementations).
If you want to go a bit further than what symbols does for you then look at the
my.symbols function in the TeachingDemos package.
--
sapply(test, '[[', 1)
a b c
1 3 5
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Jannis
Sent: Wednesday,
From: Frodo Jedi [mailto:frodo.j...@yahoo.com]
Sent: Monday, January 10, 2011 5:44 PM
To: Greg Snow
Cc: r-help@r-project.org
Subject: Re: [R] Assumptions for ANOVA: the right way to check the normality
Dear Greg,
first of all thanks for your reply. And I add also many thanks to all
.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
From: Frodo Jedi [mailto:frodo.j...@yahoo.com]
Sent: Saturday, January 08, 2011 3:20 AM
To: Greg Snow
Cc: r-help@r-project.org
Subject: Re: [R] Assumptions for ANOVA: the right way
How about dput and dget in the base package?
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Rainer M Krug
?approxfun
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Alaios
Sent: Monday, January 10, 2011 9:43 AM
To:
Not sure, but one possible candidate problem is that in your simulations one
iteration ended up with fewer levels of a factor than the overall dataset and
that caused the error.
There is no recode function in the default packages, there are at least 6
recode functions in other packages, we
-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Ben Ward
Sent: Thursday, January 06, 2011 2:00 PM
To: r-help@r-project.org
Subject: Re: [R] Assumptions for ANOVA: the right way to check the
normality
On 06/01/2011 20:29, Greg Snow wrote:
Some would argue to always use the kruskal
06, 2011 2:39 PM
To: Greg Snow; r-help@r-project.org
Subject: Re: [R] Problem with 2-ways ANOVA interactions
Dear Greg,
many many thanks, still have a doubt:
Before I wrongly thought that if I do the analysis anova(response ~
stimulus*condition) I would have got the comparison between
the same
You really need to spend more time with a good aov textbook and probably a
consultant that can explain things to you face to face. But here is a basic
explanation to get you pointed in the right direction:
Consider a simple 2x2 example with factors A and B each with 2 levels (1 and
2). Draw
Remember that an non-significant result (especially one that is still near
alpha like yours) does not give evidence that the null is true. The reason
that the 1st 2 tests below don't show significance is more due to lack of power
than some of the residuals being normal. The only test that I
I think that you are looking for the 'resid' and 'fitted' functions, these will
give you the residuals and fitted values from an lm object (that added together
gives the original response but are orthogonal to each other). Those values
can then be assigned to a data frame or used by
training and experience.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
From: Frodo Jedi [mailto:frodo.j...@yahoo.com]
Sent: Thursday, January 06, 2011 12:57 PM
To: Greg Snow; r-help@r-project.org
Subject: Re: [R] Assumptions
See inline
From: Frodo Jedi [mailto:frodo.j...@yahoo.com]
Sent: Thursday, January 06, 2011 12:37 PM
To: Greg Snow; r-help@r-project.org
Subject: Re: [R] Problem with 2-ways ANOVA interactions
Dear Greg,
thanks so much, I think that now I have understood. Please confirm me this
reading
David,
I think the poster wants to use one of the columns as x and the other as y,
ignoring the remaining columns. If that is the case then he/she needs to read
the section in Introduction to R on subsetting data frames.
I agree that the output so far is meaningless, from the degrees of
Formula syntax is different from regular syntax, it is quoted and not
evaluated in the same way as regular commands (otherwise operations like '+'
and '-' would do very different things).
For what you are trying to do, I would suggest creating the formula as a string
using paste or sprintf,
Just do anova(fit3, fit1)
This compares those 2 models directly.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf
[mailto:frodo.j...@yahoo.com]
Sent: Wednesday, January 05, 2011 2:46 PM
To: Greg Snow; r-help@r-project.org
Subject: Re: [R] Comparing fitting models
Dear Greg,
thanks for your answer, but that is not the point.
My question is another: from the data in the R prompt how
can I compare the models?
I don
If you had followed David's advice and put everything into a list or other
structure instead of using the assign function (see fortune(236)) then you
could just access the list element instead of needing get. In the long run (or
even medium and short run) life will be much easier for you if
Well the things most like cat('\n') for starting a new page would be
cat('\013') or cat('\014') (vertical tab and form feed), however on all the
terminals I tried they don't do anything since page is not a concept on a
terminal. However if you outputted one of those into a file and interpreted
Here is a basic example:
tmp.df - expand.grid( x= 1:100, y=1:100 )
tmp.df$z - with(tmp.df, x+2*y)
library(lattice)
levelplot( z ~ x + y, data=tmp.df )
tx2 - with(tmp.df, cut(x, seq(0.5, 100.5, 10) ) )
ty2 - with(tmp.df, cut(y, seq(0.5, 100.5, 20) ) )
tmp.df2 - aggregate(tmp.df, list( tx2, ty2
Look at the functions cut, findInterval, tapply, and aggregate.
Sent from my iPod
On Dec 26, 2010, at 4:34 PM, jonathan j...@than.biz wrote:
Thanks for your advice, but my data is not decimals, so I don't need to round
the values. Instead, what I need to really do is group the values into
Would the read.fwf function work for you?
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Fror
Sent: Sunday,
Whenever a task calls for breaking a data object into pieces, operate on the
pieces, then put it back together, then think about using the plyr package.
Sent from my iPod
On Dec 24, 2010, at 6:58 AM, Ali Salekfard salekf...@googlemail.com wrote:
Hi all,
I'm new to the list but have
You could use the my.symbols function from the TeachingDemos package to create
your own versions of the symbols that you want. Using the ms.polgon function
with it will draw polygons (which can simulate most of the symbols you want)
and should show up vectorized in metafile formats.
--
The clt.examp function in the TeachingDemos package shows the effect of sample
size on approximate normality for 4 different distribution of which the uniform
distribution is one. This may do what you want, or you could start with that
code and modify it to do what you want.
If not then try
Can you show us what you tried and how it differs from what you expect?
The boxplot function calculates the summaries, then calls the bxp function to
do the plotting. So you should be able to create a list similar to what
boxplot does that you can then pass directly to bxp. If you have tried
The sink function does not capture the output, but the txtStart (and friends)
function(s) in the TeachingDemos package can capture both input and output
(using etxtStart instead allows for coloring and including of graphs).
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain
See ?toupper for the toupper, tolower, chartr, and casefold functions.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On
The symbols function can add symbols (including boxplot style boxes) to an
existing plot (your map for example). The subplot function in the
TeachingDemos package can add entire plots (including boxplots) to an existing
plot.
Both the above work with base graphs only, not grid (lattice,
To just save a copy of all the commands issued you can use the savehistory
function (this is documented on the same page as history, so David's answer
would have lead you there as well). If you want to save all the outputs from
you session you can use the sink function.
You can save a
What about thoughtless un-nasty comments?
I would suggest the original poster (and others thinking that they want to do
normality testing) read the help page for SnowsPenultimateNormalityTest in the
TeachingDemos package, which I think agrees mostly with what Bert wrote below
(though it goes
Look at the hexbin package (bioconductor).
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Matthew Vernon
If the goal is to produce a filled contour plot, then look at the levelplot
function in the trellis package, it takes the data in the form that you already
have it, no need to transform.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
One possibility, though not as simple as what you ask for, is to use etxtStart
and friends from the TeachingDemos package.
Other possibilities include using gui interfaces to R, possibilities (though
they may do more than you ask, and color might be different) include emacs/ess;
vim; jgr; and
For data frames the best is probably the View function (note capitol V) which
opens the data frame in a spreadsheet like window that you can scroll through.
For more complicated, list or list-like objects, look at TkListView in the
TeachingDemos package.
For more general investigation of data
Just be sure to read the note on the help page for twoord.plot, then reread it,
then consider alternatives (including the one mentioned in the note), then if
you still want to do this, follow the advice in the note.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain
Look at the twoord.plot function in the plotrix package, but be sure to read
the note on the help page, then reread it and take its advice if you decide to
stick with this type of plot.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
You can set options(width= ) with a sufficiently large number and you should
not see the wrapping. If you don't want wrapping or the initial [1], then
consider using cat instead of print (or implied print), cat can even bypass the
need for sink if you just want to send vector contents to a
: Rodrigo Aluizio [mailto:r.alui...@gmail.com]
Sent: Thursday, December 09, 2010 12:27 PM
To: Greg Snow; 'R Help'
Subject: RES: [R] Barplot with Independent Lines Y axis
Thank you for the function suggestion, works nicely for complete data
vectors. Just another question. When using
The symbols function can add circles to an existing plot with the diameter
based on another variable. You may need to project points if you draw a map
with a projection.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
Yes, just set the colClasses argument to read.table (this will also tend to
speed up the reading, though only noticeable for really big files).
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From:
Like Peter says, this sounds like loess, there are examples on the help page
for scatter.smooth, you could also do this with lattice graphics using
type=c('p','smooth'), or ggplot2 graphics (probably something like geom_smooth
or geom_loess, I don't know ggplot2 that well yet).
If you want to
There are a few different options depending on what you are trying to do.
If you just need some data pairs (for plotting for example), then the return
from density has a vector of x's and a vector of y's, just use those.
If you have specific x values that you need the height at and they follow
tmpdf - data.frame( x = c(1,2,3), y=c(2,3,1), a=c(10,20,30) )
mymat - matrix(0, ncol=3, nrow=3)
mymat[ as.matrix(tmpdf[,c('x','y')]) ] - tmpdf$a
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From:
If you don't want to use the OS (windows does have a scheduling service) then I
would suggest using the tools in tcltk and possibly tcltk2 (tclTaskSchedule).
They can have a delayed thing in the background so you can still use the R
console, but the download will happen automatically.
--
See inline below
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Paul Miller
Sent: Tuesday, December 07, 2010 4:29 PM
To: r-help@r-project.org
Subject: [R] LaTeX, MiKTeX, LyX: A Guide for the Perplexed
Hello Everyone,
Have you tried setting singular.ok=TRUE in the call to lm? This will start
with the full set of contrasts, but only fit those that it is able to.
Otherwise you can set specific contrasts or subsets using the C (note case) or
contrasts functions.
--
Gregory (Greg) L. Snow Ph.D.
Statistical
There are many possibilities depending on what you are really looking for
(strict increasing, vs. increasing or constant, vs. general trend, etc.)
I would start with a plot of the data, that may result in a significant
interocular concussion test and will at least help you understand what is
Try this:
id - 1:20
grade - c(4,4,4,5,5,7,7,7,7,8,8,8,9,9,9,9,9,10,10,10)
sequence - ave( id, grade, FUN=seq )
# if grade is not sorted
grade2 - sample(grade)
sequence2 - ave( id, grade2, FUN=seq )
cbind( grade2, sequence2 )
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
This is a user interface issue. The standard command line user interfaces all
wait for the user to hit enter before sending the information to the parser, so
this cannot be done using the standard command line interface.
You could rewrite the source code, but that is probably overkill. The
I would suggest using the layout function instead of the mfcol and pin with
par. The layout function gives you more control of the size of areas to be
plotted to.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original
Look at the subplot function in the TeachingDemos package.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of
I would suggest reading the discussion (all the posts) starting at:
http://tolstoy.newcastle.edu.au/R/e2/help/07/08/22858.html
This gives reasons for not doing what you are asking along with some
alternatives.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
One possibility for what is happening is that when you load the object it does
not automatically load the package as well, so you get an error when working
with the object. Try loading lme4 package in a new session, then load the
saved object and see if things work for you.
--
Gregory (Greg)
What Frank was trying to tell you is that the p-values don't have much meaning
if you do stepwise regression (sometimes they are worse than useless). The
p-values are computed based on certain assumptions, once you remove a variable
because it is Not Significant, then recompute, those
Generating new data from a kernel density estimate is equivalent to choosing a
point from your data at random, then generating a point from your kernel
centered at the chosen point.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
Look at Predict.Plot (and possibly TkPredict) in the TeachingDemos package.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org]
Often when things look to small/thin it is because the plot is being created at
too large a size, then shrunk.
How are you creating the graph? How are you transferring it?
Try creating the graph at the exact size that it will be when used in the
powerpoint, then without needing to resize
Look at the squishplot function in the TeachingDemos package, it may do what
you want, or if not quite then you could perhaps tweak the code to include the
values you want and create the correct aspect ratio.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
I think that your problem comes from a misunderstanding.
The general rule is that you give the plot command 2 vectors, x and y (though
you can give it the vectors separately, or together in a list or matrix). If
you give plot only a single vector then it will use this as the y vector and
use
Did you read the help page for qqnorm? The return value has the x and y
coordinates used, you can just do something like:
tmp - qqnorm( resid(test.lm) )
identify(tmp, , names(resid(test.lm)) )
Or the plot.lm function has an argument id.n that automatically labels the n
most extreme values:
-help-boun...@r-
project.org] On Behalf Of Greg Snow
Sent: Thursday, November 18, 2010 1:11 PM
To: casperyc; r-help@r-project.org
Subject: Re: [R] how exactly does 'identify' work?
Did you read the help page for qqnorm? The return value has the x and
y coordinates used, you can just do
Well, assuming this refers to the histogram function in the lattice package,
looking at the code for print.trellis shows that the default behavior is to
call plot.trellis with the same arguments. So unless you change the default
behavior, there really is no difference between printing and
What package is pointLabel (or is it pointLabels) in? giving a reproducible
example includes stating packages other than the standard ones.
What you are trying to do is not simple for general cases, some tools work
better on some datasets, but others work better on other datasets.
Some other
This is a side effect of the lazy evaluation done in functions. Look at the
help page for the force function for more details and how to force evaluation
and solve your problem.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
Look at Predict.Plot (and TkPredict) from the TeachingDemos package.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On
In addition to Michael's answer, look at the ?par help page and look at the ask
argument, you can use this to have the graphics device wait for you to click
before starting a new plot.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
The best approach if creating all the files using R is to change how you create
the graphs so that they all go to one file to begin with (as mentioned by
Joshua), but if some of the files are created differently (rgl, external
programs), then this is not an option.
One external program that
necessary, so is it incorrect to have the same
standard deviation too? I need to go back and read on the K-S test to
see what the appropriate constraints are before bothering anyone for
more help. Sorry, I thought I had it.
Thanks again,
kbrownk
On Nov 11, 12:40 am, Greg Snow greg.s
801 - 900 of 2156 matches
Mail list logo