[R] Exercises for 'Using R'

2006-11-11 Thread Ulrik Stervbo
Hello everyone, We have started a very small R study group here in Berlin, Germany. Since we're all relatively new to R we are using 'Using R for Introductory Statistics' by John Verzani (one used that at a course once). Is there anyone who have exercisers fitting for group discussions,

[R] Bayesian question (problem using adapt)

2006-11-11 Thread cmdicaso
In the following code I have created the posterior density for a Bayesian survival model with four parameters. However, when I try to use the adapt function to perform integration in four dimensions (on my old version of R I get an error message saying that I have applied a non-function, although

Re: [R] Comparison between GARCH and ARMA

2006-11-11 Thread Spencer Graves
Have you tried to Monte Carlo ARMA and GARCH? If you plot the resulting series in various ways, I suspect the differences will be apparent to you. If you'd like more from this list, I suggest you illustrate your question with commented, minimal, self-contained, reproducible code, as

Re: [R] Problems with plot and X11 in ubuntu

2006-11-11 Thread Oscar [EMAIL PROTECTED]
Take a look at this link: http://www.ubuntuforums.org/showthread.php?t=268024 HTH Oscar On Nov 11, 2006, at 04:19, Bagatti Davide wrote: About Ubuntu, it's a new installation (ubuntu 6.10, code name Edgy Eft). About R, it's a new installation. Thank you very much 2006/11/10, [EMAIL

[R] R Help

2006-11-11 Thread amna khan
Respected Sir I request you to please fill the following read.table function and read.csvfor my understanding by assuming my data attached with this maiL, because I am fail to run these functions using manual guidlines. read.table(file, header = FALSE, sep = , quote = \', dec = .,

Re: [R] R Help

2006-11-11 Thread David Barron
d - read.table(lahore.txt, header=TRUE) On 11/11/06, amna khan [EMAIL PROTECTED] wrote: Respected Sir I request you to please fill the following read.table function and read.csvfor my understanding by assuming my data attached with this maiL, because I am fail to run these functions using

Re: [R] R Help

2006-11-11 Thread Benilton Carvalho
data = read.delim(lahore.txt) is enough for what you want to do. b On Nov 11, 2006, at 2:11 PM, amna khan wrote: Respected Sir I request you to please fill the following read.table function and read.csvfor my understanding by assuming my data attached with this maiL, because I am fail to

Re: [R] R Help

2006-11-11 Thread Nicolas Mazziotta
Not sure of what you ask... Does it help? $ read.table(Desktop/lahore.txt, header=T) Years lrmax n1 n2 n3 n4 arranged 1 1980 207.6 25 24 23 22 29.4 2 1981 92.7 24 23 22 21 49.4 3 1982 67.5 23 22 21 20 55.1 4 1983 93.8 22 21 20 19 58.0 5 1984 60.6 21 20 19 18

Re: [R] R Help

2006-11-11 Thread Jeffrey Robert Spies
If you were trying to use the sep=\t argument, you might have encountered an error, as there are three tabs one of the two blank lines at the end of your data file. The default for read.table and read.delim (as has been suggested by David and Benilton) is whitespace, which consumes the

[R] Install bioconductor

2006-11-11 Thread David Hajage
Hello useRs, I'm trying to install bioconductor on ubuntu edgy eft and R 2.4.0. I have some error messages during installation, in particular for the package affy : Error: package 'affy' required by 'makecdfenv' could not be found I have tryed to install 'makecdfenv' with the command :

Re: [R] Which genetic optimization package allows customized crossover and mutation operation

2006-11-11 Thread sun
Hi Dirk, Thanks for the reply. I have some GA code in java actually, but failed to install the SJava package in windows XP, really frustratting experience, do not understand why no binary distribution available. Now I am trying to finish my current work purely in java except some data

Re: [R] Install bioconductor

2006-11-11 Thread Prof Brian D Ripley
You are missing both the library and headers for what would be called either zlib or libz. (On an RPM-based system it would be zlib-devel that is missing.) However, this is the wrong list for questions anout installing BioC packages: please see the R posting guide. (And probably the packages

[R] Fitting a survival curve

2006-11-11 Thread Richard Pitman
I am new to R and am trying to fit a survival curve with a weibull hazard function to a set of data giving the probability of survival to age x, given the year of birth, in the form: Probability of survival: Birth year 19801981... 2003

Re: [R] Problems with plot and X11 in ubuntu

2006-11-11 Thread Ritwik Sinha
Hi Everyone, Thanks for the question and the answer. It helped me solve the problem which I too faced. Ritwik. On 11/11/06, Oscar [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Take a look at this link: http://www.ubuntuforums.org/showthread.php?t=268024 HTH Oscar On Nov 11, 2006, at

[R] forward variable selection using function step

2006-11-11 Thread R study
Hello, I met this problem with the function step( ) when I was trying to do forward variable selection. Below is the code I used and the error message. I don't why I am getting this error message. Could someone help me out. I noticed that I got this error message whenever it chose a model with

[R] Unexpected behavior in boxplot

2006-11-11 Thread Austin, Matt
When plotting using the cex.axis argument to boxplot(), the size of the plotting symbols beyond the whiskers of the boxplot are being changes. Example: par(mfrow=c(2,1)) boxplot(c(rnorm(10), 10), horizontal=TRUE, main=Test, las=2, cex.axis=2) boxplot(c(rnorm(10), 10), horizontal=TRUE,

Re: [R] Unexpected behavior in boxplot

2006-11-11 Thread Austin, Matt
Apologies for the html mail, my company just upgraded and I forgot to change the default mail behavior. Version information that I also forgot: version _ platform i386-pc-mingw32 arch i386 os

Re: [R] Bayesian question (problem using adapt)

2006-11-11 Thread Tamas K Papp
On Sat, Nov 11, 2006 at 11:19:46AM -0500, [EMAIL PROTECTED] wrote: kernel1 - function(theta, param) { exp(loglik(theta, param)) + log(1)} kernel2 - function(theta, param) {( exp(loglik(theta, param)) + log(1)) * gm(theta, param) } kernel2(theta0, param0) adapt(4, lower