[R] How to find the index

2008-09-16 Thread Peng Jiang
Dear R experts, i have a vector z , i have to do something after z is sorted. how can i find the original index, i.e., before sorting, of a certain element in the sorted vector . thanks in advance regards --- Peng Jiang 江鹏 ,Ph.D. Candidate

[R] Non R Subject

2008-08-08 Thread Peng Jiang
Hi, all. This mail has nothing to do with R . But as a Chinese, I feel responsible to send this mail. :) The 2008 Beijing Olympics is beginning , welcome to Beijing ! best regards ! --- Peng Jiang 江鹏 ,Ph.D. Candidate Antai College of

[R] about EM algorithm

2008-07-08 Thread Peng Jiang
Hi, dear R experts . is there any package contain an universal EM procedure, that is , for arbitrary d.f. , not just the one in mclust . thanks in advance best regards --- Peng Jiang 江鹏 ,Ph.D. Candidate Antai College of Economics & Management 安

[R] what does this warning mean ?

2008-07-08 Thread Peng Jiang
ny resource that I can find solution to specific warning like some IDE(like Xcodes in mac or Eclipse , etc.) does??? thanks in advance. best regards. --- Peng Jiang 江鹏 ,Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Depart

Re: [R] Sum(Random Numbers)=100

2008-07-08 Thread Peng Jiang
ps://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ------- Peng Jiang 江鹏 ,Ph.D. Candidate Antai College of Economics &

Re: [R] help about random generation of a Normal distribution of several variables

2008-07-05 Thread Peng Jiang
Hi , Arnau Did you ever check your mailbox? your question was answered last night Beijing time. :) Just read the following . - There is no need to load the MASS library, since the code for mvrnorm therein is compact and self-contained: mvrnorm <- function (n=1, mu, Si

Re: [R] help about random generation of a Normal distribution of several variables

2008-07-05 Thread Peng Jiang
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- Peng Jiang 江鹏 ,Ph.D. Candidate Antai College of Economics

Re: [R] what can we do when R gives no response

2008-07-02 Thread Peng Jiang
uations function gradient 12 31 On Wed, Jul 2, 2008 at 8:41 PM, Peng Jiang <[EMAIL PROTECTED]> wrote: Hi, dear R experts , I am new. I met this problem when I am trying to learn how to use the nlminb() function. I tried the example which the document provides ( as the follow

[R] what can we do when R gives no response

2008-07-02 Thread Peng Jiang
inb(c(9, 12), hdev) --- Peng Jiang 江鹏 ,Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Department of Mathematics 数学系 Shanghai Jiaotong University (Minhang Campus) 800 Dongchuan Road 200240 Shang

Re: [R] if one of 4 conditions is not satisfied

2008-07-01 Thread Peng Jiang
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ------- Peng Jiang 江鹏 ,Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Department of Mathematics 数学系 Shanghai Jiaotong Un

Re: [R] Mclust ???

2008-06-30 Thread Peng Jiang
p@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- Peng Jiang 江鹏 ,Ph.D. Candidate An

Re: [R] Which distribution best fits the data?

2008-06-30 Thread Peng Jiang
vice. Ben Bolker __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ------- P

Re: [R] Estimating parameters of log-normal distribution

2008-06-30 Thread Peng Jiang
.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ------- Peng Jiang 江鹏 ,Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Department of Mathematics 数学系 Shanghai Jiaotong University (Minhang

[R] Fwd: cannot install the package RMySQL

2008-06-29 Thread Peng Jiang
in advance ! Begin forwarded message: > From: Peng Jiang <[EMAIL PROTECTED]> > Date: 2008年6月29日 下午11时06分22秒 > To: [EMAIL PROTECTED] > Subject: cannot install the package RMySQL > > Hi, > > I am writing to report the error when installed the package RM

Re: [R] String concatenation

2008-06-28 Thread Peng Jiang
ect.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- Peng Jiang 江鹏 Ph.D. Candidate Antai Colleg

Re: [R] binomial distribution

2008-06-27 Thread Peng Jiang
ovide commented, minimal, self-contained, reproducible code. --- Peng Jiang 江鹏 Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Department of Mathematics 数学系 Shanghai Jiaotong University (Minhang Campus) 800 Dongchuan Road 200240 Shan

Re: [R] (no subject)

2008-06-27 Thread Peng Jiang
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peng Jiang 江鹏 Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Department of Mathematics 数学系 Shanghai Jiaotong Univer

Re: [R] How to solve empty cells in the contingency table?

2008-06-25 Thread Peng Jiang
list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peng Jiang 江鹏 Ph.D. Candidate Antai College of Economics & Mana

Re: [R] tiff()-bug (was re:Preparing high quality figures with tiff as end result)

2008-06-25 Thread Peng Jiang
listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peng Jiang 江鹏 Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Department of Mathe

Re: [R] Average of Two Matrices

2008-06-25 Thread Peng Jiang
istinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peng Jiang 江鹏 Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Department of Mathema

[R] Simulating Gaussian Mixture Models

2008-06-22 Thread Peng Jiang
. -- Peng Jiang 江鹏 Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Department of Mathematics 数学系 Shanghai Jiaotong University (Minhang Campus) 800 Dongchuan Road 200240 Shanghai P. R. China __ R-he

Re: [R] Cluster on both categorical and numerical data

2008-06-18 Thread Peng Jiang
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peng Jiang 江鹏

Re: [R] combining two data frames

2008-06-17 Thread Peng Jiang
le.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peng Jiang 江

Re: [R] Differential Equations

2008-06-17 Thread Peng Jiang
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peng Jiang 江鹏 Ph.D. Candidate Antai College of Economics & Management

[R] why does these warning mean?

2008-06-16 Thread Peng Jiang
1] stats graphics grDevices utils datasets methods base ------ Peng Jiang 江鹏 Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Department of Mathematics 数学系 Shanghai Jiaotong University (Minhang Campus) 800 Dongchuan Road 200240 Shanghai

[R] simulating Gaussian Mixture Method

2008-06-15 Thread Peng Jiang
thanks so much ! ------ Peng Jiang 江鹏 Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Department of Mathematics 数学系 Shanghai Jiaotong University (Minhang Campus) 800 Dongchuan Road 200240 Shanghai P. R. China __

[R] Generate Random Samples

2008-06-12 Thread Peng Jiang
. However, can I just add them directly Thanks. -- Peng Jiang 江鹏 Ph.D. Candidate Antai College of Economics & Management 安泰经济管理学院 Department of Mathematics 数学系 Shanghai Jiaotong University (Minhang Campus) 800 Dongchuan Road 200240 Shanghai P. R. C