[R] FEAR package installation failure

2013-08-15 Thread Xiaoxi Gao
I'm trying to install FEAR package on my personal laptop with Windows 7 operating system. I've followed the instructions step by step but still encountered this problem:I thought I installed FEAR in the default location,C:Program FilesRR-3.0.1libraryFEARHowever, I couldn't find it in the librar

Re: [R] Quick question about duplicating vectors

2011-04-03 Thread Xiaoxi Gao
Sorry for the imprecision. I haven't used r for a long time... > CC: r-help@r-project.org > From: dwinsem...@comcast.net > To: rhel...@hotmail.com > Subject: Re: [R] Quick question about duplicating vectors > Date: Sun, 3 Apr 2011 18:17:55 -0400 > > > On Apr 3,

[R] Quick question about duplicating vectors

2011-04-03 Thread Xiaoxi Gao
Hello R users, I have a quick question, if I have a data set a, say a <- c(1,2,3,4,5) and I want to get a new data set b, b <- c(1,1,1,2,2,2,3,3,3,4,4,4,5,5,5) Could anyone tell me how I can obtain this? Thank you! Xiaoxi [[alternative HTML ver

[R] Random Sample

2010-11-08 Thread Xiaoxi Gao
Hello R users, Here is my question about generating random sample. How to set the random seed to recreate the same random numbers? For example, 10 random numbers is generated from N(0,1), then "runif(10)" is used.What if I want to get the same 10 random numbers when I run runif(10) again? Is i

[R] Nonlinear programming problem

2010-09-16 Thread Xiaoxi Gao
Hello useRs, I'm using the command "solnp" in package "Rsolnp" to solve a general nonlinear programming problem. But I got an error that " the leading minor of order 15 is not positive definite ". Can anybody tell what may cause this error? Does it have something to do with the starting values

[R] nonlinear programming package

2010-09-10 Thread Xiaoxi Gao
Hello R users, Can anyone recommend me any package that can be used to solve linear programming subject to nonlinear equality/inequality constraints. Rdonlp2 is now unavailable due to licensing issue. Thanks, Xiaoxi [[alternative HTML version

[R] question about lpSolve package

2010-07-06 Thread Xiaoxi Gao
Hello R users, I have two quick questions while using "lpSolve" package for linear programming. (1) the result contains both characters and numbers, e.g., Success: the objective function is 40.5, but I only need the number, can I only store the number? (2) How to set boundaries for variables?

[R] Heterogeneous bootstrap

2010-04-01 Thread Xiaoxi Gao
Hello all, Can anybody tell me how to implement the heterogeneous bootstrap algorithm by the FEAR package. I only know there is a command (boot.sw98) for homogeneous bootstrap. Thanks a lot. Xiaoxi

[R] Help running DEA model

2010-03-16 Thread Xiaoxi Gao
Hello all, I am wondering if anyone has a R code for Data Envelopment Analysis (DEA) or linear programming (original code, not using "DEA" package). Thanks a lot! Xiaoxi _ Hotmail is red