Rob James aetiologic.ca> writes:
> Post-processing the contents
> Error in .Call("RS_XML_Parse", file, handlers, endElementHandlers,
> as.logical(addContext), :
> attempt to apply non-function
>
This might be similar to:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/135891.html
and coul
Tal Galili gmail.com> writes:
> I am looking for a way to add table values (from a "table" object) into a
> mosaic plot of that table (which is produced by the "mosaicplot" command on
> the table object).
(nice self-running example removed)
I suggest that you switch to package vcd and function
Jacqueline Hall googlemail.com> writes:
> I have a 3D scatter plot that I have generated from scatterplot3d (which
> looks great- thanks!) and I can see that the points in my graph fall in a
>
> Is there a package/function that can help me do this that I have missed? or
> does anyone have any su
Abelian gmail.com> writes:
> i have to utilize the R to report the simulation result by txt file.
> However, i have to write some introduction and explanination before
> the result.
> by the way,, there are variables follow with "Input directory name:"
> "Output directory name:", "The number of
Well, I know the problem now. The Rweb at math.montana.edu is rather
old (and slow!), I think. Try the one at stat.umn.edu:
http://spider.stat.umn.edu/Rweb/ and you'll get the right result.
Regards,
Yihui
--
Yihui Xie <[EMAIL PROTECTED]>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +8
below i think semi does what you want but it's never going to repeat a
value because it's sampling without replacement ? in that sense,
it's not as general as what you asked for. if you need the repeating
thing, then i'm not sure how to do that. hopefully someone else does.
lapply(1:30, functio
Hi Rolf: yup, i'm getting copies over and over of a few different
posts and yes one is yours. they have been coming over and over since
about 5pm and it's now about midnight ( US Eastern time )
On Thu, Oct 23, 2008 at 8:01 PM, Rolf Turner wrote:
I keep getting repeated copies of ``R-hel
i have to utilize the R to report the simulation result by txt file.
However, i have to write some introduction and explanination before
the result.
For example, In the first part. the introduction is like below
===
=== Data description ===
===
hi
thanks for the reply
actually am supposed to generate random numbers in oncreasing size.
so when i say 1,2 i should get something like 1 or 221 or 1112 ...i
should get both the values 1 and 2 in a random order but it should stop when
both the values occur atleast once in the sequence.so af
Rolf Turner wrote:
I keep getting repeated copies of ``R-help post acknowledgements'' in
respect
of a couple of postings that I made to the list this morning (my time).
I only posted each posting *once*. I hope that others are not getting
repeated copies of my postings I mean I *know* my
I am also seeing the same multiplicity. And it is not just threads to
which I have replied. I assumed that someone "in the know" would have
seen this excess duplicative traffic.
--
David Winsemius
On Oct 23, 2008, at 8:01 PM, Rolf Turner wrote:
I keep getting repeated copies of ``R-help p
do 'str(myx)' and you will probably see that 'x2' is a factor even
though it appears to be numeric when you print it. To convert it to
numeric, you can do:
myx$x2 <- as.numeric(as.character(myx$x2))
On Thu, Oct 23, 2008 at 8:52 PM, Srinivas Iyyer
<[EMAIL PROTECTED]> wrote:
> Hi Jim,
> thank you
Hi Jim,
thank you for tip. However, why it works for you and the same line fails in my
R.
> myx <-x
> myx
x1 x2
1 a 4
2 b 3
3 c 2
4 a 1
5 c 2
6 f 3
7 g 4
8 f 5
> aggregate(x=myx$x2,by =list(myx$x1),max)
Error in Summary.factor(c(4L, 1L), na.rm = FALSE) :
max not meaningful
Thanks a lot! It works!
Deepayan Sarkar wrote:
> On 10/23/08, Plantky <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > My data has some positive and negative values, and I want to plot a
> > barchart. The problem is that the y-axis zero is somewhere in the
> > middle of the plot, and the graph s
?aggregate
x1 x2
1 a 4
2 b 3
3 c 2
4 a 1
5 c 2
6 f 3
7 g 4
8 f 5
> aggregate(x$x2, list(x$x1), max)
Group.1 x
1 a 4
2 b 3
3 c 2
4 f 5
5 g 4
>
On Thu, Oct 23, 2008 at 8:30 PM, Srinivas Iyyer
<[EMAIL PROTECTED]> wrote:
> Hi group,
>
> How can I ide
Hi group,
How can I identify an element with max value among duplicated elements all in a
data frame
Example:
> x1
x1 x2
1 a 4
2 b 3
3 c 2
4 a 1
5 c 2
6 f 3
7 g 4
8 f 5
I want to be able to get a data frame with all unique(x1) with max value
x1 x2
1 a 4
2 b 3
3 c 2
I keep getting repeated copies of ``R-help post acknowledgements'' in
respect
of a couple of postings that I made to the list this morning (my time).
I only posted each posting *once*. I hope that others are not getting
repeated copies of my postings I mean I *know* my postings are so
wo
Dear R people
I have 4 questions about graphics.
QUESTION 1 & 2 ---
I have the following data, which is also set as a dataframe. Then I plot it
using a violin plot
1. How can a draw a line representing 2 SD for each group?
2. How can I colour the simple violin plots in different co
Stoffer and Shumway have a nice hands-on book on time series with R.
Their website is also very instructive. You may also wanna take a look
at the tseries, FinTS and forecasting packages.
Nuno Prista
Michael wrote:
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] [
Dear R helpers,
I have a 3D scatter plot that I have generated from scatterplot3d (which
looks great- thanks!) and I can see that the points in my graph fall in a
plane.
Following the example 5 from 3D scatter plot (below) I have fitted a
regression plane.
Now what I would like to do is a rotation
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific und
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific und
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific und
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific und
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] A question about positive definite matrix
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or
Hi Kevin,
There is no substitute to knowing your problem as well as you possibly can
(I know this can be challenging in complicated, real problems). If you plot
the contours of the function, you will see that they are banana shaped
around the solution, i.e. the objective function is not very sens
On 23-Oct-08 19:58:12, hiphop wrote:
>
> i have to generate random numbers from length 2 to 30 and
> length two should have the numbers 1,2 and length 3 should
> have the numbers 1,2,3 so on and so forth till size 30.
> i should get an sequence like 221 or 112 till both
> the values appear
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] xy.coords in text
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific und
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] [R-SIG-Finance] forecasting earnings, sales and gross margin
of a company...
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is bein
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] Calculating confidence limits for the difference between
means
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] Calculating confidence limits for the difference between
means
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at
Hello.
I am looking for a way to add table values (from a "table" object) into a
mosaic plot of that table (which is produced by the "mosaicplot" command on
the table object).
The only reference I was successful in finding on the web was in a script
here:
http://tables2graphs.com/doku.php?id=03_d
You can fit a VAR model and then, test for Granger Causality
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Michael
Sent: 24 October 2008 01:10
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [R] [R-SIG-Finance] forecasting ear
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific und
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific und
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] xy.coords in text
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific und
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific und
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] Substitute problem
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific un
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] Help finding the proper function
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with thei
Duncan Murdoch wrote:
On 10/23/2008 3:32 PM, Rob James wrote:
odfWeave is throwing up a cryptic error, after successfully processing
a file with a large number of figures (~30) and many \Sexpr{} calls.
The error is (at least to me) cryptic. I am not sure where to look to
correct this proble
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific und
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] A question about positive definite matrix
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] Help finding the proper function
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with thei
On Thu, Oct 23, 2008 at 10:35 PM, Gábor Csárdi <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 23, 2008 at 10:29 PM, <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I'm new to R and I'd like to dynamically assign names to the entries of a
>> list.
>> The situation is: I load several ascii-files from a folder.
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] I have an xyplot, I want to keep the format, but only show x
or y
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at
On Thu, Oct 23, 2008 at 10:29 PM, <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm new to R and I'd like to dynamically assign names to the entries of a
> list.
> The situation is: I load several ascii-files from a folder. The data shall
> be stored within the list structure, where the file names are a
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: [R] odfWeave error
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with their
specific understand
Hello,
I'm new to R and I'd like to dynamically assign names to the entries of a
list.
The situation is: I load several ascii-files from a folder. The data shall
be stored within the list structure, where the file names are assigned to
the list entries.
> flist
$file1.txt
[1] 1.0 1.2 1.4 1.6
[EMAIL PROTECTED] wrote:
I was just trying to get a feel for the general strengths and weaknesses of the algoritmns. This is
obviously a "demo" function and probably not representative of the "real"
optimization problems that I will face. My concern was that if there is inaccuracy when I know t
I was just trying to get a feel for the general strengths and weaknesses of the
algoritmns. This is obviously a "demo" function and probably not representative
of the "real" optimization problems that I will face. My concern was that if
there is inaccuracy when I know the answer it might be wors
i have to generate random numbers from length 2 to 30 and length two should
have the numbers 1,2 and length 3 should have the numbers 1,2,3 so on and so
forth till size 30.i should get an sequence like 221 or 112 till
both the values appear and for 3 it should be 123 or 3331112.i shoul
On 10/23/2008 3:32 PM, Rob James wrote:
odfWeave is throwing up a cryptic error, after successfully processing a
file with a large number of figures (~30) and many \Sexpr{} calls. The
error is (at least to me) cryptic. I am not sure where to look to
correct this problem.
Here's the error:
Dear folks,
Here is one example of two time series:
http://img523.imageshack.us/my.php?image=twoseriesfm3.jpg
The two series are all year-over-year percentage growth (in percentage).
For Amazon Net Sales Growth data, I have data from Q1 2001 to Q2 2008
(quarterly), whereas for US Real Average H
odfWeave is throwing up a cryptic error, after successfully processing a
file with a large number of figures (~30) and many \Sexpr{} calls. The
error is (at least to me) cryptic. I am not sure where to look to
correct this problem.
Here's the error:
Post-processing the contents
Error in .Ca
On Thu, Oct 23, 2008 at 11:20 AM, Porter,Phillip C <[EMAIL PROTECTED]> wrote:
> Good Morning,
> I am using xyplot to show two variables for a large number of subjects.
>
> Currently I am using xyplot(y~x|as.factor(ID), layout=c(7,9)) to give me a
> little plot of the x and y factors for each ID.
>
On 20/10/2008, at 5:26 PM, rlearner309 wrote:
I know, this is a forum about R. But I am so desperate of this
problem (BTW,
anyone knows any good Statistics/Math forum to post question like
this?):
A and B are both n x n positive definite matrix.
Denote A > B, if A - B is positive defini
I am trying to use the lars package in R to carry out lasso analysis.
However, I am having some problems. Please could you help me with the
following questions:
1) Exactly what format do x and y need to be in for cv.lars(x, y) and lars
(x, y)? And what information do x and y need to contain exac
On 24/10/2008, at 1:37 AM, Tom.O wrote:
Ok, I'll try to be clearer. I'll start from the beginning. I have
a set of
samples that I'm going to use to model a proxy for a common
property. This
property is that the samples are either in a "quiet" or "chaotic"
state.
Both the quiet and chaot
Good Morning,
I am using xyplot to show two variables for a large number of
subjects.
Currently I am using xyplot(y~x|as.factor(ID), layout=c(7,9)) to
give me a little plot of the x and y factors for each ID.
The purpose of the plot is to let the PI quickly look through the
data for irregul
I experienced the same problem after upgrading from 2.7.2 to 2.8.0.
I checked "/Library/Frameworks/R.framework/Versions" and noticed that the
installer did not copy the packages that I had installed under Version 2.7.
I reinstalled those packages, initially experiencing the same problem you
des
On Wed, Oct 22, 2008 at 11:09 AM, Dennis Fisher <[EMAIL PROTECTED]> wrote:
> Colleagues,
>
> I am working on a problem at the edge of my knowledge of statistics.
>
> Basically, I have values for two groups - I am trying to calculate the
> 90% confidence limits for the difference between means. I c
RSiteSearch('vec vech', restrict = 'fun') turns up several packages
with vec and vech functions.
E.g., matrixcalc, fUtilities, ks, ...
hth,
Kingsford Jones
On Thu, Oct 23, 2008 at 11:47 AM, megh <[EMAIL PROTECTED]> wrote:
>
> Can anyone please tell whether there is any R function to act as "VE
The xy.coords function is a powerful function used by a lot of the plotting
functions because it allows the user to enter x and y coordinates as 2 vectors,
a 2 column matrix, or a list with x and y components (and possibly others), but
it does not do 'topleft' and the like. The legend function
For 'VEC' you may not need to do anything -- in
a lot of circumstances it will just work.
For 'VECH' you can write a function using the
'lower.tri' function.
But it seems to me that the assumption behind your
question is that a simple function that someone else
has written is going to be better
Try:
RsiteSearch("vech")
On Thu, Oct 23, 2008 at 1:47 PM, megh <[EMAIL PROTECTED]> wrote:
>
> Can anyone please tell whether there is any R function to act as "VEC" and
> "VECH" operator on Matrix? Yes of course, I can write a
> user-defined-function for that or else, I can put dim(mat) <- NULL.
It might help if you told us what you expected VEC
and VECH to do.
On Thu, Oct 23, 2008 at 1:47 PM, megh <[EMAIL PROTECTED]> wrote:
>
> Can anyone please tell whether there is any R function to act as "VEC" and
> "VECH" operator on Matrix? Yes of course, I can write a
> user-defined-function for t
I think you can use as.vector
On Thu, Oct 23, 2008 at 3:47 PM, megh <[EMAIL PROTECTED]> wrote:
>
> Can anyone please tell whether there is any R function to act as "VEC" and
> "VECH" operator on Matrix? Yes of course, I can write a
> user-defined-function for that or else, I can put dim(mat) <- N
Thanks! Works fine!
jholtman wrote:
>
> Had the test wrong in the last one' try this:
>
>> x
> X value row col ID n
> 1 1 11.105009 5511625 3463000 1 -619.1125
> 2 2 10.324148 5499625 3465000 01.
> 3 3 8.744591 5503625 3475000 01.
> 4 4 9.523473 549
And what is this "operator" supposed to do? Maybe you just want
as.vector, but it is hard to say from this.
Gabor
On Thu, Oct 23, 2008 at 7:47 PM, megh <[EMAIL PROTECTED]> wrote:
>
> Can anyone please tell whether there is any R function to act as "VEC" and
> "VECH" operator on Matrix? Yes of cou
On 10/23/08, Plantky <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> My data has some positive and negative values, and I want to plot a
> barchart. The problem is that the y-axis zero is somewhere in the
> middle of the plot, and the graph starts with a negative value. How
> can I make the negative v
what are you trying to do? Break the problem down make it
reproducible and then maybe we can help.
stephen
On Thu, Oct 23, 2008 at 9:10 AM, Alex99 <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I have a question about functions. I have two functions:
>
> Sampling=function(fname,Total,nSample,nP
Omar,
A detailed interpretation of the results are the subject of more than 1 chapter
in most introductory statistics books and the topic of several classes/hours of
lecture in a standard introductory statistics class. Your question suggests
that you either skipped your intro stats class, or d
If the RWeb server you are referring to is the one at montana
then its running a version of R that is 5 years old. At that time
the underscore was a synonym for <- in R but that was
discontinued some time since then. With a version of R
that old there could be quite a few other differences as wel
Can anyone please tell whether there is any R function to act as "VEC" and
"VECH" operator on Matrix? Yes of course, I can write a
user-defined-function for that or else, I can put dim(mat) <- NULL. However
I am looking for some R function.
Your help will be highly appreciated.
Regards,
--
View
Hi,
I got this working. i had to get rid of an underscore in one of my
variable names to work on RWeb.
Thanks for your help though!!
Natalie
__
I think you have to be either honest or careful, since the code you
submitted to Rweb is different with your former code! Why the
co
On Thu, Oct 23, 2008 at 9:10 AM, Alex99 <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I have a question about functions. I have two functions:
>
> Sampling=function(fname,Total,nSample,nPatient){..return(list(Gmean,Gsd))}
>
> Power=function(alfa,m1,m2,s1,s2,n1,n2){return(powe)}
>
> I want
You may find these links helpful for the introduction to the t-test and the
interpretation of the t-test results:
http://www.tufts.edu/~gdallal/LHSP.HTM
See: Student's t Test for Independent Samples
http://www.itl.nist.gov/div898/handbook/eda/section3/eda353.htm
Timur
--
Timur Shtatland, Ph.D.
S
I got a table on SQL Server, which has columns EquationId (int) and
Formula (varch(900)).
I need to select Formula with certain EquationId, for example,
Select Formula from OGA_DEV.dbo.Equation where EquationId = 3
I tried to work within RGui using RODBC:
> library(RODBC)
> conn = odbcConnect("S
Ken Knoblauch inserm.fr> writes:
>
> Susana Zuloaga hotmail.com> writes:
>
> >
> > Hi all
> >
> > I am one recent user of R and have a few doubts
> > I did a binomial GLM with 3 - factor and now I have to test contrasts to
> > identify that treatments are different. I know that the contras
Susana Zuloaga hotmail.com> writes:
>
> Hi all
>
> I am one recent user of R and have a few doubts
> I did a binomial GLM with 3 - factor and now I have to test contrasts to
> identify that treatments are different. I know that the contrasts are used
> in ANOVA, it is not incorrect to use th
Hi all
I am one recent user of R and have a few doubts
I did a binomial GLM with 3 - factor and now I have to test contrasts to
identify that treatments are different. I know that the contrasts are used
in ANOVA, it is not incorrect to use them in GLM? there is a way to do
contrasts between
the version of aqua macs that I have installed- you just go to file
and open an R buffer, push the R logo in the corner and you are off
and running. EES is already installed. Hope this helps.
On Thu, Oct 23, 2008 at 12:21 PM, Charles C. Berry <[EMAIL PROTECTED]> wrote:
> On Thu, 23 Oct 2008, Mik
See
?with
also
?do.call
Use of the latter will need to have the names of the returned value match
those of formals( Power )
HTH,
Chuck
On Thu, 23 Oct 2008, Alex99 wrote:
Hi everyone,
I have a question about functions. I have two functions:
Sampling=function(fname,T
On Thu, 23 Oct 2008, ONKELINX, Thierry wrote:
Dear all,
Is there an elegant way to add citations of packages when using Sweave?
Ideally I'd like a function which creates a Bibtex-file with the
packagenames as keys. The idea is to use \cite{packagename} or \cite{R}
in LaTeX.
I know you can get
How about an example of what you did? It's difficult to provide suggestions
without a workable example of the commands you used.
Sarah
On Thu, Oct 23, 2008 at 12:26 PM, ppaarrkk <[EMAIL PROTECTED]> wrote:
>
> I have created various "im" objects, but can't seem to save and load them. I
> can save
Hello,
The write.matrix.csr() function of the e1071 package contains a bug.
Try the following:
library(e1071)
m <- 1 - diag(10)
sm <- as.matrix.csr(m)
write.matrix.csr(sm)
The resulting file (out.dat) contains only the two lines below:
2:1 3:1 4:1 5:1 6:1 7:1 8:
Running the scatterplot/histogram example in ?layout and subsequently
printing from the file menu in Windows XP using R 2.7.1 does not print
the whole figure, although saving as a metafile does save the whole
figure.
Before I upgrade solely to check, can anyone confirm from knowledge a)
whether i
I have created various "im" objects, but can't seem to save and load them. I
can save them, but as small files of less than 1Kb. Therefore, when they are
re-loaded, they cannot be plotted as images.
Any ideas please.
Thankyou.
Simon Parker
Imperial College
--
View this message in context:
htt
On Thu, 23 Oct 2008, Mike Williamson wrote:
All,
Apologies if this was already answered... I couldn't find an answer that
specifically addressed Mac OS instead of either windows or linux. I use
"aquamacs emacs" as my text editor. It is essentially Xemacs with a GUI
that looks closer to sta
Dear list,
I tried to apply the logistic regression to different response variables
from a dataframe and would like to store the results using the function
logistic.display from the "epicalc" package in a list, but got an error message
"Error in eval(expr, envir, enclos) : y values must
Hi everyone,
I have a question about functions. I have two functions:
Sampling=function(fname,Total,nSample,nPatient){..return(list(Gmean,Gsd))}
Power=function(alfa,m1,m2,s1,s2,n1,n2){return(powe)}
I want to use "Gmean" and "Gsd" which are the returned values from
"Sampling" function,
Your example uses ordinal probit model. I am actually looking for ordinal logit
model.
reez
--- On Thu, 10/23/08, Dieter Menne <[EMAIL PROTECTED]> wrote:
> From: Dieter Menne <[EMAIL PROTECTED]>
> Subject: Re: [R] MCMC for sampling from ordinal logistic regression
> To: [EMAIL PROTECTED]
> Date
Hi all,
My data has some positive and negative values, and I want to plot a
barchart. The problem is that the y-axis zero is somewhere in the
middle of the plot, and the graph starts with a negative value. How
can I make the negative values appear as bars that are going below the
y-axis zero?
So t
reezwan you yahoo.com> writes:
> Is there a R-function that can generate samples from the posterior
distribution of an ordered logistic regression model (just like
MCMCoprobit from MCMCpack in R).
>>
I am confused. What's missing in the output of MCMCpack?
library(MCMCpack)
x1 <- rnorm(100
Nelson, Gary (FWE state.ma.us> writes:
> xyplot(Z~year|labels,group=as.factor(river),xlab="Year",ylab="Age-based
> Z",
> data=data1,scales="free",ylim=c(0,4),xlim=c(1960,2010),
> par.settings = list(superpose.symbol = list(pch =
> c(1,2,3,4,5,16,10,6,87,83),cex=0.9,
>col=
Is anyone aware of an R package that implements Pedroni's FMOLS (Fully
Modified Ordinary Least Squares) package, for panel data with
non-stationary and co-integration?
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEA
With R version 2.8.0, I am using the following function to plot loess
lines in each panel of the xyplot:
xyplot(Z~year|labels,group=as.factor(river),xlab="Year",ylab="Age-based
Z",
data=data1,scales="free",ylim=c(0,4),xlim=c(1960,2010),
par.settings = list(superpose.symbol = list(p
reproducible code - are you assigning the results to an object
On Thu, Oct 23, 2008 at 10:34 AM, Gianni Messeri
<[EMAIL PROTECTED]> wrote:
> Hi,
> I'm trying to perform a Principal Component Analysis on meteorological data
> with 10 predictors.
> I use the library pcaMethods to obtain a lot of in
Hi,
I'm trying to perform a Principal Component Analysis on meteorological
data with 10 predictors.
I use the library pcaMethods to obtain a lot of information (loadings,
scores, mean, standard deviation, etc).
How can I obtain the scores (new PC variables) for new values of weather
predictors
Sorry, just correcting the script!!!
Hi everybody,
I'm trying, without success, to avoid some variables labels to overlap on a
capscale (vegan package) object graph.
I was able to move the labels with the coding below, but it moves the entire
vector...
CAPobj<-CAPpotiFT
for(i in c(2:8))CAPobj$
1 - 100 of 121 matches
Mail list logo