Re: [R] (no subject)

2010-02-12 Thread Jim Lemon
On 02/13/2010 05:49 AM, Drew Smathers wrote: Sent from my iPod Yes, I can see that's a problem. Do you really want the solution? Jim __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] (no subject)

2010-02-01 Thread Антон Морковин
-- Отправлено из мобильной Яндекс.Почты: http://m.ya.ru/ymail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal,

Re: [R] (no subject)

2010-01-26 Thread Kyle.
Something along these lines might do the trick: orig - rep(sapply(seq(from=, to=, by=), as.character), times=c(1, 2, 3, 4)) I've shortened the number of repetitions, so you can test it out and see if it's what you're looking for (just change the values in the vector

Re: [R] (no subject)

2010-01-26 Thread David Winsemius
On Jan 25, 2010, at 1:46 PM, Chuck White wrote: Hello -- I would like to know of a more efficient way of writing the following piece of code. Thanks. options(stringsAsFactors=FALSE) orig - c(rep('',10),rep('', 20),rep('',30),rep('',40))

[R] (no subject)

2010-01-25 Thread Chuck White
Hello -- I would like to know of a more efficient way of writing the following piece of code. Thanks. options(stringsAsFactors=FALSE) orig - c(rep('',10),rep('',20),rep('',30),rep('',40)) orig.unique - unique(orig) system.time(df -

[R] (no subject)

2010-01-20 Thread teurlai magali
Hi is there a way in R to create a new column vector with the numbers of 2 others columns simply appended? Example : I have a column with provinces codes (1 to 19) I have a second column with districts codes (1 to ##, depending on the province) I want to create a third column with a code that

Re: [R] (no subject)

2010-01-20 Thread Henrique Dallazuanna
transform(DF, District_Unique = paste(Province, District, collapse = '')) On Thu, Jan 21, 2010 at 12:34 AM, teurlai magali teurlai...@yahoo.fr wrote: Hi is there a way in R to create a new column vector with the numbers of 2 others columns simply appended? Example : I have a column with

Re: [R] (no subject)

2010-01-20 Thread David Winsemius
On Jan 20, 2010, at 9:34 PM, teurlai magali wrote: Hi is there a way in R to create a new column vector with the numbers of 2 others columns simply appended? Example : I have a column with provinces codes (1 to 19) I have a second column with districts codes (1 to ##, depending on the

Re: [R] (no subject)

2010-01-20 Thread David Winsemius
On Jan 20, 2010, at 11:10 PM, Tena Sakai wrote: Hi, When I emulate what's suggested I get an error (shown below). What does this mean? Thank you. Province - c(1, 1, 13) District - c(1, 2, 2) df$Distric_Unique - with(df, paste(Province, District, sep=.) ) Error in eval(substitute(expr),

[R] (no subject)

2010-01-18 Thread Jim Silverton
I am considering testing: Ho: Odds Ratio =1 H1: Odds Ratio 1 How can I generate data from the null distribution for a specific configuration of a Fisher exact test? Jim [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] (no subject)

2010-01-18 Thread David Winsemius
On Jan 18, 2010, at 10:15 PM, Jim Silverton wrote: I am considering testing: Ho: Odds Ratio =1 H1: Odds Ratio 1 How can I generate data from the null distribution for a specific configuration of a Fisher exact test? ?r2dtable -- David. __

[R] (no subject)

2010-01-15 Thread saleem mukhtar
Hello, I am running R on cygwin for windows. File R1234 contains data - read.table(data) q() On the command line I type R --no-save -q R_PROFILE=R1234 returns Error: could not find function read.table THanks. __ R-help@r-project.org

Re: [R] (no subject)

2010-01-15 Thread milton ruser
Saleem, I have no idea about this, but may be you can use other data.frame name instead of data because data is a name of a function (see ?data). good luck milton On Fri, Jan 15, 2010 at 3:33 PM, saleem mukhtar saleem...@yahoo.com wrote: Hello, I am running R on cygwin for windows. File

Re: [R] (no subject)

2010-01-15 Thread Bert Gunter
-project.org] On Behalf Of milton ruser Sent: Friday, January 15, 2010 2:07 PM To: saleem mukhtar Cc: r-help@r-project.org Subject: Re: [R] (no subject) Saleem, I have no idea about this, but may be you can use other data.frame name instead of data because data is a name of a function (see ?data). good

[R] (no subject)

2009-12-29 Thread Hao Cen
Hi, I wonder how to pass several functions and their arguments as arguments to a function. For example, the main function is f = function(X ) { process(X) ... process(X) } I have a few functions that operate on X, e.g. g1(X, par1), g2(X, par2), g3(X, par3). par1, par2 and par3 are

Re: [R] (no subject)

2009-12-29 Thread milton ruser
Hi Hao, I suggest you try again, starting by read posting guide at footnote of this email. How about a title for the message? How about identify yourself? bests milton On Tue, Dec 29, 2009 at 2:59 PM, Hao Cen h...@andrew.cmu.edu wrote: Hi, I wonder how to pass several functions and their

[R] (no subject)

2009-12-17 Thread Jadoon, Ayesha
Hi I am really struggling jsut putting the labels on the leaves of my dendrogram. I have a dendrogram that i create using the hclust/as.dendrogram commands. I then plot it...but i want to feed a file/list that contains all the labels of the leaves of a dendrogram and others that way if R

[R] (no subject)

2009-12-11 Thread Tom Knockinger
Hi, i am new to the R-project but until now i have found solutions for every problem in toturials, R Wikis and this mailing list, but now i have some problems which I can't solve with this knowledge. I have some data like this: # sample data head1 = a;b;c;d;e;f;g;h;i;k;l;m;n;o data1 =

[R] (no subject)

2009-11-18 Thread Karen Federico
How do you perform a multicollinearity test using R. Also how do you perform a selection stepwise to carry out a multiple regression analysis? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] (no subject)

2009-11-18 Thread Moritz Fromwald
http://www.lmgtfy.com/?q=multicollinearity+test+using+R http://www.lmgtfy.com/?q=selection+stepwise+multiple+regression+analysis+using+R Moritz Karen Federico schrieb: How do you perform a multicollinearity test using R. Also how do you perform a selection stepwise to carry out a multiple

[R] (no subject)

2009-11-04 Thread steve . miller
Steve Miller OpenBI 847.778.1145 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained,

[R] (no subject) -- rename to optim() crash due to NA returned

2009-10-20 Thread Prof. John C Nash
. JN Message: 57 Date: Mon, 19 Oct 2009 17:48:12 +0200 From: Reynaerts, Jo jo.reynae...@econ.kuleuven.be Subject: [R] (no subject) To: r-help@r-project.org r-help@r-project.org Message-ID: 603d249cbe0b304490d0f774142b8e0f01cdcb9a4...@econsrvex6.econ.kuleuven.ac.be Content-Type

[R] (no subject)

2009-10-19 Thread Reynaerts, Jo
Dear R users I have the following problem when calling optim() to minimize a function f.obj (= outer loop) that calls another function f.con (a contraction mapping, = inner loop). It seems to me that it is a numerical problem that I currently fail to take into account when coding. Calling

[R] (no subject)

2009-10-02 Thread C. Maranto
Dear R Community, I am running GLM's within the MASS library. My data are overdispersed and I am accounting for the overdispersion by using an ANOVA 'F' test instead of ANOVA 'Chisq'. You will have to forgive me because I am new at this, but I am not sure if R is conducting an ANOVA 'F'

[R] (no subject)

2009-10-01 Thread Jens Oehlschlägel
Hi, Does anyone know where the following package is available: Holleczek B, Gondos A, Brenner H. PeriodR - an R package to calculate long term survival estimates using period analysis. Methods of Information in Medicine 2009; 48: 123-128. Thanks Jens Oehlschlägel -- GRATIS für alle

Re: [R] (no subject)

2009-10-01 Thread Jorge Ivan Velez
Hi Jens, Take a look at http://www.krebsregister.saarland.de/improve/periodR_en.html HTH, Jorge 2009/10/1 Jens Oehlschlägel Hi, Does anyone know where the following package is available: Holleczek B, Gondos A, Brenner H. PeriodR - an R package to calculate long term survival estimates

Re: [R] (no subject)

2009-10-01 Thread Andris Jankevics
Actually that is stated in paper abstract: http://www.krebsregister.saarland.de/improve/periodR_en.html Andris 2009/10/1 Jens Oehlschlägel oehl_l...@gmx.de: Hi, Does anyone know where the following package is available: Holleczek B, Gondos A, Brenner H. PeriodR - an R package to calculate

[R] (no subject)

2009-09-28 Thread Pete Shepard
Hello, I am having a problem understanding the lda package. I have a dataset here: [,1] [,2] [,3] [1,] 2.95 6.630 [2,] 2.53 7.790 [3,] 3.57 5.650 [4,] 3.16 5.470 [5,] 2.58 4.461 [6,] 2.16 6.221 [7,] 3.27 3.521 If I do the following; names(d)-c(y,x1,x2) d$x1 =

[R] (no subject)

2009-09-14 Thread asie soheili
I want to comput prime component of a graph. please guide mi. thanks alot [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] (no subject)

2009-09-14 Thread Steve Lianoglou
Hi, On Sep 14, 2009, at 10:19 AM, asie soheili wrote: I want to comput prime component of a graph. please guide mi. If you're working with graphs, you'll want to check out the igraph package: http://cran.r-project.org/web/packages/igraph/ http://igraph.sourceforge.net/ -steve -- Steve

[R] (no subject)

2009-09-13 Thread Karen Federico
How would I make a histogram using R from a table in excel that has 4 variables, but I only want to use 2 of the columns to make the histogram? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] (no subject)

