r research, trial
and error!
WHP
From: R-help On Behalf Of Jim Blackburn
Sent: Friday, September 14, 2018 2:00 PM
To: r-help@r-project.org
Subject: [R] New to R
I am newly subscribed to r-project.
I have recently plunged into R on a totally self-taught basis (may not have
been the smart
Dear Jim
Without knowing what l.out is this might be tricky. What does str(l.out)
tell you it is. And is CVS a typo for csv?
Michael
On 14/09/2018 19:00, Jim Blackburn wrote:
I am newly subscribed to r-project.
I have recently plunged into R on a totally self-taught basis (may not have
be
> On Sep 14, 2018, at 2:15 PM, MacQueen, Don via R-help
> wrote:
>
> If l.out is not a data frame, what is it? A list? A matrix? Some other
> structure? Try
I thought it would be one of those variants of a zoo object. Matrix structure
with specialized row.names that can handle time-date ran
If l.out is not a data frame, what is it? A list? A matrix? Some other
structure? Try
str(l.out)
class(l.out)
and see what you get.
Can't help you convert it to a data frame without knowing what it is.
After you have a data frame, then write.table(), write.csv(), or write.csv2()
will "con
Others may help, but I suggest first going through an R tutorial or
two to learn about R's basic data structures, i/o, etc. This list can
help, but cannot substitute for such homework. Some tutorial
recommendations can be found here:
https://www.rstudio.com/online-learning/#r-programming
There are
I am newly subscribed to r-project.
I have recently plunged into R on a totally self-taught basis (may not have
been the smartest decision!)
I am attempting to download tickers as a time series. I can successfully
create RDA files but I want to convert them to CVS. Following is the code I
can lead to a solution to the
problem.
John Kane
Kingston ON Canada
> -Original Message-
> From: chow.bo...@gmail.com
> Sent: Sun, 10 May 2015 10:44:31 +0800
> To: r-help@r-project.org
> Subject: [R] New to R
>
> Dear R users,
>
> I am new to R community and wo
Boris Chow [2015-05-09 20:04]:
I want to do a pricing of an American option as my first exercise. Can some
experienced users give me some pointers to do so?
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
http://cran.r-project.org/web/packages/AmericanCallOpt/AmericanCallOpt.pdf
http:/
Dear Boris,
I am new too, but got a lot of help from this webpage. I hope it will work
for you too,
All the best!
http://tryr.codeschool.com/
2015-05-09 23:44 GMT-03:00 Boris Chow :
> Dear R users,
>
> I am new to R community and would like to dig into it. Would you advise
> what are the appro
Dear R users,
I am new to R community and would like to dig into it. Would you advise what
are the appropriate steps to do so?
I want to do a pricing of an American option as my first exercise. Can some
experienced users give me some pointers to do so?
Thanks a lot,
Boris
_
Hi Lalitha,
Your description is more like calculating a composite score from the
values observed on ten attributes, which can then be ranked. Perhaps
you want to standardize the observed values to insure that the result
is not dominated by the attribute with the numerically highest
variance. For ex
Please don't cross-post to multiple lists. There is a Posting Guide mentioned
in the footer that you probably won't see because you are using Nabble. It
would have informed you that the R-devel mailing list was for people interested
in modifying R, definitely not this topic.
As to your question
Hi,
In our data we have 10 people with 10 different attributes , we want to rank
the people based on the weightage of these attributes.
Suggest the best statistical method to do this.
Does Revolution R solves my problem??
Regards,
Lalitha Kristipati
Associate Software Engineer
=
Thanks
Regards,
Lalitha K.
Associate Software Engineer
917411291011
From: Jeff Newmiller
Sent: 21 January 2015 21:34
To: Lalitha Kristipati; R-help@r-project.org
Subject: Re: [R] New to R
This is not really a question about R... it is a question
This is not really a question about R... it is a question about databases
because similar divisions occur in every imperative programming language that
deals with databases. ODBC is a software layer that aims to create a uniform
API for the programmer among different variations of SQL databases
On 21/01/2015 05:51, Lalitha Kristipati wrote:
Hi,
I am trying to connect R to databases.
I found two ways to connect.
1.By using specific package (eg RMySQL to connect to R)
2.By using connectors and RODBC package.
can any one tell me the difference between those two methods.
See the 'R D
Hi,
I am trying to connect R to databases.
I found two ways to connect.
1.By using specific package (eg RMySQL to connect to R)
2.By using connectors and RODBC package.
can any one tell me the difference between those two methods.
Regards,
Lalitha K.
Associate Software Engineer
917411291
Hi ,
As the OP was asking for examples , I would also recommend "Modeling
Techniques in Predictive Analytics" by Thomas Miller.
That book is full of examples + R scripts. Its on Amazon.
Regards
Billy
--
|
http://
I would recommend finding some tutorials on line in areas that you enjoy, read
http://r-bloggers.com every day, find introductory texts in the statistical
areas of interest, and study some texts on R programming. I really enjoyed The
Art of R Programming: A Tour of Statistical Software Design by
Hi
I'm learning R language from past one month .As R is used highly for data
analysis ,mining and modeling ,I want to know few real time examples in R in
order to make my learning fun filled and practical .Any quick suggestions are
appreciated .
Regards,
Lalitha Kristipati
Associate Soft
eorge Katsuras wrote:
> http://economistatlarge.com/portfolio-theory/r-optimized-portfolio
>
> Thanks for your prompt response. I think the above link provides the
> reproducible example you are looking for.
>
>
>
>> From: istaz...@gmail.com
>> Date: Fri, 28 Feb 2014
Please give a reproducible example. When I run your code I get "object
'stocks' not found". So what is stocks?
On Thu, Feb 27, 2014 at 11:24 PM, George Katsuras wrote:
> I successfully downloaded and loaded the stockPortfolio and quadprog
> packages, but when I entered the following command I go
I successfully downloaded and loaded the stockPortfolio and quadprog packages,
but when I entered the following command I got an error:
returns <- getReturns(names(stocks), freq="week")
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") : can
1. Read an Introduction to R (ships with R) or other R tutorial (there
are many good ones on the Web).
1.5 ... Also check CRAN for books and other info.
2. ?write.table
but you'll need what you learn in the tutorial to extract output
from your functions.
2.5 ...and of course, ?xtabs and ?fi
Hi,
I am new to R and using Rcmdr and like to automate and get into scripting...
I am using for evaluating two variables
.Table <- xtabs(~CurSWI+BckMo, data=swanalysis_run1)
.Table
fisher.test(.Table)
remove(.Table)
the output for this will be
> .Table
BckMo
CurSWI N/A No Yes
N/A
Hi,
On Mon, May 14, 2012 at 12:44 PM, Bert Gunter wrote:
> I usually try google searches first. While not always successful, I am
> frequently surprised by how well it does.
rseek.org is simply a custom Google search for R-related things. It
does an even better job pulling out only R-related mat
University
> College Station, TX 77843-4352
>
>
>> -Original Message-
>> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
>> project.org] On Behalf Of Ronald McDowell
>> Sent: Monday, May 14, 2012 6:51 AM
>> To: r-help@r-project.org
>>
oject.org] On Behalf Of Ronald McDowell
> Sent: Monday, May 14, 2012 6:51 AM
> To: r-help@r-project.org
> Subject: [R] New to R
>
> I am new to R and starting to explore its functionality. I wondered if
> anyone could advise whether R supports non-linear canonical correlation
>
I am new to R and starting to explore its functionality. I wondered if anyone
could advise whether R supports non-linear canonical correlation and/or the
specification of models using alternating least squares?
Thanks
Ron
[[alternative HTML version deleted]]
__
update
Jim Lemon emailed me suggesting I look at boxed.labels in the plotrix
package.
I loaded the package, there were a few messages about directories/etc. but
somehow I got it working.
I got the command to work, just what I wanted.
Thanks to Jim
-Henry
--
View this message in context:
ht
Phil,
You should look onto sp package which is the base for any other
spatial packages in R
http://cran.r-project.org/web/packages/sp/index.html
Also notice "Reverse depends" section where you can find a lot of
useful packages for spatial operations and analysis.
For loading shape files, "maptoo
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of arbeaupg
> Sent: Wednesday, January 11, 2012 6:36 AM
> To: r-help@r-project.org
> Subject: [R] New to R, Curious about Project Idea
>
> Good morning,
>
It sounds quite possible but you'll probably get more specialized help
if you ask on the r-sig-geo mailing list.
Michael
On Wed, Jan 11, 2012 at 9:36 AM, arbeaupg wrote:
> Good morning,
>
> I am a student whom is currently working on a term project for my GIS
> Program. I am looking for a softwa
Good morning,
I am a student whom is currently working on a term project for my GIS
Program. I am looking for a software package which can aid me in my project,
and I was curious if R would be able to address my goals.
My project includes power outage data from a hydro company (point data,
with
2:n) {
dx[i]=(d[i])/(d[i-1])
# delta doesn't really do anything so I commented out
# delta=dx[i]
} # this is what I have tried to do.
-Original Message-
From: tynashy
Sent: Monday, October 24, 2011 11:29 AM
To: r-help@r-project.org
Subject: Re: [R] new to R coding.
I am new to R c
I believe I already showed you how to do this (though your code
doesn't seem to do what your words ask, so I'm not sure which one to
answer), but didn't draw attention to it:
x[-1]/x[-length(x)]
This creates two vectors, one consisting of everything but the first
element of x and the other of eve
I am new to R coding and I am trying to model the returns on the ftse100
since 1990. I have got a vector with all the closing values on each trading
day. however, instead of using the difference in the closing values of two
consecutive days, (ie dx=diff(x) where x is the vector containing the
clos
Try it yourself:
x = seq(1, 11, by = 2)
diff(log(x))
log(x[-1]/x[-length(x)])
all.equal(diff(log(x)), log(x[-1]/x[-length(x)]))
It seems like you don't really understand logs / log returns and why
they are used by some in quant finance: might I suggest you read this:
http://quantivity.wordpress.
Assuming that d(x) is equal to x, (I don't know a d() function in R)
these should be the same.
log(a/b) = log(a) - log(b) = diff(log(c(a,b))
If you mean simple returns instead of continuous/log returns, perhaps try this:
x[-1]/x[-length(x)] - 1
Michael
On Mon, Oct 24, 2011 at 11:44 AM, tynashy
how do I code the following in R. I want to produce a vector where dx=log(
(d(x))/(d(x-1)) ). I can do it for dx=diff(log(x)). I am learning/trying to
model log returns of a stock market index. But instead of using the
difference of the closing values of two consecutive days, i want to use the
log
problem.
Bill Venables.
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Karen R. Khar
Sent: Monday, 27 June 2011 5:44 PM
To: r-help@r-project.org
Subject: [R] New to R, trying to use agnes, but can't load my ditance matrix
H
On Mon, Jun 27, 2011 at 3:43 AM, Karen R. Khar wrote:
> Hi,
>
> I'm mighty new to R. I'm using it on Windows. I'm trying to cluster using a
> distance matrix I created from the data on my own and called it D10.dist. I
> loaded the cluster package. Then tried the following command...
>
>> agnes("E:
I also tried...
D1 D2 D3 D4 D5 D6 D7 D8 D9
D2 0.608392
D3 0.4974510.537662
D4 0.6345480.3933430.537426
D5 0.5587850.5433990.6322210.726633
D6 0.6594830.7017780.7414
Hi,
I'm mighty new to R. I'm using it on Windows. I'm trying to cluster using a
distance matrix I created from the data on my own and called it D10.dist. I
loaded the cluster package. Then tried the following command...
> agnes("E:D10.dist", diss = TRUE, metric = "euclidean", stand = FALSE,
> met
I have taught myself R over the last few months and I learned quite a bit
from reading the PDFs that accompany each package, articles on the R Journal
(http://journal.r-project.org/) that cover similar problems to mine, and by
asking specific questions about code to this list. I also search online
On Jun 23, 2011, at 4:42 PM, elisheva corn wrote:
> hi all-
>
> I am doing some research, have never used R before until today and need to
> understand the following program for a project.
> if some one could PLEASE help me understand this program ASAP i would
> GREATLY appreciate it (any syntax
hi all-
I am doing some research, have never used R before until today and need to
understand the following program for a project.
if some one could PLEASE help me understand this program ASAP i would
GREATLY appreciate it (any syntax/ statistic comments would be great)
PLEASE PLEASE HELP!! THAN
between the number of file that were named and the number that actually have
any usable text in them if you have blank files.
Peace,
Andrew Cassidy
--
View this message in context:
http://r.789695.n4.nabble.com/R-new-to-R-don-t-understand-errors-tp809147p3308111.html
Sent from the R help mailing
Hi:
Try this:
library(sos) # install from CRAN if you don't have it
findFn('imputation')
I got 285 hits. That should be enough to get you started.
Here's a recent paper about how to use sos from the R Journal (Dec. 2009):
http://journal.r-project.org/archive/2009-2/RJournal_2009-2_Graves~et
I'm relatively new to R, and not particularly adept yet, but I was wondering
if there was a simply way to simulate missing data that are MAR, MNAR and
MCAR. I've got a good work-around for the MCAR data, but it's sort of hard
to work with.
Josh
[[alternative HTML version deleted]]
__
Hi:
I'll use some fake data to show you how to get the plots. To get the data
from Excel into
R, there are several ways to do it: converting the Excel file into csv and
using read.csv() in
R is one method and the XLSReadWrite package is another. Here's a link from
the R Wiki:
http://rwiki.sciviews
Hi,
I'd like to move from excel to R because our dataset are so large. Here's
what my data looks like:
Transaction Rate Run# Transaction TypeLocationLatency in
Seconds
101 Order
A0
Hi, Ivan:
p.s. If you'd like to generate reports using LaTeX, I suggest you
also try "(LaTeX <- ???LaTeX)".
###
Are you trying to read standard text or csv files? If yes, then try
"?read.table" at a command prompt.
Or are you trying to connect directly from R
Hi, Ivan:
Are you trying to read standard text or csv files? If yes, then try
"?read.table" at a command prompt.
Or are you trying to connect directly from R to a database system?
If yes, which database system? This can be done from R, but as far as I
know, finding the functions an
Hi!
You should first go to the home page of the R project and read the
manuals available there (and there are a lot).
When you'll understand how R works, read the posting guide and ask
specific questions.
I don't think you'll get answers if you have such imprecise questions.
Ivan
Le 2/22/2010
chinna wrote:
hi everyone,
i am new to R project can anyone please help me by providing documents
my goal is using R i have to connect to the database and i have to generate
reports.
Thanks in advance
chinna.
R is a complex program. If you can't work out how to find the documentation, I
hi everyone,
i am new to R project can anyone please help me by providing documents
my goal is using R i have to connect to the database and i have to generate
reports.
Thanks in advance
chinna.
--
View this message in context:
http://n4.nabble.com/new-to-R-Project-tp1564104p1564104.html
S
boun...@r-
>> project.org] On Behalf Of Joe Hughes
>> Sent: Monday, February 02, 2009 1:09 PM
>> To: R help
>> Subject: Re: [R] New to R
>>
>> All,
>>
>> Thanks for taking the time to reply. I understand a bit more
>> about R
f Joe Hughes
> Sent: Monday, February 02, 2009 1:09 PM
> To: R help
> Subject: Re: [R] New to R
>
> All,
>
> Thanks for taking the time to reply. I understand a bit more
> about R
> and the R way then I did
All,
Thanks for taking the time to reply. I understand a bit more about R
and the R way then I did before.The final function looks like this:
##
#
# Input:
# die_size - 4, 6, 8, 10, 20
# number_of_dice - How
Joe Hughes wrote:
>
> #
> function(die_size, number_of_dice, number_of_rolls)
> {
you may want to replace
> rolls <- array(0, dim=c(number_of_rolls, number_of_dice))
>
> for (i in 1:number_of_rolls)
> {
> rolls[i,] <- sample(die_size, number_of_dice, replace=TRUE)
> }
Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Joe Hughes
> Sent: Monday, February 02, 2009 10:40 AM
> To: R-help@r-project.org
> Subject: [R] New to R
>
> Hello All,
>
> A colleague of mine started working w
Yes, it should be TRUE.
On Mon, Feb 2, 2009 at 1:16 PM, Joe Hughes wrote:
> Gabor,
>
>Shouldn't the replace be TRUE instead of FALSE? I get this error
>
> Error in sample(6, 28, replace = FALSE) :
> cannot take a sample larger than the population when 'replace = FALSE'
>
> when I use FA
Gabor,
Shouldn't the replace be TRUE instead of FALSE? I get this error
Error in sample(6, 28, replace = FALSE) :
cannot take a sample larger than the population when 'replace =
FALSE'
when I use FALSE. I don't get the error when it is TRUE. Examining
my mental model of what i
Try this:
matrix(sample(dsize, nrolls * ndice, replace = FALSE), nrolls, ndice)
On Mon, Feb 2, 2009 at 12:39 PM, Joe Hughes wrote:
> Hello All,
>
>A colleague of mine started working with R and out of curiosity I did
> some research on the language. Very nice. In my opinion this is one
Hello All,
A colleague of mine started working with R and out of curiosity I did
some research on the language. Very nice. In my opinion this is one
of the best languages I've found for getting tasks I'm interested in
done. I wrote this simple die roller and was curious to know if it is
On 06/11/2008 11:18 AM, BKMooney wrote:
I am new to R and am running into trouble with the function plot.
When I enter in the simple code:
x<-1:4
y<-5:8
plot(x,y)
I get a scatter plot with 4 points as expected.
However, with my own data, A and B are both vectors of length ~85, each
entry
Hello -
In you example, what are the classes of x and y?
x<-1:4
y<-5:8
plot(x,y)
class(x)
class(y)
In your 'real' data, what are the classes of A and B
class(A)
class(B)
One may be a factor?
How are you reading your data into R, read.table? Make sure your data
are numeric, then plot th
You need to provide more information. PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Show at least an 'str' of your data if you can not include it and the
commands that you were using.
On Thu, Nov 6,
I am new to R and am running into trouble with the function plot.
When I enter in the simple code:
x<-1:4
y<-5:8
plot(x,y)
I get a scatter plot with 4 points as expected.
However, with my own data, A and B are both vectors of length ~85, each
entry a decimal in [0,1].
Using the same plo
On 9/6/08, sudeshna <[EMAIL PROTECTED]> wrote:
>
> hi im starting with R.have no idea to start...plz help
> --
http://www.math.ilstu.edu/dhkim/Rstuff/Rtutor.html
http://www.statmethods.net/index.html
http://rforsasandspssusers.com/
Rcmdr
rattle
http://www.sciviews.org/_rgui/
http://zoonek2.
sudeshna wrote:
hi im starting with R.have no idea to start...plz help
Hi sudeshna,
There are several beginner's guides on the CRAN website. Go to:
http://cran.r-project.org
and select "Contributed" (second last option on the left).
Jim
__
R
On Sat, Sep 6, 2008 at 5:10 AM, sudeshna <[EMAIL PROTECTED]> wrote:
>
> hi im starting with R.have no idea to start...plz help
Search the Internet for online tutorials and/or read an introductory
book (search for them, e.g., on Amazon.Com).
Good luck,
Paul
__
hi im starting with R.have no idea to start...plz help
--
View this message in context:
http://www.nabble.com/new-to-R-tp19342903p19342903.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://s
e obselete (just
kidding).
Sorry if I am wrong here about what you need.
Welcome . Paul
- Original Message -
From: "Richard Palmer" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 14, 2008 10:40 PM
Subject: [R] New to R. Question about very large files
.. I am n
Richard Palmer gmail.com> writes:
>
> .. I am new to R but experienced in SAS. SAS has the capability to let me
> develop a model from a sample and use the results to score the records of
> another file which won't fit in memory. Is this straightforward in R or
> does it require coding to do t
.. I am new to R but experienced in SAS. SAS has the capability to let me
develop a model from a sample and use the results to score the records of
another file which won't fit in memory. Is this straightforward in R or
does it require coding to do the scoring in segments? Can someone point me
t
77 matches
Mail list logo