Hello,
Thank You for response.Yes,It is discrete data.I have tried discrete model
using goodfit() test.But that too is not working.Is there any other test for
discrete data?
When I try goodfit() test for discrete distribution:
gf<-goodfit(x[[1]],type= "nbinomial",method= "MinChisq")
where x[[1]]
On Feb 9, 2008 10:39 PM, milton ruser <[EMAIL PROTECTED]> wrote:
> I have no idea of how to solve this issue, but I suggest you write to the
> authors of spatstat package. I think they could help you very much. Another
> thing is that there was a threhead on this many times ago. May be that Alan
>
Chenge your model, most likely.
You are telling us a) the response is discrete and b) there is a
substantial probability that the value is zero. The gamma distributon
is a model for a continuous response, your response is integer valued.
Perhaps you should consider something the Poisson or Negati
Dear R users;
Is there any function to plot the confidence ellipse (Hotelling's T^2)
in an score plot from a PCA?
I have the scores off course , say scores for PC1 and PC2, and the
value of the Hotelling's T^2 statistic.
Thanks for any hint
PM
__
R-help@
Hello,
I am trying to fit distribution for data consisting of 421 readings.It is
basically no of requests arrived per minute.It contains many 0 entries as no
of requests.When i use
fd<-fitdistr(V2,"gamma")
I get following error:
Error in optim(x = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L
>
> Hello,
>
> I am trying to fit distribution for data consisting of 421 readings.It is
> basically no of requests arrived per minute.It contains many 0 entries as
> no of requests.When i use
> fd<-fitdistr(V2,"gamma")
> I get following error:
> Error in optim(x = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
Hello,
I am trying to fit distribution for data consisting of 421 readings.It is
basically no of requests arrived per minute.It contains many 0 entries as no
of requests.When i use
fd<-fitdistr(V2,"gamma")
I get following error:
Error in optim(x = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
On Sat, 9 Feb 2008, Michael Kubovy wrote:
>
> On Feb 9, 2008, at 4:41 PM, Prof Brian Ripley wrote:
>
>> On Sat, 9 Feb 2008, Michael Kubovy wrote:
>>
>>> How do I enter 'much greater than' and 'much less than' symbols in an
>>> expression?
>>
>> Those are not in the Adobe Symbol encoding used fo
I have R on all sorts of Macs, including one's a lot whimpier than the one
you are describing and it works great on all of them.
gary mcclelland
colorado
On Sat, Feb 9, 2008 at 6:29 PM, Maura E Monville <[EMAIL PROTECTED]>
wrote:
> I saw there exists an R version for Mac/OS.
> I'd like to hear fr
Dear All:
I want to estimate a simple recursive mode in R. Which package should I use?
Thank you very much in advance.
Yongfu He
_
[[alternative HTML version deleted]]
__
R-
I saw there exists an R version for Mac/OS.
I'd like to hear from someone who is running R on a Mac/OS before venturing
on getting the following computer system.
I am in the process of choosing a powerful laptop 17" MB PRO
2.6GHZ(dual-core) 4GBRAM
Thank you so much,
--
Maura E.M
a quick look at it shows you would be trying to access y[n+1] in the
last part of that loop and that is greater than the number of entries
in 'y' so you will get an NA and this is not legal for comparisons.
On Feb 9, 2008 6:07 PM, mohamed nur anisah <[EMAIL PROTECTED]> wrote:
> Dear lists,
>
> i
Dear lists,
i want to find the non-overlapping interval values with this code:
mysetdiff=function(x,y){
m=length(x)
n=length(y)
bx = logical(m)
by = logical(n)
for(i in 1:m){
for(j in 1:n){
if(x[i]<=y[j+1]){
bx[i] = T
by[j] = T
NA= N
Thank you, can you suggest wht is the shortest way to store the combination
with min residual error term?
AliR wrote:
>
> http://www.nabble.com/file/p15359204/test.data.csv
> http://www.nabble.com/file/p15359204/test.data.csv test.data.csv
>
> Hi,
>
> I have used apply to have certian co
On Feb 9, 2008, at 4:41 PM, Prof Brian Ripley wrote:
> On Sat, 9 Feb 2008, Michael Kubovy wrote:
>
>> How do I enter 'much greater than' and 'much less than' symbols in
>> an
>> expression?
>
> Those are not in the Adobe Symbol encoding used for plotmath.
>
> Since you have not told us your pl
On 09/02/2008 4:41 PM, Paul Lynch wrote:
> Hi,
>I've downloaded R-2.6.2-win32.exe (base) from two CRAN sites
> (http://mirrors.ibiblio.org/pub/mirrors/CRAN/ and
> http://lib.stat.cmu.edu/R/CRAN/) and for both of those sites the
> expected MD5 hash is reported to be:
> ed512872818707f27ca05
On 09/02/2008 4:41 PM, Paul Lynch wrote:
> Hi,
>I've downloaded R-2.6.2-win32.exe (base) from two CRAN sites
> (http://mirrors.ibiblio.org/pub/mirrors/CRAN/ and
> http://lib.stat.cmu.edu/R/CRAN/) and for both of those sites the
> expected MD5 hash is reported to be:
> ed512872818707f27ca05
On Sat, 9 Feb 2008, Michael Kubovy wrote:
> How do I enter 'much greater than' and 'much less than' symbols in an
> expression?
Those are not in the Adobe Symbol encoding used for plotmath.
Since you have not told us your platform and locale as requested in the
posting guide, I don't know if t
Dear Jean,
I have no idea of how to solve this issue, but I suggest you write to the
authors of spatstat package. I think they could help you very much. Another
thing is that there was a threhead on this many times ago. May be that Alan
Swanson cold also help you.
http://finzi.psych.upenn.edu/R/R
Hi,
I've downloaded R-2.6.2-win32.exe (base) from two CRAN sites
(http://mirrors.ibiblio.org/pub/mirrors/CRAN/ and
http://lib.stat.cmu.edu/R/CRAN/) and for both of those sites the
expected MD5 hash is reported to be:
ed512872818707f27ca05f08be7363c2 *R-2.6.2-win32.exe
(See, for example, htt
How do I enter 'much greater than' and 'much less than' symbols in an
expression?
_
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400Charlottesville, VA 22904-4400
Parcels:Room 102Gilmer Hall
McC
Dear Lists,
At several stations distributed regularly in space[1], we sampled
repeatedly (4 times) the abundance of organisms and measured
environmental parameters. I now want to compare the spatial
distribution of various species (and test wether they differ or not),
or to compare the dis
John Kane <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> You are trying to create a matrix in the loop
>
> Try creating the matrix before the loop
> m <- 1:5
> n<-1:10
> y <- matrix(rep(NA, 50), nrow=m)
# I think that this might actually work:
y <- matrix(rep(NA, 50), nrow=max(m))
The point is don't use cbind -- use data.frame.
On Feb 9, 2008 1:20 PM, Ken Spriggs <[EMAIL PROTECTED]> wrote:
>
> Gabor - Thanks. I can recreate your example without any problem but I don't
> understand the relevance.
> Is turning the result of the cbind() into a dataframe what you're telling
>
Ok, thanks guys! I see what you're sayin' now Gabor. :)
mkeller wrote:
>
> Ken,
>
> not sure, but you might try
>
> data.frame(whatever1=x[,1],whatever2=y)
>
> this should maintain the classes of the vectors. I'm guessing that y
> and x are of different classes. From ?cbind:
>
> "For the
Gabor - Thanks. I can recreate your example without any problem but I don't
understand the relevance.
Is turning the result of the cbind() into a dataframe what you're telling
me? If so, I tried that and I'm still stuck with the loss of the POSIXct.
(If not I'm afraid I missed the point.)
You need library(gdata) before
On 08/02/2008, Wensui Liu <[EMAIL PROTECTED]> wrote:
> # READ DATA FROM XLS FILE #
>
> xls <- read.xls(file = "C:/projects/Rintro/Part01/export.xls", sheet = 3,
> type = "data.frame", from = 1, colNames = TRUE)
>
> On Feb 8, 2008 3:49 PM, Christine Ly
Try this also:
input[targets]
On 08/02/2008, Allen S. Rout <[EMAIL PROTECTED]> wrote:
>
> Greetings.
>
> At the moment, I'm applying R to some AIX 'nmon' output, trying to get
> a handle on some disk performance metrics. In case anyone's
> interested:
>
> http://docs.osg.ufl.edu/tsm/pdf/
>
> som
Duncan Murdoch <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> On 09/02/2008 11:38 AM, David Winsemius wrote:
>> "Alexander Ovodenko" <[EMAIL PROTECTED]> wrote in
snipped
>>
>> Which creates the model and immediately discards it, because no
>> durable object was given the values:
>>
>>>
On 09/02/2008 11:37 AM, ONKELINX, Thierry wrote:
> Alexander,
>
> Learn to use the data argument. E.g.
>
> plot(rgnpc, incmean, data = pol572a1)
That won't work. The data arg to plot (and most other functions that
have one) requires a formula, not a simple specification of x and y.
You'd nee
On 09/02/2008 11:38 AM, David Winsemius wrote:
> "Alexander Ovodenko" <[EMAIL PROTECTED]> wrote in
> news:[EMAIL PROTECTED]:
>
>> Thanks for the replies to my prior question. My problem is that R
>> always says object not found when I enter a variable name into a
>> command. I converted a Stata
PS:
> ...For larger problems, there are more efficient nearest neighbor
> search algorithms, but I am not aware whether or where in R.
The 'but' subclause was wrong, one place to look at is the "yaImpute"
package and also this thread:
http://tolstoy.newcastle.edu.au/R/e4/devel/08/01/0158.html
mauroyb0 wrote:
> Dear all,
>
> I'm looking for a way to display text (label) in a scatterplot3d instead of
> the default dot. I mean someting like the text() function which can be
> associated with plot(). Do you think this is possible ?
Yes, it is, type:
vignette("s3d", "scatterplot3d")
a
"Alexander Ovodenko" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> Thanks for the replies to my prior question. My problem is that R
> always says object not found when I enter a variable name into a
> command. I converted a Stata file into an Rdata file by first
> loading the foreign
Alexander,
Learn to use the data argument. E.g.
plot(rgnpc, incmean, data = pol572a1)
Model <- lm(incmean ~ rgnpc, data = pol572a1)
to get the fitted values:
Model$fitted
HTH,
Thierry
PS It seems to me that you might want to read a good introduction into
R.
On 09/02/2008 11:20 AM, Alexander Ovodenko wrote:
> Thanks for the replies to my prior question. My problem is that R always
> says object not found when I enter a variable name into a command. I
> converted a Stata file into an Rdata file by first loading the foreign
> package by entering
>
> r
I think I understand this. Try
str(input) and you will see that input$disk2 in a
vector. You can force a data.frame using
data.frame(input(,targets))
--- "Allen S. Rout" <[EMAIL PROTECTED]> wrote:
>
> Greetings.
>
> At the moment, I'm applying R to some AIX 'nmon'
> output, trying to get
>
Dear Miltinho,
there is also the function "matchpt" in the Biobase package (in
Bioconductor) that seems to do what you want (in n dimensions).
It's written in C, and the implementation is simple and of complexity
n*m. (For larger problems, there are more efficient nearest neighbor
search algor
Thanks for the replies to my prior question. My problem is that R always
says object not found when I enter a variable name into a command. I
converted a Stata file into an Rdata file by first loading the foreign
package by entering
require(foreign)
Then I asked R to read the Stata file by ent
Gabriella,
First of all I would suggest that you upgrade to a recent R version
(2.6.2).
Without a reprodicible example of your code it is very hard to examine
the problem. Use traceback() to identify were the problem occurs in your
code.
HTH,
Thierry
--
Thanks for the replies to my prior question. My problem is that R always
says object not found when I enter a variable name into a command. I
converted a Stata file into an Rdata file by first loading the foreign
package by entering
require(foreign)
Then I asked R to read the Stata file by ente
Have a look at the R Data Import/Export manual on the
R website.
My simple-minded approach is simply to save the data
as a csv file and read it in using read.table or
read.csv
--- Christine Lynn <[EMAIL PROTECTED]> wrote:
> This is the most basic question ever...I haven't
> used R in a couple
Dear all,
I'm looking for a way to display text (label) in a scatterplot3d instead of
the default dot. I mean someting like the text() function which can be
associated with plot(). Do you think this is possible ?
My second question is quite well covered by some threads but I haven't been
able
You haven't given us the 'minimal information' the posting guide asks for.
Let's guess you are using a Chinese locale on Windows, in which case you
cannot use readChar to read non-ASCII data (as the message says).
If so, it looks like this occurs when loading a saved workspace, and is
just a wa
Alexander Ovodenko gmail.com> writes:
>
> I have recently started learning R. I converted a Stata datafile into an R
> image file, but I am unable to do anything with the data.
You probably forgot to read in the data; converting alone does not help.
Try ls() to get a list of the available
It is from R-2.6.2.
On 2/9/08, ronggui <[EMAIL PROTECTED]> wrote:
> During startup - Warning message:
> In readChar(con, 5) : can only read in bytes in a non-UTF-8 MBCS locale
> >
>
> I don't know what it comes from. It seems like a error thought not a fatal
> one.
>
> Thanks
>
> --
> HUANG Rongg
During startup - Warning message:
In readChar(con, 5) : can only read in bytes in a non-UTF-8 MBCS locale
>
I don't know what it comes from. It seems like a error thought not a fatal one.
Thanks
--
HUANG Ronggui
Bachelor of Social Work, Fudan University, China
Master of sociology, Fudan Unive
Can you please elaborate on this with eg if possible? I didn't get you.
Thank You.
On 2/9/08, Peter Dalgaard <[EMAIL PROTECTED]> wrote:
>
> Aswad Gurjar wrote:
> > Hello,
> >
> > I am using fitdistr function for parameter estimation.
> > When I use
> > fd<-fitdistr(V2,"gamma")
> > I get followin
Aswad Gurjar wrote:
> Hello,
>
> I am using fitdistr function for parameter estimation.
> When I use
> fd<-fitdistr(V2,"gamma")
> I get following error:
> Error in optim(x = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, :
> initial value in 'vmmin' is not finite
>
> fd<-fitdistr
Hello,
I am using fitdistr function for parameter estimation.
When I use
fd<-fitdistr(V2,"gamma")
I get following error:
Error in optim(x = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, :
initial value in 'vmmin' is not finite
fd<-fitdistr(V2,"weibull")
Error in optim(x = c(0L
50 matches
Mail list logo