2009-09-13 Thread milton ruser
Hi Karen, As you are just starting (I guess), I suggest you take a shortcut: 1. copy and paste the data from Excel to the notepad, and save it as .TXT 2. If all is ok, you will have a tab-delimited file. 3. Be sure that your variables have its names on first line 4. read your data using

Re: [R] (no subject)

2009-09-13 Thread Schalk Heunis
Karen You can copy and paste data directly into R from Excel: 1. Mark the data including the headings in Excel 2. Ctrl-C 3. In R: myDF - read.delim(clipboard) Following from Milton: hist(myDF$VARNAME) or hist(myD[,1]) #to plot 1st collumn hist(myD[,2]) #to plot 2nd collumn Schalk Heunis On

[R] (no subject)

2009-09-12 Thread KABELI MEFANE
Dear All   I hope you can help me with this small problem. I want to draw a normal distribution line to this data: p-rnorm(100, mean=5, sd=3000) hist(p)   Kabeli [[alternative HTML version deleted]] __ R-help@r-project.org mailing

Re: [R] (no subject)

2009-09-12 Thread David Freedman
A better subject for your question might have been helpful. There are many options for hist and truehist in the MASS package, but this might help: x=rnorm(100, mean=5, sd=3000) hist(x, prob=T) x2=density(x) lines(x2$x,x2$y) KABELI MEFANE wrote: Dear All   I hope you can help me with

