On Apr 10, 2012, at 1:08 PM, Steve Lavrenz wrote:
I definitely need a loop - the example I gave was only a simple
one. Say I
want to do more complex calculations in each step, such that the
numeric
difference between consecutive terms is not constant.
I will try out some of the methods
http://lmdvr.r-forge.r-project.org/figures/figures.html
Look at Figure 10.24 and the code therein. You will likely want to
define your own strip function, and the code in strip.combined could
be your guide. If you have Deepayan's book, you can find more details
in the relevant section.
R-FAQ 7.10:
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-do-I-convert-factors-
to-numeric_003f
On Oct 9, 2008, at 6:59 AM, joseph kambeitz wrote:
I am having some problems while trying to fit simple data.
I aggregated some data using:
data1 - aggregate(data1$T2, list=(SOA=data1$SOA),
I think the problem is that what you describe is not what some
people, R folks included, refer to as dotplot, though I suppose
wikipedia as well as some other top google links seem to agree with
you and minitab. What you describe I think can be obtained with
something like:
x-
Actually the '\\textbf' specification would work just fine. If you
examine test[,1] you'll see it contains the correct thing. The
problem is when print.xtable is called. This is because it
automatically contains a function that sanitizes the character
entries to fix characters that have a
So, am I correct that each datum is either of the form mm/dd/yy or
of the form dd/mm/? If that is correct, then the following
should work, and takes care of converting 99 to 1999 instead of 2099:
dates - c(06/15/07,04/09/99,20/03/2008)
short - grep(\\d\\d/\\d\\d/\\d\\d$, dates,
As suggested in ?[.data.frame, try:
dat[match('a1', rownames(dat)),]
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
On Sep 9, 2008, at 2:41 AM, Xianming Wei wrote:
Hi all,
While dat['a1',] and dat['a10',] produce the same results in the
following example, I'd
Try: license()
On Sep 3, 2008, at 6:59 PM, Erin Hodgess wrote:
Dear R People:
I am trying to install R in a classroom here, but have been told that
there must be a license.
Is there such a thing with R, please? Since it is free, I assumed
that there would be no license.
Thanks for any
Try:
myStr - YD\\(001\\)
In POSIX format, or in most such formats in fact, special characters
like parentheses have a particular meaning, and need to be escaped if
they are to have the parenthesis meaning. This is done typically by
putting a backslash in front of them. Since however a
On Aug 27, 2008, at 10:40 PM, Rolf Turner wrote:
On 28/08/2008, at 2:02 PM, James Milks wrote:
The title says it all. Does anyone know of a way to save your
packages when you upgrade to a new version of R? This may seem
petty, but I'm accumulating enough packages that having to
On Jul 29, 2008, at 5:24 AM, Edna Bell wrote:
Hi R Gurus!
When you build a package, you need to put in keywords in the Rd files.
Where would you find the list of keywords, please?
Simplest way is to google for r keywords. First hit is:
On Jun 27, 2008, at 1:44 PM, baptiste Auguié wrote:
DeaR list,
Pardon the stupidity of this question but I've been trying this for
a while now without success.
I've followed the example given in the green book programming with
data, and I now have a working example of a S4 class with a
One more advantage of TextMate is support for Sweave files. You can
have a Sweave file open, and the LaTeX parts of it are syntax colored
according to LaTeX and one can use all the facilities of the LaTeX
extension (bundle) in LaTeX (which probably has some things similar
to AucTeX, has a
On Jun 17, 2008, at 8:06 AM, Chuck Cleland wrote:
On 6/17/2008 6:59 AM, Steve Murray wrote:
Dear all,
I have used 'read.table' to create a data frame of 720 columns and
360 rows (and assigned this to 'Jan'). The row and column names
are numeric:
columnnames - sprintf(%.2f, seq(from =
On Jun 16, 2008, at 12:13 PM, Lord Yo wrote:
Hello everyone
I have dataset containing a monetary value (ABS) and two factors (Fct,
Group). I am able to create useful using:
bwplot(ABS~Group|Fct)
and
dotplot(ABS~Group|Fct)
Question: What do I have to do to overlay the dotplot with the
Department of Mathematics and Computer Science
Hanover College
Charilaos Skiadas-3 wrote:
On Jun 14, 2008, at 1:25 AM, T.D.Rudolph wrote:
aggregate() is indeed a useful function in this case, but it only
returns the
columns by which it was grouped. Is there a way I can use this
while
?%%
On Jun 13, 2008, at 11:23 AM, Eric Ferreira wrote:
Dear useRs,
How do I ask for the rest of a division?
For instantce, in C is like:
4%2 = 0
Best regards,
--
Eric B Ferreira
Exact Sciences Department
Federal University of Lavras
Brasil
Haris Skiadas
Department of Mathematics and
On Jun 14, 2008, at 1:25 AM, T.D.Rudolph wrote:
aggregate() is indeed a useful function in this case, but it only
returns the
columns by which it was grouped. Is there a way I can use this while
simultaneously retaining all the other column values in the dataframe?
e.g. add superfluous
On Jun 12, 2008, at 2:24 AM, Qman Fin wrote:
Hi all,
I have some data x, which are actualy consisted of numerical
enties. But the
class of this matrix is set to be factor by someone else. I used
class(x), it turns out to be factor. So I can not calculate them.
The typical approach is to
Seeing how there have been three wrong answers so far, I should point
out that:
1) This is an FAQ: http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-
do-I-convert-factors-to-numeric_003f
2) Most of the other methods suggested so far fail if the example x
used is not of the form 1:n. The
On Jun 12, 2008, at 5:06 PM, Marc Schwartz wrote:
on 06/12/2008 03:46 PM Hua Li wrote:
Hi,
I'm looking for some way to pick up the numbers which are
contained and buried in a long character. For example,
outtree.new=(((B:1204.25,E:1204.25):7581.11,F:8785.36):8353.85,C:
17139.21);
num.char =
On Jun 12, 2008, at 6:34 PM, Hua Li wrote:
Thanks, Marc and Haris!
I didn't know the values of the numbers beforehand, so the scan
method won't work, but [^+-\\d.]+ will do!
And Haris, I didn't intend to keep the information of which number
is B, which is C etc when asking the question,
On Jun 11, 2008, at 12:17 PM, Neil Gupta wrote:
R Users,
I'm new to R and was wondering how I can show more decimal places
when I run
commands. If I'm simply running a correlation(ES,YM) how would I
increase
the number of decimal places R shows? When I run this it shows me .
9734044.
How
In addition to Gabor's suggestion, note the following warning from ?nls
Warning
Do not use nls on artificial zero-residual data.
The nls function uses a relative-offset convergence criterion that
compares the numerical imprecision at the current parameter estimates
to the residual
On Jun 7, 2008, at 8:13 AM, jonboym wrote:
I'm trying to do a linear regression between the columns of
matrices. In
example below I want to regress column 1 of matrix xdat with
column1 of ydat
and do a separate regression between the column 2s of each matrix.
But the
output I get
On Jun 5, 2008, at 9:13 PM, Duncan Murdoch wrote:
On 05/06/2008 8:23 PM, Rolf Turner wrote:
I just discovered what seems to me to be a slight funny in respect
of formal argument names. If I define a function
foo - function(a,b){ ... whatever ...}
then ``inside'' foo() the exists()
I just managed to write things just fine, and then I recalled that I
had a similar problem when teaching our students SPSS (Yes, I know,
don't ask...), but the problem was effectively this: If a given file
was open in Excel, then that file was locked and no other program
could use it until
On May 30, 2008, at 5:37 AM, baptiste Auguié wrote:
Thank you for the suggestions (off-list as well). I think the best
option may eventually be an explicit for loop to make things
clearer. To clarify a bit, I've used the plot function in the
example where in fact it is a numerical
On May 30, 2008, at 7:56 PM, ss wrote:
and I got an error message:
exprSet - read.table('process_all4_GSA2.txt', row.names = 1,header
=FALSE)
Error in read.table(process_all4_GSA2.txt, row.names = 1, header
= FALSE)
:
duplicate 'row.names' are not allowed
I would say that's pretty
On May 29, 2008, at 9:56 PM, lek2k wrote:
PLEASE do read the posting guide http://www.R-project.org/posting-
guide.html
and provide commented, minimal, self-contained, reproducible code.
I (and certainly many others) have been using multiple points calls
for a while now with no problems at
On May 29, 2008, at 11:02 PM, [EMAIL PROTECTED] wrote:
Suppose I have a plot
plot(1:10, pch = )
And I want some text to indicate a Normal distrubition. I could do
this:
text(5, 6, substitute(XN(mu, sigma^2)), adj = 0)
text(5.35, 6, ~, adj = 0)
But that's clumsy, and depending on your
On May 29, 2008, at 11:54 PM, Redding, Matthew wrote:
Dear R Gurus,
I am having a little difficulty with nlm. I've searched the
archives and
found nothing that tells me why this is occuring -- though there are
some slightly similar issues.
A simple example:
A google search for logistic regression with stepwise forward in r
returns the following post:
https://stat.ethz.ch/pipermail/r-help/2003-December/043645.html
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
On May 28, 2008, at 7:01 AM, Maria wrote:
Hello,
I am
I think this comment for ?par, meant for both crt and srt, applies:
crt
A numerical value specifying (in degrees) how single characters
should be rotated. It is unwise to expect values other than multiples
of 90 to work. Compare with srt which does string rotation.
So I would say that
On May 27, 2008, at 10:43 PM, Daniel Yang wrote:
Dear all,
I want to create a list that contains 0,1,2,3, ..., 1 as its
elements. I used the following code, which apparently doesn't work
very well.
a - 0
for(i in 1:1) {
a - list(a, i)
}
The result is not what I wanted. So how
Try results=verbatim instead of results=tex.
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
On May 23, 2008, at 4:16 AM, [EMAIL PROTECTED] wrote:
Dear R users,
I'm working in a brief R-tutorial to a group of students. To make
that I'm
using Sweave but I've
?paste
paste('text',y,'.txt', sep=)
and you likely need data[[y]] instead of data$y.
On May 23, 2008, at 9:05 PM, Jason Lee wrote:
Hi,
I have a couple of text and would like to automate of reading these
multiple
files using
(namely; text1.txt, text2.txt)
for(y in 3:10){
On May 22, 2008, at 8:56 AM, maiya wrote:
sorry, my mistake!
the data frame should read:
orig-as.data.frame.table(orig)
orig
Var1 Var2 Freq
1AA 40
2BA5
3AB 30
4BB 25
but basicaly i would simply like a sample of the original matrix
( which is
a
On May 22, 2008, at 3:04 PM, AlGates wrote:
Hello,
maybe someone can help me. I am looking for a possibility to plot a
3D area
diagram like in Excel:
http://www.microsoft.com/germany/mac/excel/images/chartbefore.jpg
Watch
this!
Would be nice if someone had any idea about that.
I don't
On May 22, 2008, at 9:14 PM, Edward Wijaya wrote:
Hi,
Below I have a function mlogl_k,
later it's called with nlm .
__BEGIN__
vsamples- c(14.7, 18.8, 14, 15.9, 9.7, 12.8)
mlogl_k - function( k_func, x_func, theta_func, samp) {
tot_mll - 0
for (comp in 1:k_func) {
curr_mll -
Try:
mlogl_out - nlm(mlogl, mean(vsamples), vsamples)
or
mlogl_out - nlm(mlogl, mean(vsamples), x=vsamples)
The argument vsamples=vsamples is passed to mlogl, since nlm does not
recognize it. But mlogl doesn't have a vsamples argument, only alpha
and x arguments. So you have to either
On May 20, 2008, at 2:34 PM, Deepayan Sarkar wrote:
On 5/20/08, Joshua Hertlein [EMAIL PROTECTED] wrote:
Hello,
I am very interested in banking to 45 degrees as defined by
William S. Cleveland
in Visualizing Data. I like to do it in R as well as Excel,
etc. With R I have come
On May 20, 2008, at 5:59 PM, Deepayan Sarkar wrote:
On 5/20/08, Charilaos Skiadas [EMAIL PROTECTED] wrote:
Here is how I see it. Let me define a visual y-unit as the
height of a
unit of data in the y-direction, and similarly for a visual x-unit.
Then the aspect ratio is the quotient
Hi Andre,
On May 19, 2008, at 4:28 PM, Andre Nathan wrote:
Hello
I'd like to plot a histogram of some data composed of real numbers.
The
bin width I'm using is ~ 0.01, which results in high values in the y
axis, so that the area under each bar corresponds to the
probability of
the data
On May 18, 2008, at 10:41 AM, BXC (Bendix Carstensen) wrote:
Tha handy thinb about the fig=TRUE option in Sweave is that you do not
have to bother about filenames and starting and stpping the device.
I want the the resulting LaTeX to look as:
\begin{Schunk}
\begin{Sinput}
x - seq(-2 * pi, 2
Nachricht-
Von: Charilaos Skiadas [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 14. Mai 2008 13:30
An: RINNER Heinrich
Cc: [EMAIL PROTECTED]
Betreff: Re: [R] lattice: left-aligned text in strips?
On May 14, 2008, at 3:47 AM, RINNER Heinrich wrote:
[adapted repost of question
http
On May 15, 2008, at 2:07 PM, lamack lamack wrote:
Dear all, someone could explain why the following example is not a
valid
randomization scheme?
Consider an experiment in which the
six experimental units to be used are permanently fixed in a row and
two treat-
ments are to be randomly
Two comments. First of all, I don't see how you can be sure that if
you specify 365 bins, then each bin will contain exactly one day. In
order to do that, you need to know that each bin has width exactly 1,
and you don't tell lattice to use such a width, so it is likely
choosing something
On May 15, 2008, at 1:24 PM, David Katz wrote:
Trying to learn Proto. This threw me:
#startup r...
library(proto)
a - proto(x=10)
a$x
[1] 10
x - proto(x=100)
x$x
Error in get(x, env = x, inherits = TRUE) : invalid 'envir' argument
Do I simply need to be careful to name proto objects
On May 15, 2008, at 5:37 PM, e-letter wrote:
Below is direct copy from command terminals of both pcs (mandrake 92
with r 171; mandriva 2008 with r 251, respectively).
R : Copyright 2003, The R Development Core Team
Version 1.7.1 (2003-06-16)
R is free software and comes with ABSOLUTELY NO
On May 14, 2008, at 3:47 AM, RINNER Heinrich wrote:
[adapted repost of question
http://tolstoy.newcastle.edu.au/R/e4/help/08/03/6260.html]
Dear R community,
by default, text in the strips of a trellis plot is centered in the
strip.
Is there a way to have the text left-aligned?
For example:
Deepayan's new book to the rescue again:
http://lmdvr.r-forge.r-project.org/figures/figures.html?
chapter=01;figure=01_04
Look at the code for this figure, especially the last two lines. Not
sure that the fact that it's a win.graph device has much to do with
this.
Haris Skiadas
On May 14, 2008, at 9:28 PM, [EMAIL PROTECTED] wrote:
Dear List,
I'm currently trying to produce a number of pairs() plots with special
text labels in the diagonal panels giving the units for the various
quantities.
These labels stretch across multiple lines, with the names of the
quantities
On May 13, 2008, at 5:52 AM, Esmail Bonakdarian wrote:
Tony Plate wrote:
You probably should check this section in your R-help subscription
options (via https://stat.ethz.ch/mailman/options/r-help/, I think):
Receive your own posts to the list?
Tony,
Like jt I too have it set to receive
On May 12, 2008, at 5:22 PM, Anh Tran wrote:
Hi,
What's one way to convert an integer to a string with preceding 0's?
such that
'13' becomes '013'
to be put into a string
I've tried formatC, but they removes all the zeros and replace it with
blanks
formatC(13, width=10, format=d,
On May 10, 2008, at 7:30 AM, Hans W Borchers wrote:
For learning purposes mainly I attempted to implement hashes/maps/
dictionaries
(Python lingua) as S4 classes, see the coding below. I came across
some rough S4
edges, but in the end it worked (for one dictionary).
When testing ones sees
On May 9, 2008, at 5:39 AM, Dieter Menne wrote:
Dr. Ottorino-Luca Pantani ottorino-luca.pantani at unifi.it
writes:
Imagine that for a particular cuvette (I have 112 different
cuvettes !!)
you have to mix the following volumes of solution A, B, and C
respectively.
c(1803.02, 193.51,
This is exactly the problem: apps launched through the Finder do not
go through the usual shell initialization process, where the PATH is
typically set up. The two solutions would be to either use the full
path to the command, or else start R.app from the Terminal, via the
command:
open
On May 8, 2008, at 9:11 PM, Sean Carmody wrote:
Does anyone have any ideas about how you could use R to produce a
fancy area
plot like this one in the NY Times? http://tinyurl.com/6rr22g
I certainly hope not, I wouldn't want my favorite statistics program
to produce an area graph where
I would actually go with this:
bits=c(1, 0, 1, 1, 0)
paste(X, which(bits==1), sep=.,collapse=+)
No need for the vars variable. Though admittedly it breaks down if
bits is identically 0.
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
On May 6, 2008, at 3:11 PM,
On May 6, 2008, at 10:43 PM, Alexy Khrabrov wrote:
I've used to have a script with a barplot command it in, preceded
by a png:
png(graph.file,height=H,width=W)
barplot(t,names.arg=breaks[2:(length(t)+1)],tck=gridlines)
-- worked before R 2.6.2. When I tried it in R 2.6.2, which I have
On May 5, 2008, at 7:03 AM, pecardoso wrote:
Maybe a very, very basic question but how can I get a vector of
values with the specific format:
001,002,010,100
instead of:
1,2,10,100
Not perfect, but might get you started:
sprintf(%03d,c(8:10,101))
or
formatC(c(8:10,101), width=3, flag=0)
Actually it's been out for a couple of weeks now at least. I just
finished my first reading of it, and I must say it was spectacular.
Congratulations Deepayan, the book gave me exactly the kind of
lattice knowledge I needed, and then some. The graphics are really
impressive and good
I think you want to look into ?stack. For example:
x-data.frame(a=1:5,b=6:10)
y- stack(x)
Then x$values are the values, and x$ind is the factor.
On Apr 15, 2008, at 9:36 PM, Paul Lynch wrote:
Hi,
I'm trying to do a linear regression style one-way ANOVA using some
data in a data frame,
On Apr 15, 2008, at 9:53 PM, Ng Stanley wrote:
Hi,
t - list(cat=1)
exists(t)
[1] TRUE
exists(t[[cat]])
Error: unexpected symbol in exists(t[[cat
exists(t[[\cat\]])
[1] FALSE
Perhaps what you want is:
cat %in% names(t)
Thanks
Stanley
Haris Skiadas
Department of Mathematics and
On Apr 9, 2008, at 1:27 PM, Hans-Jörg Bibiko wrote:
On 09.04.2008, at 17:46, Shubha Vishwanath Karanth wrote:
To put it simple,
C=c(My Dog, Its really good, Beautiful)
Now,
SOMEFUNCTION(C) should give: c(My, Its really, )
SOMEFUNCTION - function(x) gsub( *\\w+$, , x)
But be aware
On Apr 6, 2008, at 10:35 AM, Ben Bolker wrote:
Bill.Venables at csiro.au writes:
I've noticed an increasing tendency for people to use '=' rather than
the older '-' symbol. When '=' became available as an assignment
operator in S-PLUS in the late '90s my first reaction was to
switch to
On Mar 30, 2008, at 2:51 PM, Bryan Hanson wrote:
I think I more or less understand what a “wrapper” is, but I’d like
to hear
how more experienced R users define it, and especially I'd like to
know if
there is a formal definition. In my reading, it seems like there
are a
fairly wide
Try adding strip.white=false on the code chunks:
echo=false,results=tex, strip.white=false=
hline()
hline()
@
Read ?RweaveLatex for more settings.
or if you want this to happen in all code chunks add this early on in
the rnw file:
\SweaveOpts{strip.white=false}
Haris Skiadas
Department of
of Mathematics and Computer Science
Hanover College
Charilaos Skiadas escribió:
On Mar 27, 2008, at 1:47 PM, Agustin Lobo wrote:
Thanks, it was a matter of reshaping the data matrix as I usually
have
it, ie:
datos -
data.frame(x=abs(round(rnorm(100,10,5))),y=abs(round(rnorm
(100,2,1))),f=factor
On Mar 27, 2008, at 1:47 PM, Agustin Lobo wrote:
Thanks, it was a matter of reshaping the data matrix as I usually have
it, ie:
datos -
data.frame(x=abs(round(rnorm(100,10,5))),y=abs(round(rnorm
(100,2,1))),f=factor(round(runif(100,1,3
to become:
datos2 -
On Mar 23, 2008, at 1:37 PM, Charilaos Skiadas wrote:
panel.points(mean(x), y, col=red, ...)
Correction, this should have probably been:
panel.points(tapply(x, y, mean), y, col=red, ...)
All this assuming you want horizontal boxplots.
Haris Skiadas
Department of Mathematics
As you have not given us a reproducible example (namely we don't
really know what test is), there are likely better ways to do this
than what I am about to suggest, and you can find examples in the
relevant plot functions likely, but I think what you want can be
achieved using ifelse:
On Mar 16, 2008, at 8:12 PM, Christophe Genolini wrote:
Hi the list
I am fighting with the twins setAs and setIs...
Here are some questions and comments (comments to myself but that
migth
be wrong, it is why I am posting them)
1. Very surprising : using setIs define 'is', 'as-' but not
On Mar 13, 2008, at 5:04 AM, Christophe Genolini wrote:
Hi the list
When two setGeneric occurs on the same function, the second erage the
first and erase all the function previously define.
Is it possible to prevent that ? Is it possible to declare a
setGeneric
that can not be erased
On Mar 10, 2008, at 5:15 AM, Petr PIKAL wrote:
Hi
[EMAIL PROTECTED] napsal dne 10.03.2008 08:12:28:
hello
I want to compare the values of two columns of a dataset on a graph.
Which graphic do you recommend ?
It depends on what values you have and what you want to compare.
plot(x,y)
I ran into a weird, to me at least, problem, and hoping someone can
shed some light into it. In a nutshell, there seems to be some
problem when one calls plot with a formula, from within another
function, using ... to pass arguments, and one of those arguments
being xlim (and only xlim
On Mar 9, 2008, at 12:12 PM, Keizer_71 wrote:
Hi Everyone,
I am having trouble using R. I am not sure what happen but when i
start R, i
am getting error message
Fatal Error: Unable to restore saved data in .RData.
Just google for unable to restore saved data in .RData. , and you
are
On Mar 7, 2008, at 7:18 AM, Rainer M Krug wrote:
Hi
I created a complex layout with using layout() and it looks exactly as
I need it. But I don't want to print in the order in which the
subfigure are numbered, but in a different order.
How can I navigate in the layout so that I can specify
On Mar 7, 2008, at 2:17 AM, Oldrich Kruza wrote:
Hello Soumyadeep,
if you store the data in a tabular file, then I suggest using standard
text-editing tools like cut (say your file is called data.csv, fields
are separated with commas and you want to get rid of the third and
sixth column):
On Mar 7, 2008, at 8:02 AM, Rainer M Krug wrote:
On 07/03/2008, Charilaos Skiadas [EMAIL PROTECTED] wrote:
On Mar 7, 2008, at 7:18 AM, Rainer M Krug wrote:
Hi
I created a complex layout with using layout() and it looks
exactly as
I need it. But I don't want to print in the order
On Mar 7, 2008, at 8:41 AM, Rainer M Krug wrote:
I'm not sure I understand it, why don't you want to just number the
subfigures in the order in which you will draw them?
Because i thought it would be easier the other way round? Thanks
anyway
Yes, I agree it should not be as hard as it
On Mar 7, 2008, at 10:50 AM, zhihuali wrote:
Hi, netters,
This is probably a rookie question but I couldn't find the answer
after hours of searching and trying.
Suppose there'a a dataframe M:
x y
10 A
13 B
8 A
11 A
I want to locate the rows where x =10 and y=A. I
On Mar 6, 2008, at 1:49 PM, Mag. Ferri Leberl wrote:
Dear everybody!
Is there a command in \LaTeX to display the R-Logo or has anybody
made it up?
Thank you in advance.
Isn't it just an image? Hence you would include it like one usually
includes images. Or do you mean something else?
On Mar 6, 2008, at 9:05 PM, John Taffe wrote:
Dear R-help list,
I'm new to R. I tried to get R to read a Stata data file using the
read.dta function in the package foreign, which I downloaded and
extracted to C:\Program Files\R\R-2.6.2\library on my pc.
I tried
nora -
Sorry, I meant to send this to the whole list.
On Mar 5, 2008, at 8:46 AM, Charilaos Skiadas wrote:
The problem doesn't necessarily have to do with the range of data.
At first level, it has to do with the simple fact that dfdb has
rank 6 at most, (7 at most in general, though in your case
On Mar 5, 2008, at 2:56 PM, [EMAIL PROTECTED] wrote:
Hello,
I am an advanced user of R. Recently I found out that apparently I do
not fully understand vectors and lists fully
Take this code snippet:
T = c(02.03.2008 12:23, 03.03.2008 05:54)
Times = strptime(T, %d.%m.%Y %H:%M)
Times
Mark,
if I understand what you are asking, then you likely want either the
Floyd-Warshall algorithm:
http://en.wikipedia.org/wiki/Floyd-Warshall_algorithm
or Djikstra's algorithm
http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
The package igraph seems to have some useful
On Mar 5, 2008, at 12:03 AM, Will Holcomb wrote:
I have been trying to figure out how to run a simple simulation of
the ANOVA
and I'm coming up just a bit short. The code I've got is:
cohen.f = .25
groups = 4
between.var = 19
within.var = between.var / cohen.f ^ 2
n = 500
sim.means
On Mar 5, 2008, at 1:39 AM, Mark W Kimpel wrote:
I am getting some unexpected results from some functions of igraph and
it is possible that I am misinterpreting the vertex numbers. Eg., the
max betweenness measure seems to be from a vertex that is not
connected
to a single other vertex.
Nothing's wrong. It just means that the package or one of its
dependencies, has its own xtabs function, which hides the default
xtabs function, since it comes first in the search path. So when you
next write xtabs(...), it is this new xtabs that is being loaded. If
you want to call the
On Mar 3, 2008, at 11:12 AM, stephen sefick wrote:
x-read.zoo(SC2.csv, sep=, , format=%m%m/%d%d/%y%y%y%y %h%h:%m%
m)
#Error in read.zoo(SC2.csv, sep = ,, format =
%m%m/%d%d/%y%y%y%y %h%h:%m%m) :
index contains NAs Error message
You need header=TRUE in there, since your
You will likely need to escape that backslash, i.e. c:\\foo.csv.
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
On Mar 2, 2008, at 10:12 AM, Keizer_71 wrote:
Hi,
All i want is to export my list into c: drive and save it as csv
file and
manually import into
On Mar 2, 2008, at 4:12 PM, Nair, Murlidharan T wrote:
Is there a method to list the components of an object, instead of
looking at the help for that method? Let me be more clear with an
example
data(iris)
## tune `svm' for classification with RBF-kernel (default in svm),
## using
The following worked for me (put together after reading ?
textConnection). Put simply, all read/write command work with
connections, which are if you like devices that know how to read
or write things. textConnection creates such a device that writes
(or reads if we used open=r) to/from an
Have a look at the documentation of ?.libPaths, it seems to me that
setting the variable R_LIBS_USER is what you would want to do.
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
On Feb 29, 2008, at 10:14 AM, Daoping Mo wrote:
Dear Sir/Madam,
I got some problem
On Feb 29, 2008, at 12:38 PM, Michael wrote:
On 29 Feb 2008, Frank E. Harrell, Jr. wrote:
Several people have given great advice on how to successfully use
X11 on
Mac to so we can use the dvi previewer to view latex() output from
Hmisc. Now after a version upgrade of X11 and X11sdk we
On Feb 29, 2008, at 5:39 PM, Michael wrote:
On 29 Feb 2008, Charilaos Skiadas wrote:
On Feb 29, 2008, at 12:38 PM, Michael wrote:
On 29 Feb 2008, Frank E. Harrell, Jr. wrote:
Several people have given great advice on how to successfully use
X11 on
Mac to so we can use the dvi previewer
On Feb 27, 2008, at 8:16 AM, Andre Nathan wrote:
On Wed, 2008-02-27 at 14:15 +1300, Peter Alspach wrote:
If I understand you correctly, you could try a barplot() on the
result
of table().
Hmm, table() does the counting exactly the way I want, i.e., just
counting individual values. Is
On Feb 27, 2008, at 11:04 PM, David Winsemius wrote:
Rolf Turner [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
On 28/02/2008, at 11:28 AM, GUO, Qian wrote:
Hi
I would like to run a multi-level hierarchical logistic regression
model with sampling weight? Is this possible with R?
1 - 100 of 143 matches
Mail list logo