Displaying 11 results from an estimated 11 matches for "nervedi".
2006 Jun 30
3
Creating Vectors
type count
0 20
1 15
0 10
1 35
0 28
I would like to create two vectors from the data above. For example,
type1=c(15, 35) and type0 = c(20, 10, 28). Can any one help
Raphael
2007 Oct 31
2
R WinEdt on Windows vista
Hi!
I was trying to install the RWinEdt library on a Windows Vista machine which had R 2.6.0, WinEdt 5.4 and the RWinEdt1.7.8.zip file in the library folder under the ...\R\2.6.0 directory. I am able to install fine form the local zip but I can't launch winedt from within R for some reason.
> utils:::menuInstallLocal()
package 'RWinEdt' successfully unpacked and MD5 sums checked
2010 Feb 01
2
numerical subscripts in a loop in a plot
Hi R Graphics Gurus
I am unable to figure out this issues with unevaluated expressions. I'm trying to create a graphic where I calculate the residual from a regression and want to mark each residual with its observation number. So something like
plot(0,0, type = "n", xlim = c(0,10))
for(i in 1:10){
text(i, 0, substitute(paste(epsilon[i])))
}
except that i end up pasting
2006 Oct 25
1
cloud() works but wireframe() is blank
Per the message from Alexander Nervedi, 29 April 2006:
> I have to be making a riddiculously silly ommission.
> when I run the fillowing i get the cloud plot ok. But I cant figure
> out what I am missing out when I call wireframe.
> Any help would be appreciated.
> x<-runif(100)
> y<-rnorm(100)
> z<-runi...
2006 Nov 29
3
comma delimiter & comma in text
Hi
I have data like
1, A, 24, The Red House
2, A, 25, King's Home, by the Sea
...
I'd like to read this in as three variables. I first tried
temp <-read.csv(addresses, sep = "," ) it worked but line 2 was broken after
King's Home, and by the Sea as placed in another line. and so i eneded up
with more number of rows than in the data. when i tried
temp
2010 Mar 04
2
precision issue?
Hi R Gurus,
I am trying to figure out what is going on here.
> a <- 68.08
> b <- a-1.55
> a-b
[1] 1.55
> a-b == 1.55
[1] FALSE
> round(a-b,2) == 1.55
[1] TRUE
> round(a-b,15) == 1.55
[1] FALSE
Why should (a - b) == 1.55 fail when in fact b has been defined to be a - 1.55? Is this a precision issue? How do i correct this?
Alex
2006 Dec 12
1
strings as factors
Hi,
To be able to match cases with a benchmark I need to have a data.frame with
a character id variable. however, I am surprised why this seems to be so
hard. In fact I was unable to succeed. Here is what I tried:
>test1 <-expand.grid(ID = 1:2, sex = c("male","female"))
>is(test1[,2])
[1] "factor" "oldClass"
>test2 <-expand.grid(ID =
2006 May 01
6
R-2.3.0 make error
Dear list,
When compiling the R-2.3.0 on FC4 x86_64, I got the following errors:
make[3]: Entering directory
`/project/scratch3/ligroup/wuming/src/R-2.3.0/src/main'
gcc -Wl,--export-dynamic -L/usr/local/lib64 -o R.bin Rmain.o
CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o
arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o
character.o coerce.o colors.o complex.o
2006 Mar 29
2
write.table command
Dear All,
I'm trying to save a dataframe using write.table command. It works, but when I retrieved, there's an error message as shown below:
> write.table(soil.dat,file="C:/soil.rdata")
> load("C:/soil.rdata")
Error: bad restore file magic number (file may be corrupted)-- no data loaded
I can figure out the error message. Any assistance to solve the
2008 Feb 25
1
RWinEdt Install issue
Dear RUsers,
I just upgraded from 2.6.0 to 2.6.2 and tried to reinstall the RWinEdt patch to work with WinEdt so that I can continue function as I always have but I have run into problems that I don't understand how to fix. Any help would be great. Essentially, I downloaded the latest RWinEdt zip folder from the CRAN website and tried calling the library. I tried re-installing it a bunch of
2007 Sep 17
1
map issues
Hi !
I have a shapefile that I can easily read into R using library(maptools). My problem stems from some warning messages that come even though everything seems to work fine.
library(maptools)
districts <- read.shape(filen = "a_ds", dbf.data = TRUE)
length(districts$Shapes)
so far so good. when I try and plot this I get a nice plot and a warning message:
> plot(districts)