Re: [R] (no subject)

2009-09-12 Thread KABELI MEFANE
Thank you Sir   I have been trying to come up with the code for 6 hours thats why i ended up forgetting the title.   Kabeli --- On Sat, 12/9/09, David Freedman 3.14da...@gmail.com wrote: From: David Freedman 3.14da...@gmail.com Subject: Re: [R] (no subject) To: r-help@r-project.org Date

[R] (no subject)

2009-09-11 Thread MERAL YAY
Hello, I have a question about ipred package. I am working on a data set which contains 1000 individual swho came from 588 regions. I calculated misclassification error rate with cross validation and its smooted version bootstrap 632 for different sample sizes in LDF. I am doubting whether error

Re: [R] (no subject)

2009-09-09 Thread Jari Oksanen
Hello Kim Gav, Gavin Simpson gavin.simpson at ucl.ac.uk writes: On Wed, 2009-09-09 at 14:43 +0200, Kim Vanselow wrote: Dear r-Community, Step1: I would like to calculate a NMDS (package vegan, function metaMDS) with species data. Step2: Then I want to plot environmental variables

[R] (no subject)

2009-09-06 Thread Roslina Zakaria
Hi r-users,   I would like to know how to put all the data that is greater than certain value in certain cell for my histogram.  For example, since maximum value of p1 is 588 it doesn't fit in the breaks that we specified.  Can we write breaks 300?   max(p1[,2]) pre.hist - hist(p1[,2],breaks =

