[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

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

2008-07-08 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

[R] what does this warning mean ?

2008-07-08 Thread Peng Jiang
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 安泰经济管理学院 Department of Mathematics 数学系 Shanghai

[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 安泰经济管理

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 Management

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,

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

2008-07-02 Thread Peng Jiang
), hdev) --- 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

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

2008-07-02 Thread Peng Jiang
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 following code ) and R gives

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

2008-07-01 Thread Peng Jiang
/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 Campus) 800 Dongchuan

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

2008-06-30 Thread Peng Jiang
-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 Campus) 800 Dongchuan Road 200240

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

2008-06-30 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 江鹏 ,Ph.D

Re: [R] Mclust ???

2008-06-30 Thread Peng Jiang
-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 Antai

[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 RMySQL. I tried installing for like 5

Re: [R] String concatenation

2008-06-28 Thread Peng Jiang
-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 Campus) 800 Dongchuan Road

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 University

Re: [R] binomial distribution

2008-06-27 Thread Peng Jiang
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 Shanghai P. R

Re: [R] Average of Two Matrices

2008-06-25 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 University (Minhang

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

2008-06-25 Thread Peng Jiang
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 Mathematics 数学系 Shanghai

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

2008-06-25 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] 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-help@r

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
. __ 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 江鹏 Ph.D

[R] why does these warning mean?

2008-06-16 Thread Peng Jiang
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 P. R. China

[R] simulating Gaussian Mixture Method

2008-06-15 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-help@r

[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. China