Displaying 20 results from an estimated 75 matches for "heberto".
2003 Apr 24
4
problems with max.col()
...4 2 3 4 1 2 3 4
i.e. the first column with the max, or the last column
same if
z <- embed(x,5)
max.col(z)
[1] 2 1 2 5 1 5 3 4 1 2 3 4
where it should be either of:
2 1 2 3 1 2 3 4 1 2 3 4
2 3 4 5 4 5 3 4 5 2 3 4
or I am missing something?
?max.col does not return anything
R 1.7.0 on Win98
.
Heberto.Ghezzo at McGill.ca
2003 Apr 24
4
problems with max.col()
...4 2 3 4 1 2 3 4
i.e. the first column with the max, or the last column
same if
z <- embed(x,5)
max.col(z)
[1] 2 1 2 5 1 5 3 4 1 2 3 4
where it should be either of:
2 1 2 3 1 2 3 4 1 2 3 4
2 3 4 5 4 5 3 4 5 2 3 4
or I am missing something?
?max.col does not return anything
R 1.7.0 on Win98
.
Heberto.Ghezzo at McGill.ca
2001 Dec 12
1
again evaluations
...everything works as expected but with
"aov1(x,g,s=s)" or "aov1(x,g,s)" I get the error
Error in eval(expr, envir, enclos) : Object "y" not found
>
I am using R 1.3.1 on Win98. Can somebody explain why adding a parameter
makes the first parameter invisible?
Thanks
Heberto Ghezzo
Meakins-Christie Labs
McGill University
Montreal - Canada
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in th...
2010 Mar 12
2
unknown compression
...the name in the console, but how can I get all the functions in a package? the ./R/ subdirectory has files xx.rdb and xx.rdx which I can not decompress with 7-zip or with unzip, unrar etc. The help files are compressed with gzip in the ./man/ folder and can be unzipped easily.
Thanks for your help
heberto.ghezzo at McGill.ca
2012 Jul 31
2
help with a regression
...X3,X4,X5,Y1,Y2,Y3,Y4,Y5 and some other that do not matter, some of the X and Y can be missing (NA). I want to compute the slope of the linear regression Y ~ X for each subject, so using
apply(DF,1,FUN,ra.rm=TRUE) now How do I define FUN? The X are different for each subject.
Thanks for any help
R.Heberto Ghezzo Ph.D.
Montreal - Canada
1999 Nov 09
2
Problems with read.table
Hi I am using R65.1 in Windows 95
I have a CSV file from Excell
>
a<-read.table("c:/heberto/mgc/tst.csv",header=T,sep=",")
> attach(a)
> a
manolo fvcpp fevpp fvvcpp tlcpp rvpp rvtlpp plmaxpp
1 1 99.28 97.67 98.38 91.14 102.9 111.25 117.64
2 1 86.97 68.56 78.89 94.60 112.34 118.53 159.20
3 1 81.12 71.76 88.37 89.16 114.17...
2000 Sep 13
2
minimization
Hi, I got a code from S that uses 'nlminb' to minimize a function
with constraints. Is there a similar function in R?
Thanks.
R. Heberto Ghezzo Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
heberto at meakins.lan.mcgill.ca
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help"...
2012 Aug 01
3
help with a regression problem
...oefficientes of the Y on the X for each ID
#
sl <- rep(NA,4)
for(i in 1:4) {
x1 <- a[i,2:5]
y1 <- a[i,6:9]
sl[i] <- lm(y1 ~ x1)$coef[2]
}
sl
#
# I would like to use apply on the data.frame aa but with which function?
#
sl <- apply(aa,1,FUN) # FUN = ??
#
Thanks for any help
R.Heberto Ghezzo Ph.D.
Montreal - Canada
2003 Jan 29
3
na.rm in sd()
...ssing observations in cov/cor
> sd(x,na.rm=T)
Error in sd(x, na.rm = T) : unused argument(s) (na.rm ...)
> var(x)
Error in var(x) : missing observations in cov/cor
> var(x,na.rm=T)
[1] 5.366667
>
why sd() does not recognize the na.rm=T parameter, while var does?
R 1.6.1 on Win98
R.Heberto Ghezzo Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
2009 May 27
3
R in Ubunto
...and then from a console
I did
sudo apt-get update
sudo apt-get install r-base
a lot of printout and when it inishes I typed R in the console and surprise!
I got R 2.6.2!! in Windows I have R 2.9.0??
Did I do something wrong or there is another way to get the latest version of R?
Thanks for any help
Heberto Ghezzo Ph.D.
Biostatistique medical
Montreal - Canada
2011 Mar 01
2
problems with playwith
...ickTime\\QTSystem\\;H:\\R\\GTK\\GTK2-Runtime\\bin;H:\\PortableUSB/PortableApps/MikeTex/miktex/bin"
>
packages(lattice, cairoDevice, gWidgetsRGtk2, gWidgets, RGtk2, playwith) were reinstalled
program GTK was reinstalled.
using R-2-12-2 on Windows 7
Can anybody suggest a solution?
thanks
R.Heberto Ghezzo Ph.D.
Montreal - Canada
1998 Dec 07
0
R for WINDOWS (was R-0.63.1 is released)
> To: "Heberto Ghezzo" <heberto at MEAKINS.Lan.McGill.CA>
> Subject: Re: [R] R-0.63.1 is released
> From: Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk>
>
> "Heberto Ghezzo" <heberto at MEAKINS.Lan.McGill.CA> writes:
>
> > Sorry for a silly question but. ....
2000 Jul 25
1
library dll's dont load
...1 in Win98, the latest version
downloaded yesterday. I run update.packages so 'survival', ' mass',
and 'nlme' are the latest versions in CRAN
> library(survival)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"c:/Heberto/R_Cran/library/survival/libs/survival.dll":
LoadLibrary failure: A device attached to the system is not
functioning.
Error in library(survival) : .First.lib failed
>
> library(mass)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
&qu...
2009 May 28
0
R-help Digest, Vol 75, Issue 28
> >> From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
> >> To: "R Heberto Ghezzo, Dr" <heberto.ghezzo at mcgill.ca>
> >> Date: Wed, 27 May 2009 09:00:44 -0700
> >> Subject: Re: [R] R in Ubunto
> >> R Heberto Ghezzo, Dr wrote:
> >>
> >> ? ?Hello , I do not know anything abount Ubunto, but I found a Portable Ubunto fo...
2000 Jul 26
4
differential equations
...of a library of functions
for solving differential equations, I need a solver for a system of non
linear first order differential equations. I think there was something
in IMSL but that was a long time ago and probably there are some
new algorithms in the new now.
Thanks for any pointers.
.
R. Heberto Ghezzo Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
heberto at meakins.lan.mcgill.ca
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help"...
2001 Mar 14
2
scan
...continues to read the first line, so I have to add a skip and
increment the skip after each read.
It takes forever to read a test file of 1 Mb, the real one is in 60's Mb
Is there a way to read line by line an ASCII file without having to
reread the part already read?
Thanks for any help.
R. Heberto Ghezzo Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
heberto at meakins.lan.mcgill.ca
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help"...
2001 Apr 19
2
extraction
...NA NA NA 0.64971596
>
the first with z2==1 gives me the 20 subjects OK but the second
should have given me less than 20 but it returns 32! it adds all the
NA's for z3.
I would have thought that z3==1 excluded all the NA's
Thanks for any explanation.
R. Heberto Ghezzo Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
heberto at meakins.lan.mcgill.ca
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help"...
2011 Apr 20
1
Sweave
...x on 'example-1.tex'
> tools::texi2dvi("example-1.tex", pdf = TRUE)
Error in tools::texi2dvi("example-1.tex", pdf = TRUE) :
pdflatex is not available
>
The code is from Sweave.pdf file in utils/doc
I am using R-2.13.0 in Win7 Toshiba laptop
Please any help?
R.Heberto Ghezzo Ph.D.
Montreal - Canada
2010 Nov 11
2
r-2.12.0 - Hmisc
...space load failed for 'Hmisc'
>
> library(cluster)
Error: package 'cluster' is not installed for 'arch=i386'
>
but of course "cluster" is in the R-2.12.0/library/cluster/libs/i386/cluster.dll.
Does the loader of required packages not look into i386?
Thanks
Heberto Ghezzo
2004 Feb 09
10
PhD student reading list, suggestions wanted
I've got a PhD student starting this year.
She'll be working on data mining.
She has asked for a reading list while she's still in her home
country, which is a really good sign.
Her cosupervisor and I don't (think we) have any problem with
choosing things that are specifically about data mining, but
there are some statistical ideas (sampling, exploratory-vs-confirmatory,