Re: [R] (no subject)

2009-09-06 Thread milton ruser
Hi Roslina, x-runif(1000,min=0, max=600) hist(x) x2-ifelse(x=300,x,300) summary(x2) hist(x2, ,breaks = c(0,50,100,150,200,250,300)) good luck milton On Mon, Sep 7, 2009 at 12:51 AM, Roslina Zakaria zrosl...@yahoo.com wrote: Hi r-users, I would like to know how to put all the data that is

Re: [R] (no subject)

2009-09-06 Thread milton ruser
May be you also want: x-runif(1000,min=0, max=600) x3-x[x=300] summary(x3) hist(x3, ,breaks = c(0,50,100,150,200,250,300)) bests milton On Mon, Sep 7, 2009 at 1:01 AM, milton ruser milton.ru...@gmail.com wrote: Hi Roslina, x-runif(1000,min=0, max=600) hist(x) x2-ifelse(x=300,x,300)

[R] (no subject)

2009-09-02 Thread Karen Federico
I'm trying to download this program and I'm not sure how to do it. Can you help me with that? Thanks. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] (no subject)

2009-09-02 Thread milton ruser
Hi Karen. If you are running windows, try: http://cran.r-project.org/bin/windows/base/ Case it is Vista, see some tips on the same link. cheers milton On Wed, Sep 2, 2009 at 8:13 PM, Karen Federico kfede...@stevens.edu wrote: I'm trying to download this program and I'm not sure how to do

[R] (no subject)

2009-08-27 Thread Mcdonald, Grant
dear sir, my data larger than this example but is of the following format: y x Age 30 0.0323 O 24 0.0389 Y 158 0.058 Y 120 0.0581 O 100 0.0471 Y 102 0.0615 Y 160 0.0546 O i ma making a scatter plot of y~x and want to specify different coloured

Re: [R] (no subject)

2009-08-27 Thread jim holtman
Setup a vector with the shapes and the colors you want that are the same length as the number of levels in Age: x - read.table('clipboard', header=TRUE) x y x Age 1 30 0.0323 O 2 24 0.0389 Y 3 158 0.0580 Y 4 120 0.0581 O 5 100 0.0471 Y 6 102 0.0615 Y 7 160 0.0546 O

[R] (no subject)

2009-08-18 Thread Lars Beckmann
Dear all, I have a problem with the function read.xls from the gdata package, error message see below. Two examples: First, I try to read my data, which does not work; Secondly, I tried the example code/data with the Iris data, which worked Any idea? Thanks, Lars

Re: [R] (no subject)

2009-08-18 Thread Gabor Grothendieck
The error message seems pretty clear here. It says that you have to supply an integer to specify which sheet you want -- not a sheet name. Also see ?read.xls which describes the sheet argument as (emphasis added): sheet ***number*** of sheet within the Excel file from which data are to be read

Re: [R] (no subject)

2009-07-31 Thread Stein, Luba (AIM SE)
The error message is: Error in library(lattice) : there is no package called 'lattice' I have installed it twice because it did not work the first time, so I was not sure if the installation worked out. The strange thing is that the folder lattice is in the folder library. Luba

Re: [R] (no subject)

2009-07-31 Thread jim holtman
Type: library() at the prompt to see what libraries are known to your system. You might have a path name messed up or something. Here is part of the output that shows on my system with 'lattice' shown Packages in library 'C:/PROGRA~1/R/R-29~1.0/library': base

[R] (no subject)

2009-07-30 Thread Stein, Luba (AIM SE)
I try to load the package lattice by library(lattice). Although I have installed it through CRAN by internet as well as from a local directory using the zip-file, it can't be loaded into the editor. Can anyone give advice, please. I am using R 2.9.1 on Widows XP. Thanks a lot, Luba

Re: [R] (no subject)

