similar to: terms() and I( ) -- extract variables names only

Displaying 20 results from an estimated 20000 matches similar to: "terms() and I( ) -- extract variables names only"

2000 Dec 10
1
seq(0.05,0.95,by=0.002) and logical error
Regardless of which version -- 1.1.1 or 1.2.0 (2000-11-27) -- with a fresh "directory" (i.e. no .RData), I am getting an extremely weird result. R : Copyright 2000, The R Development Core Team Version 1.2.0 Under development (unstable) (2000-11-27) > jj _ seq(0.05,0.95,by=0.002) > sum(jj==0.75) ## WRONG ANSWER [1] 0 > 0.05 + 350*.002 ## Double check that 0.75 is in jj [1]
1998 Nov 28
2
dyn.load and/or add new package (Windows 98)
Hi, I have been trying to dyn.load a library (rq.obj), which will allow me to run a quantile regression function, but so far unsuccessfully. I have tried under windows 98 and R 6.24: 1) dyn.load("d:\\...\\rq.obj") 2) dyn.load("d:\...\rq.obj") 3) 1 and 2 accounting for case sensitivity. 4) dyn.load("d:/.../rq.obj") 5) Place the files in the directory where from I
2001 Mar 07
1
lreadline
I compiled R-1.2.2 on my SuSE 7.1, kernel 2.4.2-2 machine with libreadline.4.1 and although I can use vi commands to scroll on the shell (bash) command line, I CANNOT do it in R. Here's the relevant parts of ./configure (and make): anovo at friedman R-1.2.2 > ./configure | grep readline checking for rl_callback_read_char in -lreadline... yes checking for readline/history.h... yes
1999 Mar 10
1
funfits (PR#137)
Hi, I spotted an inconsistency between the output of funfits under R, more specifically "nnreg", and the one obtained under S-plus. Notice the difference in the "Root MSE", "GVC" and "GVC cost=2". As a check mark, I am also including the data summaries, confirming that I was in fact using the same data set. Here's my output from both systems:
2002 Apr 10
4
Principal Component analysis question
I have a question about princomp(mva) that I hope isn't too newbie. I used the sample data from Table 1.1 in "Manly (1986/1994) Multivariate Statistical Methods: a primer. Chapman and Hall" on sparrow body measurements. I rescaled the data to mean 0 and SD 1, and the covariance matrix is: V1 V2 V3 V4 V5 V1 1.0000000 0.7349642 0.6618119
1999 Sep 24
1
analysis of multivariate normal (missing values)
Hi, I could not find an R package for the analysis of multivariate normal datasets with missing values. Prof. Joseph Schafer has created an S+ library (norm) that does such type of analysis, which I now ported to R. I guess that I should have asked here if there are other people working on such project, before I actually ported it, but... If such package has not been ported, I will upload the
2000 Sep 22
2
arima.sim
Hi, Before I re-invent the wheel, is there a function in R similar to S+'s arima.sim, i.e., a function that simulates arima processes. ts and tseries packages don't seem to have such function, but I may have overlooked it. Thank you for your time, Alvaro Novo R Version 1.1.1 SuSE 6.4 Linux KDE 2.0 Beta 5 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2000 Mar 29
2
regularly lattice & neighbors
Dear R-users, Is there a procedure to identify neighbors in a regular lattice using either a "rook" or a "queen" criterium? To be more specific, suppose: My lattice: 1 2 3 4 5 6 7 8 9 "Rook" Neighbors 1 has neighbors 2,4 2 has neighbors 1,3,5 ... 5 has neighbors 2,4,6,8 "Queen Neighbors" 1 has neighbors 2,4,5 2 has neighbors 1,3,4,5,6 For each case,
2008 Jul 24
0
[LLVMdev] Erlang
Hi Álvaro, Your question is too vague to answer with any accuracy. Could you be more specific? -bw On Jul 24, 2008, at 1:08 PM, "Álvaro Castro Castilla" <alvaro.castro.castilla at gmail.co m> wrote: > Hello, > > > How would you implement an Erlang feature such as the ultra-light > processes? > Is llvm prepared for similar situations? > > I would
2008 Jul 24
2
[LLVMdev] Erlang
Hello, How would you implement an Erlang feature such as the ultra-light processes? Is llvm prepared for similar situations? I would appreciate some insight on this. Thank you very much, .alvaro.castro.castilla.
2000 Jan 21
1
Compiling error R-0.90.1
Hi, I'm struggling to compile R-0.90.1 in a RedHat 6.1 machine. (I have the rpm, but I would like to compile it, as I do under SuSE 6.3). I have also installed quite a few other libraries (not installed by default, in particular, *-devel-* ones), but to no avail thus far. Here's the compilation error after going through ./configure [root at friedman R-0.90.1]# make <snip>
2009 Mar 09
1
[LLVMdev] addPassesToEmitFile
When you say 'static libraries' do you mean static libraries or shared objects (.so)... Because if you mean shared objects, then it could very well explain you crash. On Mar 9, 12:16 am, Álvaro Castro Castilla <alvaro.castro.casti... at gmail.com> wrote: > Well, I've been before hours trying this, but soon after I sent the > email I found something. However is quite
1999 Oct 19
2
Summary bug?
Hi, It seems that there's a bug in summary, in the max. output... but max() alone works fine. > hw04.dframe$area ... [41] 1790 1380 1296 2745 798 2306 438649 1481 1559 2450 ... > summary(hw04.dframe) area Min. : 798 1st Qu.: 1349 Median : 1690 Mean : 6962 3rd Qu.: 2306 Max. :438600 ### should read 438649 or, to the point,
2012 Apr 19
1
mlogit learning error
I am learning five mlogits as follows v1.model<-mlogit(v1~1|v2+v3+v4+v5, data=mlogit.v1.data, reflevel="1") v2.model<-mlogit(v2~1|v1+v3+v4+v5, data=mlogit.v2.data, reflevel="1") v3.model<-mlogit(v3~1|v1+v2+v4+v5, data=mlogit.v3.data, reflevel="1") v4.model<-mlogit(v4~1|v1+v2+v3+v5, data=mlogit.v4.data, reflevel="1")
2009 Mar 08
0
[LLVMdev] addPassesToEmitFile
Well, I've been before hours trying this, but soon after I sent the email I found something. However is quite intriguing. I just changed the order of and the static libraries that I was linking. How can this be possible?? I'm using Cmake for building my llvm projects, so I choose the order and I pick the .a libraries I want to link by hand... Thank you, alvaro 2009/3/8 Álvaro
1998 Nov 28
0
Survival and Hazard Analysis
Hi, I forgot to add to my initial message that I am using Windows 98 (if it's relevant). I need to perform survival analysis and could not find the S+ functions: - survfit (fits a Kaplan-Meier survival curve), or - coxph (fits a Cox proportional hazards model) in R. Are there any alternative functions available? Thanks, Alvaro -- -- -- -- -- -- -- -- Alvaro A. Novo
1999 Mar 10
1
persp( )
Hi, I would like to confirm w/ the other members if the function persp( ) has limitations such as not being able to label the axis... or, am I missing something? ?persp seems to indicate that's not available, but... Alvaro -- -- -- -- -- -- -- -- Alvaro A. Novo 2116 S. Orchard St., #304
2010 Nov 02
1
Setting the names of a data.frame
I have tData as below. I need to set the names with the headers from the first row in sHeaders Sorry .. forgot how to set the names from row in another data frame .. pls advise. names(tData) = sHeaders[1,] does not work correctly Also, why doesn't drop.levels(sHeaders) not work? dput(tData) structure(list(V1 = structure(c(3L, 1L, 1L, 2L), .Label = c("P H Ravi Kumar", "Rahul
2003 Apr 01
1
Shafer's MI software for S-plus
Greetings folks, Shafer's S-plus package "norm" for multiple imputation of missing values in multivariate normal data has been most kindly and usefully ported to R by Alvaro A. Novo. Shafer's website http://www.stat.psu.edu/~jls/ lists four S-plus packages in all: NORM - multiple imputation of multivariate continuous data CAT - multiple imputation of multivariate
2009 Mar 31
3
Factor Analysis Output from R and SAS
Dear Users, I ran factor analysis using R and SAS. However, I had different outputs from R and SAS. Why they provide different outputs? Especially, the factor loadings are different. I did real dataset(n=264), however, I had an extremely different from R and SAS. Why this things happened? Which software is correct on? Thanks in advance, - TY #R code with example data # A little