Re: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-20 Thread Ista Zahn
On Mon, Nov 18, 2013 at 8:45 AM, PIKAL Petr wrote: > Hi > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- >> project.org] On Behalf Of Zach Feinstein >> Sent: Wednesday, November 13, 2013 2:57 PM >> To: r-help@r-pr

Re: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-18 Thread PIKAL Petr
Hi > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Zach Feinstein > Sent: Wednesday, November 13, 2013 2:57 PM > To: r-help@r-project.org > Subject: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User T

Re: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-14 Thread John Kane
elp@r-project.org > Subject: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to > Learn Few Basics > > I have finally decided that I will learn R and learn it very well. For > now I am using a program that a friend of mine developed to do some > advanced statistical a

Re: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-13 Thread Mitchell Maltenfort
Bert: Yet another reason I'm a fan of Frank Harrell. Does anyone know when I get to buy the next edition of Regression Modeling Strategies? Zach: Check www.coursera.org. They have some nice R-centric classes. I signed up myself since my own R skills are self-taught. Also consider investing in s

Re: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-13 Thread Bert Gunter
Type the following into your console window: install.packages("fortunes") library(fortunes) fortune("brain surgery") (It's not quite apposite, but close enough). Cheers, Bert On Wed, Nov 13, 2013 at 5:57 AM, Zach Feinstein wrote: > I have finally decided that I will learn R and learn it very

[R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-13 Thread Zach Feinstein
I have finally decided that I will learn R and learn it very well. For now I am using a program that a friend of mine developed to do some advanced statistical analyses. I downloaded RStudio to my machine. [Perhaps RStudio is not the best platform to work from - I have heard that Rattle is sort

Re: [R] R beginner: matrix algebra

2012-12-18 Thread kevj1980
Thanks to all for help. The filter function appears most straightforward way for this problem. Kevin -- View this message in context: http://r.789695.n4.nabble.com/R-beginner-matrix-algebra-tp4653335p4653414.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] R beginner: matrix algebra

2012-12-18 Thread Patrick Burns
Convenient ways of computing both simple and log returns are at the very end of: http://www.portfolioprobe.com/2012/11/05/an-easy-mistake-with-returns/ Those work whether you have a vector or a matrix. Pat On 17/12/2012 17:16, kevj1980 wrote: Hi, I have an n x m matrix of numerical observati

Re: [R] R beginner: matrix algebra

2012-12-17 Thread William Dunlap
ct.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Richard M. Heiberger > Sent: Monday, December 17, 2012 1:54 PM > To: kevj1980 > Cc: r-help@r-project.org > Subject: Re: [R] R beginner: matrix algebra > > I think this is what you are looking for. > > > t

Re: [R] R beginner: matrix algebra

2012-12-17 Thread Richard M. Heiberger
I think this is what you are looking for. > tmp <- matrix(sample(20), 5, 4) > tmp [,1] [,2] [,3] [,4] [1,]6 15 18 20 [2,]45 10 19 [3,]7913 [4,]8 14 11 13 [5,] 17 12 162 > t(apply(tmp, 1, diff)) [,1] [,2] [,3] [1,]932 [

[R] R beginner: matrix algebra

2012-12-17 Thread kevj1980
Hi, I have an n x m matrix of numerical observations. ie. stock prices I wish to convert the matrix of observations to a matrix of simple returns (by taking the differences between (column) observations.) Can any good soul suggest a function for this? -- View this message in context: http://

Re: [R] R beginner

2012-12-03 Thread avadhoot velankar
Hi andrew Stick to one tutorial before you get confident enough. I found this one very good. informative, easy to understand and best thing you basically try everything out on sample files provided. word of caution though instead of using ctrl+R command in script file, manually type it in consol i

Re: [R] R beginner

2012-12-02 Thread andrewcd
My $.02: re-do an analysis that you did in another software package in R, making sure that you get the same results. A good way to learn any language. -- View this message in context: http://r.789695.n4.nabble.com/R-beginner-tp4651719p4651759.html Sent from the R help mailing list archive at N

Re: [R] R beginner

2012-12-02 Thread Bert Gunter
Google "Learn R" (What else!) -- And please do not post here further until you have done some studying. -- Bert On Sun, Dec 2, 2012 at 3:55 PM, Rui Barradas wrote: > Hello, > > An Introduction to R, file R-intro.pdf comes with every installation of R, > folder R/doc. > And there are many boo

Re: [R] R beginner

2012-12-02 Thread Rui Barradas
Hello, An Introduction to R, file R-intro.pdf comes with every installation of R, folder R/doc. And there are many books available at http://www.r-project.org/. (Choose the link Other at the left.) Good luck. Hope this helps, Rui Barradas Em 02-12-2012 22:45, Akrem Zoghlami escreveu: Dear

Re: [R] R beginner

2012-12-02 Thread R. Michael Weylandt
On Sun, Dec 2, 2012 at 10:45 PM, Akrem Zoghlami wrote: > Dear R-help group, > > I'm a R beginner and I find difficulty in manipulating R. Could you send to > me a support that helps me to be familiar with R. Thank you in advance > Try typing help.start() at your prompt. This will bring up the m

[R] R beginner

2012-12-02 Thread Akrem Zoghlami
Dear R-help group, I'm a R beginner and I find difficulty in manipulating R. Could you send to me a support that helps me to be familiar with R. Thank you in advance Sincerely, [[alternative HTML version deleted]] __ R-help@r-project.org m

Re: [R] R Beginner : Loop and adding row to dataframe

2012-07-22 Thread Henrik Singmann
Hi Phil, I think you want: merge(listA, listB, by = "NACE") which will give you: NACE Name aaa bbb ccc 11a a a c 21a a a c 31a a a c 42b a a c 52b a a c 63c a a c If you want to get rid of the Name column, th

Re: [R] R Beginner : Loop and adding row to dataframe

2012-07-22 Thread arun
 dat3<-dat3[,1:4]  dat3   NACE aaa bbb ccc 1    1   a   a   c 2    1   a   a   c 3    1   a   a   c 4    2   a   a   c 5    2   a   a   c 6    3   a   a   c A.K. - Original Message - From: ph!l To: r-help@r-project.org Cc: Sent: Sunday, July 22, 2012 12:35 PM Subject: [R] R Beginner

[R] R Beginner : Loop and adding row to dataframe

2012-07-22 Thread ph!l
Hi everybody, I am currently quite inexperienced with R. I try to create a function that simply take a value in a dataframe, look for this value in another dataframe and copy all the row that have this value This example is a simplified version of what I am doing but it's enough to help me listA

Re: [R] R beginner - Error in as.vector(x, mode)

2011-03-10 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Arne Henningsen > Sent: Thursday, March 10, 2011 12:09 PM > To: Alex Olssen; r-help@r-project.org > Subject: Re: [R] R beginner - Error in as.vector(x, mo

Re: [R] R beginner - Error in as.vector(x, mode)

2011-03-10 Thread Arne Henningsen
Dear Alex On 10 March 2011 20:31, Alex Olssen wrote: > I find it hard to provide a reproducible version of this error. > When I use the exact same procedure but get data from data() > everything works fine. > I.e., I do not think the startvals are the problem - in fact I copied > the syntax for t

Re: [R] R beginner - Error in as.vector(x, mode)

2011-03-10 Thread Arne Henningsen
Hi Alex! On 10 March 2011 09:46, Alex Olssen wrote: > Hi everyone, > > I am new to R and keep getting the message > Error in as.vector(x, mode) > while trying to run nlsystemfit. > > Below is my exact code.  The data is in Stata format because I only > recently swapped to R and am trying to compa

[R] R beginner - Error in as.vector(x, mode)

2011-03-10 Thread Alex Olssen
Hi everyone, I am new to R and keep getting the message Error in as.vector(x, mode) while trying to run nlsystemfit. Below is my exact code. The data is in Stata format because I only recently swapped to R and am trying to compare results from Stata to make sure I know what is going on. I have s

Re: [R] R beginner

2010-04-13 Thread azman
I have try again my function from this email.I just copy and paste it on the R software and it doesn't give any problem like before.Did you change anything to my function? Actually before this I have do others about my research and long time not see this function. Thank you very much for your help

Re: [R] R beginner

2010-03-03 Thread Dieter Menne
azman wrote: > > i'am is new in R software.i have try to make a function but it can't give > what it should.i dunno what have to do next. > Can somebody help me to solve it.i'll very appreciate... > > Your example is nice, because it is self-contained (even if there is a buglet). When I run i

[R] R beginner

2010-03-02 Thread azman
hello, i'am is new in R software.i have try to make a function but it can't give what it should.i dunno what have to do next. Can somebody help me to solve it.i'll very appreciate... ##GEV simulation(Non-stationary) dsim<-function(n, alpha, beta,sca,sha){ t <- 1:n location <- alpha + beta*t inv.d

Re: [R] R beginner - how to apply function to more than one matrix / data.array / ...

2008-04-09 Thread Gabor Csardi
Yes, it is exactly 'apply', and its friends. E.g. you can collect the objects into a list and then do sapply(mylist, is.matrix) G. On Wed, Apr 09, 2008 at 11:52:08AM -0400, Mon Mag wrote: > I would like to apply a simple function, like > is.matrix > to more than one data.frame > How can I call

[R] R beginner - how to apply function to more than one matrix / data.array / ...

2008-04-09 Thread Mon Mag
I would like to apply a simple function, like is.matrix to more than one data.frame How can I call on more than one data.frame? (are there any wildcards, etc?) I am a true beginner and have tried to look this up in help files, but cannot figure it out. Thank you. [[alternative HTML versi