2009-07-30 Thread jim holtman
Exactly why are you trying to load it into the editor? What happens when you execute 'library(lattice)' at the command line? Is there an error message associated with it? Here is what I get: library(lattice) It loads just fine. On Thu, Jul 30, 2009 at 11:08 AM, Stein, Luba (AIM

[R] (no subject)

2009-07-29 Thread Øistein Harsem
HiI am contacting you regarding a problem with downloading R. I cannot seen to manage because my computer language is in Norwegian. DO you know if there is R that can deal with Norwegian letters? Øistein Harsem _ Show them the way!

Re: [R] (no subject)

2009-07-29 Thread Philipp Pagel
On Wed, Jul 29, 2009 at 03:12:02PM +0200, Øistein Harsem wrote: HiI am contacting you regarding a problem with downloading R. I cannot seen to manage because my computer language is in Norwegian. DO you know if there is R that can deal with Norwegian letters? I have never seen a download to

[R] (no subject)

2009-07-27 Thread NIVEEN samy
    Hi   I am Niveen Samy. I am interesting by Linear Programming problem, and I want a program to solve it using any language as Java ,pascal,c++,Miranda functional programming language or any language can I learn it. If u have an already solution to this problem please send it to me

Re: [R] (no subject)

2009-07-12 Thread John Kane
I have no idea to be honest. I have never used the package, I simply did a search for it. Hopefully a more experienced user can help --- On Sun, 7/12/09, maram salem marammagdysa...@yahoo.com wrote: From: maram salem marammagdysa...@yahoo.com Subject: Re: [R] (no subject) To: John Kane

[R] (no subject)

2009-07-03 Thread Nikolay Vasilev
Dear All, I did a new installment of R on my office computer. However, I encounter one technical problem with my R Help. When I write down ?, followed by the function I am interested in, the next message appears in Help Menu:This program cannot display the webpage. Please, find attached

[R] (no subject)

2009-07-02 Thread Andriy Fetsun
Hi Guys, It is very simple question, but I can't find the answer! Please help me. I use R and such simple function as length() doesn't work. The result is always 1 even if my data are more then 1 observations! Do I have to load any additional library? length(Ret_1) [1] 1 length function (x)

[R] (no subject)

2009-07-02 Thread Andriy Fetsun
Hi, Could you please help me? I am trying to load an csv-file in R, but it works wrong! My data is 0,0127 -0,0016 0,0113 0,0037 -0,0025 Ret-read.csv(Ret.csv) Ret X0 X0127 1 016 2 0 113 3 037 4 025 Thank you in advance! -- Best regards, Andy

Re: [R] (no subject)

2009-07-02 Thread milton ruser
Hi Andriy Fetsun, How about include a subject title on the subject of the email like length funcion not work. By the say, send us the result of str(your_object). Bests milton brazil=toronto On Thu, Jul 2, 2009 at 9:01 AM, Andriy Fetsun fet...@googlemail.com wrote: Hi Guys, It is very

Re: [R] (no subject)

2009-07-02 Thread David Winsemius
On Jul 2, 2009, at 9:01 AM, Andriy Fetsun wrote: Hi Guys, It is very simple question, but I can't find the answer! Please help me. I use R and such simple function as length() doesn't work. The result is always 1 even if my data are more then 1 observations! Do I have to load any

Re: [R] (no subject)

2009-07-02 Thread David Winsemius
On Jul 2, 2009, at 6:47 AM, Andriy Fetsun wrote: Hi, Could you please help me? I am trying to load an csv-file in R, but it works wrong! My data is 0,0127 -0,0016 0,0113 0,0037 -0,0025 Ret-read.csv(Ret.csv) Ret X0 X0127 1 016 2 0 113 3 037 4 025 ?read.csv

Re: [R] (no subject)

2009-07-02 Thread Henrique Dallazuanna
Use scan: scan(Ret.csv, dec = ,) On Thu, Jul 2, 2009 at 7:47 AM, Andriy Fetsun fet...@googlemail.com wrote: Hi, Could you please help me? I am trying to load an csv-file in R, but it works wrong! My data is 0,0127 -0,0016 0,0113 0,0037 -0,0025 Ret-read.csv(Ret.csv) Ret

Re: [R] (no subject)

2009-07-02 Thread Sarah Goslee
Well, what's Ret_1 ? It's hard to answer your question without that crucial bit of information. Try str(Ret_1) and let us know what it says. My first guess is that Ret_1 is a list, e.g.: testdata - list(f1=c(1,2,3,4)) length(testdata) [1] 1 length(testdata[[1]]) [1] 4 str(testdata) List of

Re: [R] (no subject)

2009-07-02 Thread Uwe Ligges
Andriy Fetsun wrote: Hi, Could you please help me? I am trying to load an csv-file in R, but it works wrong! See ?read.csv and about decimal different characters. Uwe Ligges My data is 0,0127 -0,0016 0,0113 0,0037 -0,0025 Ret-read.csv(Ret.csv) Ret X0 X0127 1 016 2 0

Re: [R] (no subject)

2009-07-02 Thread Steve Lianoglou
Hi, I am trying to load an csv-file in R, but it works wrong! My data is 0,0127 -0,0016 0,0113 0,0037 -0,0025 Ret-read.csv(Ret.csv) Ret X0 X0127 1 016 2 0 113 3 037 4 025 This looks correct to me. The read.csv function assumes the first line in the file is a

Re: [R] (no subject)

2009-07-02 Thread ONKELINX, Thierry
Andriy Fetsun Verzonden: donderdag 2 juli 2009 12:48 Aan: r-help@r-project.org Onderwerp: [R] (no subject) Hi, Could you please help me? I am trying to load an csv-file in R, but it works wrong! My data is 0,0127 -0,0016 0,0113 0,0037 -0,0025 Ret-read.csv(Ret.csv) Ret X0 X0127 1 0

Re: [R] (no subject)^2

2009-07-02 Thread Ted Harding
Putting your two queries together [see revised Subject ... ]: [R] (no subject)^1: Could you please help me? I am trying to load an csv-file in R, but it works wrong! My data is 0,0127 -0,0016 0,0113 0,0037 -0,0025 Ret X0 X0127 1 016 2 0 113 3 0

[R] (no subject)

2009-07-01 Thread Andriy Fetsun
Hi, 1.) I am trying to calculate the autocorrelation function for returns based on rolling window, but it doesn't work. My code is rollapply(Returns,20,acf). 2.) My next try is rollapply(Returns_2,20,cor) Error in FUN(cdata[st, i], ...) : supply both 'x' and 'y' or a matrix-like 'x' Thank

Re: [R] (no subject)

2009-07-01 Thread Gabor Grothendieck
On Wed, Jul 1, 2009 at 6:22 AM, Andriy Fetsunfet...@googlemail.com wrote: Hi, 1.) I am trying to calculate the autocorrelation function for returns based on rolling window, but it doesn't work. My code is rollapply(Returns,20,acf). That's because acf returns a list. Try this:

Re: [R] (no subject)

2009-07-01 Thread Andriy Fetsun
Hi, I am trying to calculate the volatility on not overlapping basis. Do you know functions for not overlapping calculation? It is like to take first 20 observations and apply st.dev to 20 and then take next 20 observations and calculate st. deviation. I tried with function rollapply(), but it

Re: [R] (no subject)

2009-07-01 Thread Gabor Grothendieck
See the by= argument. On Wed, Jul 1, 2009 at 11:08 AM, Andriy Fetsunfet...@googlemail.com wrote: Hi, I am trying to calculate the volatility on not overlapping basis. Do you know functions for not overlapping calculation? It is like to take first 20 observations and apply st.dev to 20 and

[R] (no subject)

2009-06-30 Thread maram salem
Hi Group, I've a vector of 1000 numeric values for which I want to draw a histogram. I've read this vector into R with no variable name.I mean only the 1000 values, which makes V1 the name of the variable by default?? Then I tried hist(V1, breaks = Sturges, +  freq = NULL, probability =

Re: [R] (no subject)

2009-06-30 Thread John Kane
--- On Tue, 6/30/09, maram salem marammagdysa...@yahoo.com wrote: From: maram salem marammagdysa...@yahoo.com Subject: [R] (no subject) To: r-help@r-project.org Received: Tuesday, June 30, 2009, 6:34 AM Hi Group, I've a vector of 1000 numeric values for which I want to draw a histogram

Re: [R] (no subject)

2009-06-30 Thread jim holtman
I assume that when you read in the data, you assigned it to an object; e.g., myData - read.table(yourFile) you can then plot a histogram by: hist(myData$V1) you may need to reread Introduction to R that comes with the software. On Tue, Jun 30, 2009 at 6:34 AM, maram salem

[R] (no subject)

2009-06-29 Thread maram salem
Hi group, I found a module for adaptive kernel density estimation for Stata users, but unfortunetly I don't have access to Stata, can I find a similar approach using R? [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] (no subject)

2009-06-29 Thread John Kane
Perhaps? http://finzi.psych.upenn.edu/R/library/quantreg/html/akj.html --- On Mon, 6/29/09, maram salem marammagdysa...@yahoo.com wrote: From: maram salem marammagdysa...@yahoo.com Subject: [R] (no subject) To: r-help@r-project.org Received: Monday, June 29, 2009, 9:05 AM Hi group, I

[R] (no subject)

2009-06-09 Thread Jason Rupert
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] (no subject)

2009-06-06 Thread Peter Flom
Christophe Genolini cgeno...@u-paris10.fr wrote Thanks for yours answers. So if I understand: - Trajectories are continuous, the other are discrete. - The difference between time series and longitudinal is that time series are made at regular time whereas longitudinal are not ? - Repeated

Re: [R] Within Subject ANOVA question

2009-06-01 Thread Mike Lawrence
Although you factorized subject and condition when you created them as separate objects, this didn't survive cbind() then as.data.frame(), thus example-data.frame(cbind(subject,condition,recall)) str(example) 'data.frame': 30 obs. of 3 variables: $ subject : int 1 2 3 4 5 6 7 8 9 10 ...

[R] (no subject)

2009-05-31 Thread Roslina Zakaria
Hi R-users, I try to use sn package but it give me the following message: install.packages(repos=NULL,pkgs=c:\\Tinn-R\\sn_0.4-12.zip) Warning: package 'sn' is in use and will not be installed updating HTML package descriptions I did tried a few time to save the .zip file but it give me the

Re: [R] (no subject)

2009-05-31 Thread Ronggui Huang
use _search()_ to see if the package is on the search path. If yes, use _detach(package:sn,unload=TRUE)_ to detach it and then try to install it again. Ronggui 2009/6/1 Roslina Zakaria zrosl...@yahoo.com: Hi R-users, I try to use sn package but it give me the following message:

Re: [R] (no subject)

2009-05-19 Thread Douglas Bates
On Mon, May 18, 2009 at 9:22 AM, Thomas Lumley tlum...@u.washington.edu wrote: On Mon, 18 May 2009, Debbie Zhang wrote: Based on a set of binomial sample data, how would you utilize the nlm function in R to estimate the true proportion of the population? I can't see why anyone would want to

[R] (no subject)

2009-05-18 Thread Debbie Zhang
Dear R users, Based on a set of binomial sample data, how would you utilize the nlm function in R to estimate the true proportion of the population? Thanks. Debbie _ [[elided Hotmail spam]] [[alternative HTML version

Re: [R] (no subject)

2009-05-18 Thread Stefan Grosse
On Mon, 18 May 2009 17:33:51 +1030 Debbie Zhang debbie0...@hotmail.com wrote: DZ Based on a set of binomial sample data, how would you utilize the DZ nlm function in R to estimate the true proportion of the DZ population? Dear Debbie, This is a list that is mainly intended helping people if

Re: [R] (no subject)

2009-05-18 Thread Martin Maechler
Dear Debbie, can you **PLEASE** use a 'Subject' in your postings to R-help, and also (see below) DZ == Debbie Zhang debbie0...@hotmail.com on Mon, 18 May 2009 17:33:51 +1030 writes: DZ Dear R users, DZ Based on a set of binomial sample data, how would you DZ utilize the

Re: [R] (no subject)

2009-05-18 Thread Thomas Lumley
On Mon, 18 May 2009, Debbie Zhang wrote: Based on a set of binomial sample data, how would you utilize the nlm function in R to estimate the true proportion of the population? I can't see why anyone would want to use nlm() for this. The sample proportion is the MLE, and binom.test() gives

[R] (no subject)

2009-05-18 Thread hadeel klakattawi
hi if I have sample of discret observations, and I want to test if this sample is follwed by a certion discret distribution for example: geometric distribution, negative binomial distribution, and so on (i.e chisq-goodness of fit test), how can I do this in R in S+ we can use (chisq.gof)

[R] (no subject)

2009-05-17 Thread Debbie Zhang
Dear R users, I incurred some problems with importing data into R. i.e. If I want to import a text file or word file which contains lots of numerical numbers, what function should I use? Please help. Thanks a lot. Debbie

Re: [R] (no subject)

2009-05-17 Thread Johannes Hüsing
Debbie Zhang schrieb: Dear R users, I incurred some problems with importing data into R. i.e. If I want to import a text file or word file which contains lots of numerical numbers, what function should I use? It does help if you read the posting guide first. In general, the file has to

Re: [R] (no subject)

2009-05-16 Thread Linlin Yan
On Sat, May 16, 2009 at 12:05 PM, Debbie Zhang debbie0...@hotmail.com wrote: Dear R users, Does anyone know how to write a function involving derivative? i.e. I want to implementing Newton's method in R, so my function is something like x- x-y/y' I am not sure how to write y' in my

[R] (no subject)

2009-05-15 Thread Debbie Zhang
Dear R users, Does anyone know how to write a function involving derivative? i.e. I want to implementing Newton's method in R, so my function is something like x- x-y/y' I am not sure how to write y' in my function. Can anyone help? In addition, if I want to implementing newton's method

[R] (no subject)

2009-05-12 Thread Kon Knafelman
Hi, I have a question about derivatives of functions. if i have the following function, f - function(x) x^3-2*x^2+3*x-5 i need a simple function for the derivative of this with respect to 'x', so that i can then sub in values to the the derivative function, and use Newtons method of finding

Re: [R] (no subject)

2009-05-12 Thread Dieter Menne
Kon Knafelman wrote: if i have the following function, f - function(x) x^3-2*x^2+3*x-5 i need a simple function for the derivative of this with respect to 'x', so that i can then sub in values to the the derivative function, and use Newtons method of finding a root for this.

Re: [R] (no subject)

2009-05-12 Thread Richard . Cotton
if i have the following function, f - function(x) x^3-2*x^2+3*x-5 i need a simple function for the derivative of this with respect to 'x', so that i can then sub in values to the the derivative function, and use Newtons method of finding a root for this. You could take a look at

[R] (no subject)

2009-05-12 Thread Debbie Zhang
Dear R users, Does anyone know how to graph the function below? sqrt(2)Γ(n/2)/[sqrt(n − 1)Γ((n − 1)/2] Please help. Debbie _ Want to stay on top of your life online? Find out how with Windows Live!

Re: [R] (no subject)

2009-05-12 Thread jim holtman
?curve just create an R expression for the equation and then plot it. I am not sure exactly what your expression is supposed to be. On Tue, May 12, 2009 at 10:22 PM, Debbie Zhang debbie0...@hotmail.comwrote: Dear R users, Does anyone know how to graph the function below?

Re: [R] (no subject)

2009-05-12 Thread Rolf Turner
On 13/05/2009, at 2:22 PM, Debbie Zhang wrote: Dear R users, Does anyone know how to graph the function below? sqrt(2)Γ(n/2)/[sqrt(n − 1)Γ((n − 1)/2] Yes, pretty well everyone knows how to graph it. Please help. No. Do your own homework. cheers,

[R] (no subject)

2009-05-09 Thread Jaana Kettunen
Could you help me with a problem? I should put non-linear variables into zelig-model, how can that be done? I'm dealing with air pollution data, trying to find out daily associations between mortality and air pollutants. Weather variables used as confounders are in some cases non-linear.

Re: [R] (no subject)

2009-05-09 Thread David Winsemius
On May 9, 2009, at 5:39 AM, Jaana Kettunen wrote: Could you help me with a problem? I should put non-linear variables into zelig-model, how can that be done? I'm dealing with air pollution data, trying to find out daily associations between mortality and air pollutants. Weather

[R] (no subject)

2009-04-23 Thread Millo Giovanni
Dear Helen, bootstrapped standard errors are currently not supported in 'plm'. Cheers, Giovanni -- Original Message: Date: Wed, 22 Apr 2009 23:23:26 -0700 (PDT) From: Helen Chen 96258...@nccu.edu.tw Subject: [R] question of plm package To: r-help@r-project.org

<    3   4   5   6   7   8   9   10   >