[R] Questions about ks.test function {stats}

2024-04-08 Thread Jin, Ziyan
Dear R-help, Hope this email finds you well. My name is Ziyan. I am a graduate student in Zhejiang University. My subject research involves ks.test in stats-package {stats}. Based on the code, I have two main questions. Could you provide me some more information? I download different versions

Re: [R] Questions about R

2023-08-17 Thread Ebert,Timothy Aaron
: Re: [R] Questions about R [External Email] This is a volunteer Help list for users of R, which is open source, so you can see all its code. I can answer no to your questions, unless you are using one of R's innumerable packages that interacts with the internet and to which the user may

Re: [R] Questions about R

2023-08-17 Thread Spencer Graves
Hi, Shaun: I suggest you also check the Wikipedia article on "R (programming language)": https://en.wikipedia.org/wiki/R_(programming_language) That article has 115 numbered "References" that provide more information. You don't have to believe anything you read anywhere. However y

Re: [R] Questions about R

2023-08-17 Thread Rui Barradas
Às 12:10 de 17/08/2023, Shaun Parr escreveu: Sent from Outlook for Android Hi there, My name is Shaun and I work in an organisation where one of our users wishes to install the R software and our process is to assess the safety of anyone software prior to authorisat

Re: [R] Questions about R

2023-08-17 Thread Bert Gunter
Incidentally, you might be interested in the banner shown when R starts up: "R is free software and comes with ABSOLUTELY NO WARRANTY." I believe this is standard for open source software (upon which a lot of organizations depend). In any case, that might be the most definitive and "official" ans

Re: [R] Questions about R

2023-08-17 Thread Bert Gunter
This is a volunteer Help list for users of R, which is open source, so you can see all its code. I can answer no to your questions, unless you are using one of R's innumerable packages that interacts with the internet and to which the user may give personal information to enable the desired functio

Re: [R] Questions about R

2023-08-17 Thread Jeff Newmiller
1. R is open source software. You are welcome to review the source code of the R interpreter for handling of PII. No warranty is offered by the (volunteer) developers of R. 2. R software is a programming interpreter, which by definition allows for a wide range of behaviours. Users of R frequen

[R] Questions about R

2023-08-17 Thread Shaun Parr
Sent from Outlook for Android Hi there, My name is Shaun and I work in an organisation where one of our users wishes to install the R software and our process is to assess the safety of anyone software prior to authorisation. I can’t seem to locate all the information

Re: [R] Questions for Licensing

2018-08-03 Thread Marc Schwartz via R-help
Hi, As was mentioned in another reply, you will not get formal legal advice here, as none of us are intellectual property (IP) lawyers, and there can even be country specific issues when it comes to such things, based upon local laws and legal precedents that may be relevant. That being said,

Re: [R] Questions for Licensing

2018-08-03 Thread S Ellison
> I am very new to GNU GPL License and I have no idea how using GPL licensed > software can affect the software that my company has developed. Short answer: in that situation, consult a qualified legal expert under contract to give you advice. Nothing less will be of any use in defending your bu

[R] Questions for Licensing

2018-08-03 Thread 이태희
To whom it may concern, I am very new to GNU GPL License and I have no idea how using GPL licensed software can affect the software that my company has developed. My company develops and distributes S/W to clients. Our product is a proprietary software under EULA license. When we sell our produ

Re: [R] questions on subscores.

2018-05-15 Thread peter dalgaard
> On 15 May 2018, at 07:54 , Ulrik Stervbo wrote: > > I have no idea, but Google pointed me to this > https://cran.r-project.org/web/packages/subscore/index.html She seems to be aware of that package, but I don't see how she infers that it does not do what she want. For that, you need to kno

Re: [R] questions on subscores.

2018-05-14 Thread Ulrik Stervbo
I have no idea, but Google pointed me to this https://cran.r-project.org/web/packages/subscore/index.html Hth Ulrik "Hyunju Kim" schrieb am Di., 15. Mai 2018, 07:21: > > > > Hello, > > > > I want to compute Wainer et al's augmented subscore(2001) using IRT but I > can't find any packages or re

[R] questions on subscores.

2018-05-14 Thread Hyunju Kim
Hello, I want to compute Wainer et al's augmented subscore(2001) using IRT but I can't find any packages or relevant code. There is a 'subscore' package in R, but I think it only gives functions to calculate augmented subscores using CTT(classical test theory). Is there other package or

Re: [R] couple of how-to-do it in R questions regarding corelations and mean and SD of likert items

2018-03-06 Thread Jim Lemon
Hi Faiz, Just to add to the confusion: library(prettyR) describe(iris) You can specify which summary measures you want in the "num.desc" argument. Jim On Tue, Mar 6, 2018 at 11:03 PM, faiz rasool wrote: > Dear list, I have the following how-to-do it in R, questions. > >

Re: [R] couple of how-to-do it in R questions regarding corelations and mean and SD of likert items

2018-03-06 Thread Richard M. Heiberger
works smoothly. On Tue, Mar 6, 2018 at 7:03 AM, faiz rasool wrote: > Dear list, I have the following how-to-do it in R, questions. > > Suppose I have ten independent variables, and one dependent variable. > I want to find the Pearson correlation of all the IVs with the DV, but > no

Re: [R] couple of how-to-do it in R questions regarding corelations and mean and SD of likert items

2018-03-06 Thread Rui Barradas
se you have a matrix (or data.frame) dat <- cbind(dv, iv) apply(dat[, -1], 2, cor, dat[, 1]) Hope this helps, Rui Barradas On 3/6/2018 12:03 PM, faiz rasool wrote: Dear list, I have the following how-to-do it in R, questions. Suppose I have ten independent variables, and one dependent va

Re: [R] couple of how-to-do it in R questions regarding corelations and mean and SD of likert items

2018-03-06 Thread David L Carlson
elp [mailto:r-help-boun...@r-project.org] On Behalf Of PIKAL Petr Sent: Tuesday, March 6, 2018 7:10 AM To: faiz rasool ; r-help@r-project.org Subject: Re: [R] couple of how-to-do it in R questions regarding corelations and mean and SD of likert items Hi For first question, maybe I am completely w

Re: [R] couple of how-to-do it in R questions regarding corelations and mean and SD of likert items

2018-03-06 Thread PIKAL Petr
3587962.974 0.3224966 Cheers Petr > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of faiz rasool > Sent: Tuesday, March 6, 2018 1:04 PM > To: r-help@r-project.org > Subject: [R] couple of how-to-do it in R questions rega

[R] couple of how-to-do it in R questions regarding corelations and mean and SD of likert items

2018-03-06 Thread faiz rasool
Dear list, I have the following how-to-do it in R, questions. Suppose I have ten independent variables, and one dependent variable. I want to find the Pearson correlation of all the IVs with the DV, but not the correlation between the IVs. What I know so far, about R, that I have to type the cor

Re: [R] questions about performing Robust multiple regression using bootstrap

2018-02-26 Thread Fox, John
rasool > Sent: Monday, February 26, 2018 6:30 AM > To: R-help@r-project.org > Subject: [R] questions about performing Robust multiple regression using > bootstrap > > Dear list, > > I am slightly confused about how I can do the following in R. > > I want to perform

Re: [R] questions about performing Robust multiple regression using bootstrap

2018-02-26 Thread Bert Gunter
Although this is superficially a question about R code, it heavily depends on exactly what you mean by "robust" and "robust tests," which are statistical issues, not R coding issues. As such, it is off topic here. So I would suggest that you post on a statistical site like stats.stackexchange.com i

[R] questions about performing Robust multiple regression using bootstrap

2018-02-26 Thread faiz rasool
Dear list, I am slightly confused about how I can do the following in R. I want to perform robust multiple regression. I’ve used the Boot function in CAR package to find confidence intervals and standard errors. Inadition to these, I want to find the robust estimates for the F test and r-s

[R] questions regarding the svmpath package (functions svmpath and predict)

2018-02-19 Thread Francois BERENGER
Hello, I have two questions. The svmpath package provides a svmpath function: --- fit <- svmpath(xtrain, ytrain, kernel.function = radial.kernel, param.kernel = 0.8) --- 1) How to get the optimal lambda value out of this result? The svmpath package also provides a predict function: --- ytest <-

Re: [R] Questions regarding to JohnSonFit() in the R package Johnson {SuppDists}

2017-06-30 Thread William Dunlap via R-help
This happens for some inputs, e.g., > JohnsonFit(c(2,3,4,5,6,7,8,30,50,300)) Error in JohnsonFit(c(2, 3, 4, 5, 6, 7, 8, 30, 50, 300)) : Unbounded solution intermediate values out of range The usual recommendation is to contact the maintainer of the package but that isn't possible in this c

[R] Questions regarding to JohnSonFit() in the R package Johnson {SuppDists}

2017-06-30 Thread Shiner Yang
Hello, I was trying to fit a Johnson curve by first figuring out the parameter estimates using JohosnFit of a vector by a group ID using the aggregate function. I.E. aggregate(x, by = list(ID), JohnsonFit) where x is the variable I am trying to perform JohnsonFit on. It is a continuous random va

Re: [R] questions about co-linearity in logistic regression from Stefano Sofia

2016-08-02 Thread Greg Snow
Stefano, It is usually best to keep these discussions on R-help. People there may be quicker to respond and could have better answers. Keeping the discussion on the list also means that if others in the future find your question, they will also find the answers and discussion. And some of us can

[R] Questions about permutation tests and error when using clusterCall (snow package)

2015-05-12 Thread Adam Zeilinger
Hello R help, I am trying to run a permutation (or randomization) test on a mixed effects model. The randomization is somewhat complex because I want to maintain the nested and unbalanced structure of the data. I am trying two different methods. The first is the PermTest() function in the

[R] Questions in R about optim( ) and optimize( )

2014-05-22 Thread Prof J C Nash (U30A)
7;t good enough. JN > Date: Wed, 21 May 2014 20:37:10 + > From: "Gao, Vicky" > To: "'r-help@r-project.org'" > Subject: [R] Questions in R about optim( ) and optimize( ) > Message-ID: > > Content-Type: text/plain > > Hello,

[R] Questions in R about optim( ) and optimize( )

2014-05-21 Thread Gao, Vicky
Hello, I would be really thankful if I could bother you with two questions. 1. I ran into some problems when I used the code "optim()" in my work. I used it to optimize a function-fn(x,y), where x is a two-dimensional parameter. For y I want to pass the value later when I use optim(), because

[R] Questions regarding cvAUC package (cross validation AUC)

2014-04-22 Thread Elena Lopez
Hello, Can anybody help me to estimate the AUC using a cross validation test ?? I have downloaded the cvAUC package and looked at the ci.cvAUC example but it doesn't work with my data. - Where in the example says "data" and "y", do I have to write the name of my own data file and the name of my re

Re: [R] Questions about R

2013-11-06 Thread Marc Schwartz
On Nov 6, 2013, at 11:09 AM, Silvia Espinoza wrote: > Good morning. I am interested in downloading R. I would appreciate if you > can help me with the following questions, please. > > 1. Is R free, or I have to pay for support/maintenance, or it depends > on the version? Is there a paid v

Re: [R] Questions about R

2013-11-06 Thread Barry Rowlingson
On Wed, Nov 6, 2013 at 5:44 PM, Ye Lin wrote: > You can get details at http://www.r-project.org/ > > But to answer your question: Yes it is free But there is also a paid version. Send me $1000 and I will send you R on a USB stick, complete with all the source code. Seriously, other companies d

Re: [R] Questions about R

2013-11-06 Thread Ye Lin
You can get details at http://www.r-project.org/ But to answer your question: Yes it is free On Wed, Nov 6, 2013 at 9:09 AM, Silvia Espinoza wrote: > Good morning. I am interested in downloading R. I would appreciate if you > can help me with the following questions, please. > > 1. Is R

[R] Questions about R

2013-11-06 Thread Silvia Espinoza
Good morning. I am interested in downloading R. I would appreciate if you can help me with the following questions, please. 1. Is R free, or I have to pay for support/maintenance, or it depends on the version? Is there a paid version? 2. How safe is it to work with data using R? Is t

Re: [R] Questions of non-conformable arrays

2013-09-07 Thread arun
Hi,  sini<- sin(i)  is.vector(sini) #[1] TRUE lni<- log(i)  is.vector(lni) #[1] TRUE x<-cbind(int=1,sini,lni)  is.matrix(x) #[1] TRUE t(x)*x #Error in t(x) * x : non-conformable arrays   t(x)%*%x #    int   sini lni #int  20.000  0.9982219  42.3356165 #sini  0.9982219 10.29

[R] Questions about 'bigmemory'

2013-09-02 Thread Zhenfei Yuan
Dear R users, I'm now dealing with some big data set as big as 10GB, and my RAM got 16GB. Every time I run some models to this dataset using R, I have to first load it into RAM via read.csv, which spends lots time. I find the bigmemory package in the high performance task view of R, and tried thi

Re: [R] Questions before installation

2013-08-28 Thread Tyagi, Shalabh
: [R] Questions before installation On 26.08.2013 12:05, Tyagi, Shalabh wrote: > Hi, > > > > As we are in thinking of installing and using R as a data analysis > software on our machines, we have few questions before going ahead with > the installation. Please find below the

Re: [R] Questions before installation

2013-08-27 Thread Uwe Ligges
On 26.08.2013 12:05, Tyagi, Shalabh wrote: Hi, As we are in thinking of installing and using R as a data analysis software on our machines, we have few questions before going ahead with the installation. Please find below the questions: 1) Does R allow data to be sent out or processed out

[R] Questions before installation

2013-08-26 Thread Tyagi, Shalabh
Hi, As we are in thinking of installing and using R as a data analysis software on our machines, we have few questions before going ahead with the installation. Please find below the questions: 1) Does R allow data to be sent out or processed out of the organization network (e.g. ability to

[R] Questions regarding use of predict() with glmpath

2013-05-02 Thread Stijn de Vos
I'm trying to do LASSO in R with the package glmpath. However, I'm not sure if I am using the accompanying prediction function *predict.glmpath()* correctly. Suppose I fit some regularized binomial regression model like so: library(glmpath);load(heart.data);attach(heart.data); fit <- glmpath(x,

[R] Questions about out-of-sample forecast using random walk

2013-04-26 Thread Wandi Zhou
Hi there, I'm a bit confused about which command should I use when performing an out-of-sample forecast using random walk. I have som time sereis data from 1957Q1 to 2011Q4, I want to use a fraction of data from 1960Q1 to 1984Q4 to forecast data from 1985Q1 onwards using random walk model and

Re: [R] Questions on function "readNamedRegionFromFile" in XLConnect pacakge

2013-04-23 Thread andrija djurovic
Here is the concrete example: > # multiregion xlsx file from demoFiles subfolder of package XLConnect > demoExcelFile <- system.file("demoFiles/multiregion.xlsx", + package = "XLConnect") > > # Load a single named region into a single data.frame. > DF1 <- readNamedRegi

Re: [R] Questions on function "readNamedRegionFromFile" in XLConnect pacakge

2013-04-23 Thread andrija djurovic
Hi Miao. 1. "Calendar", "Iris", "IQ" are the named region in excel file multiregion.xlsx (demoFiles/multiregion.xlsx). Open this file (demoFiles/multiregion.xlsx), go to Formulas tab and click Name manager to see reference regions. 2. Check following functions: ?readWorksheet #arguments startC

[R] Questions on function "readNamedRegionFromFile" in XLConnect pacakge

2013-04-22 Thread jpm miao
Hi, I have two questions on the function "readNamedRegionFromFile" in XLConnect pacakge. 1. In the documentation, # multiregion xlsx file from demoFiles subfolder of package XLConnect demoExcelFile <- system.file("demoFiles/multiregion.xlsx", package = "XLConn

Re: [R] Questions on implementing logistic regression

2013-03-05 Thread Bert Gunter
Perhaps I should have added and FWIW, R, like essentially all statistical software, has "logistic regression" already built in, if I understand what you mean by the term (which I may not), via glm's. -- Bert On Tue, Mar 5, 2013 at 1:36 PM, Ivan Li wrote: > Hi there, > > I am trying to write a to

Re: [R] Questions on implementing logistic regression

2013-03-05 Thread Bert Gunter
I may be missing something, but what does this have to do specifically with R? I believe this is OT here and you need to post elsewhere, e.g. perhaps on stats.stackexchange.com. -- Bert On Tue, Mar 5, 2013 at 1:36 PM, Ivan Li wrote: > Hi there, > > I am trying to write a tool which involves impl

[R] Questions on implementing logistic regression

2013-03-05 Thread Ivan Li
Hi there, I am trying to write a tool which involves implementing logistic regression. With the batch gradient descent method, the convergence is guaranteed as it is a convex problem. However, I find that with the stochastic gradient decent method, it typically converges to some random points (i.e

Re: [R] questions hash functions

2013-02-17 Thread Jeff Newmiller
I cannot imagine why you think this is the appropriate place to pose such a question. It certainly has nothing to do with R (which would be appropriate), and it does look like homework (which is identified as NOT appropriate in the Posting Guide for this mailing list). --

[R] questions hash functions

2013-02-17 Thread Tania Patiño
Hello R, could you explain to me how to resolve this question: If this is a matrix: Element S1 S2 S3 S4 001 01 101 00 210 01 300 10 400 11 510 00 1. How is possib

[R] Questions about caret - Best place to ask?

2013-02-09 Thread James Jong
Hi there. I am relatively new to R and to the community. I have previously asked my R questions at R-help (through Nabble, not sure if there is a better way other than Nabble or regular email), and StackOverflow with the [R] tag. I have some questions that are somewhat specific about the

[R] Questions about the glht function for planned comparison

2013-01-10 Thread Wendy Qiao
Hi all, I've posted this question before, but did not get any reply. I post it again here and see if anybody can help. Thank you. I have a nested model with the following effects fixed: treatments random: experiment_date I used lme() to model the data mod1 <- lme(N_cells ~treatments-1, r

Re: [R] questions on French characters in plot

2012-12-12 Thread Milan Bouchet-Valat
Le mardi 11 décembre 2012 à 23:39 +0100, Richard Zijdeman a écrit : > Dear Milan, please see my results inline > > On 11 Dec 2012, at 16:58, Milan Bouchet-Valat wrote: > > > Le mardi 11 décembre 2012 à 16:41 +0100, Richard Zijdeman a écrit : > >> Dear Milan, > >> > >> thank you for kind suggest

Re: [R] questions on French characters in plot

2012-12-11 Thread Duncan Murdoch
On 12-12-10 7:10 PM, Richard Zijdeman wrote: Dear all, I have imported a dataset from Stata using the foreign package. The original data contain French characters such as è and ç . After importing, string variables containing names of French departments have changed. E.g. Ardèche became Ard\x8

Re: [R] questions on French characters in plot

2012-12-11 Thread Richard Zijdeman
Dear Milan, please see my results inline On 11 Dec 2012, at 16:58, Milan Bouchet-Valat wrote: > Le mardi 11 décembre 2012 à 16:41 +0100, Richard Zijdeman a écrit : >> Dear Milan, >> >> thank you for kind suggestion. Converting the characters using: >>> iconv(department, "ISO-8859-15", "UTF-8")

Re: [R] questions on French characters in plot

2012-12-11 Thread Milan Bouchet-Valat
Le mardi 11 décembre 2012 à 16:41 +0100, Richard Zijdeman a écrit : > Dear Milan, > > thank you for kind suggestion. Converting the characters using: > > iconv(department, "ISO-8859-15", "UTF-8") > indeed improves the situation in that now all values (names of > departments) are displayed in the p

Re: [R] questions on French characters in plot

2012-12-11 Thread Richard Zijdeman
Dear Milan, thank you for kind suggestion. Converting the characters using: > iconv(department, "ISO-8859-15", "UTF-8") indeed improves the situation in that now all values (names of departments) are displayed in the plot, although the specific special characters are unfortunately appearing as e

Re: [R] questions on French characters in plot

2012-12-11 Thread Milan Bouchet-Valat
Le mardi 11 décembre 2012 à 01:10 +0100, Richard Zijdeman a écrit : > Dear all, > > I have imported a dataset from Stata using the foreign package. The > original data contain French characters such as and . > After importing, string variables containing names of French > departments have change

[R] questions on French characters in plot

2012-12-10 Thread Richard Zijdeman
Dear all, I have imported a dataset from Stata using the foreign package. The original data contain French characters such as è and ç . After importing, string variables containing names of French departments have changed. E.g. Ardèche became Ard\x8fche. I would like to ask how I could plot the

[R] Questions about the functions ar.ols and auto.arima when fitting an AR model

2012-09-27 Thread jpm miao
Hi, I am trying to fit an AR model, maximum order =4, order selection criterion is aic. I wonder why these two give different results: m1<-ar.ols(x, aic=TRUE, method="ols", order.max=4) m1<-auto.arima(x,d=0, D=0, max.p=4, max.P=0, max.q=0, max.Q=0, ic="aic") Could they both use the f

[R] Questions regarding MCRestimate package

2012-08-01 Thread stellas
Hello, I'm currently using MCRestimate package and I have a question regarding the MCRestimate function. Here is my code: NestedCV.rf<-MCRestimate(eset, "Class", classificatin.fun="RF.wrap", variableSel.fun="varSel.highest.var", poss.parameters= list(var.numbers=c(100), mtry=c(10,50), cross.oute

Re: [R] Questions about doing analysis based on time

2012-07-12 Thread APOCooter
Another new question: I want to be able to subset the data based on whether or not that data point was recorded on a holiday. The is.holiday() function from the chron package would be perfect for this. However, when I try it, the following happens (I'm also using the timeDate package): > holida

Re: [R] Questions about doing analysis based on time

2012-07-11 Thread Rui Barradas
Hello, If I understanding it, what you want are the values below. half.hours <- function(x){ s <- strsplit(as.character(x), ":") H <- as.integer(sapply(s, `[`, 1)) M <- as.integer(sapply(s, `[`, 2)) h <- (H*60 + M)/60 floor(h/0.5)*0.5 } half.hours(dat$Sun

Re: [R] Questions about doing analysis based on time

2012-07-11 Thread APOCooter
Hmm, I guess that's not exactly what I needed. It's my fault; you gave me what I asked for, I was just asking for the wrong thing. What I'm hoping to do is something similar to: aggregate(dat$SunScore, by=list(h), median) except I'd like to do it by half hour instead of hour. I guess what I ne

Re: [R] Questions about doing analysis based on time

2012-07-10 Thread Rui Barradas
Hello, You can use cut.POSIXt from package base. cut(dat$SunDate, breaks="30 mins") Hope this helps, Rui Barradas Em 10-07-2012 13:43, APOCooter escreveu: Thanks to everyone for their help so far. It's been greatly appreciated. I have a new, but similar problem: I have data that I have b

Re: [R] Questions about doing analysis based on time

2012-07-10 Thread APOCooter
Thanks to everyone for their help so far. It's been greatly appreciated. I have a new, but similar problem: I have data that I have broken down by hour (median/mean for each hour). I would like to break it down further, by each half hour (0:00-0:29, 0:30-0:59, 1:00-1:29, 1:30-1:59, etc). I tho

[R] Questions about glht() and interpretation of output from Tukey's in multcomp

2012-07-07 Thread Adam Coble
Hi, I have a few questions about glht() and the interpretation of output from Tukey's in multcomp package for lme() model. The main issue is that I noticed that a plot that I produced with code letters seem to contradict the graph itself. I provide data and code below. I end with my questions.

Re: [R] Questions about doing analysis based on time

2012-06-28 Thread Rui Barradas
Hello, The only explanation I'm seeing is you are computing the SunScore averages using different datasets. With the dataset oyu've dput-ed I get your hand results. aggregate(SunScore ~ h, data=dat, mean) h SunScore 1 0 131.0167 2 1 107.7436 # Another way of doing the same sapply(split(dat

Re: [R] Questions about doing analysis based on time

2012-06-28 Thread APOCooter
That is very helpful, and exactly what I was looking for! However, I seem to have some problems. When I ran the following line: aggregate(SunScore ~ h, data=dat, mean) I got the following output: h SunScore 1 0 136.01389 2 1 135.27632 3 2 127.03704 4 3 127.17105 5 4 129.94545 6

Re: [R] Questions about doing analysis based on time

2012-06-25 Thread Rui Barradas
Hello, The following worked with the supplied dataset, named 'Sunday'. dat <- Sunday dat$SunDate <- as.POSIXct(Sunday$SunDate, format="%m/%d/%Y %H:%M") dat <- na.exclude(dat) h <- hours(dat$SunDate) # 1. Two different displays aggregate(dat$SunScore, by=list(h), mean) aggregate(SunScore ~ h, da

Re: [R] Questions about doing analysis based on time

2012-06-25 Thread APOCooter
Oh, whoops. When I responded the first time, I had done dput(head(Sunday, 100)) too, but it didn't look useful. It was only just now that I saw that it basically prints out the vectors. Sorry about that. Anyways, here's dput(head(Sunday, 100)): > dput(head(Sunday, 100)) structure(list(SunDate

Re: [R] Questions about doing analysis based on time

2012-06-25 Thread R. Michael Weylandt
On Fri, Jun 22, 2012 at 3:45 PM, APOCooter wrote: > > [snip and rearrange] > >> try to put your data in a proper time series class (zoo/xts if I >>might give a personal-ish plug) which will make all these calculations >>much easier. > > I thought that's what I was doing with as.POSIXlt? as.POSIXl

Re: [R] Questions about doing analysis based on time

2012-06-25 Thread John Kane
Arrgh yes I did mean dput(head(mydata, 100)). Thanks for catching it. John Kane Kingston ON Canada > -Original Message- > From: michael.weyla...@gmail.com > Sent: Fri, 22 Jun 2012 14:25:30 -0500 > To: jrkrid...@inbox.com > Subject: Re: [R] Questions about doing analysi

Re: [R] Questions about doing analysis based on time

2012-06-22 Thread APOCooter
Here is a part of the data for the first two questions: > head(Sunday,100) SunDate SunTime SunScore 1 5/9/2010 0:000:00 127 26/12/2011 0:000:00 125 36/15/2008 0:040:04 98 4 8/3/2008 0:070:07 118 57/24/2011 0:070:07 122 6

Re: [R] Questions about doing analysis based on time

2012-06-22 Thread R. Michael Weylandt
ocess as a reply to the > list and we will have decent data to work with. > > John Kane > Kingston ON Canada > > >> -Original Message- >> From: mikeedinge...@gmail.com >> Sent: Fri, 22 Jun 2012 09:21:40 -0700 (PDT) >> To: r-help@r-project.org >

Re: [R] Questions about doing analysis based on time

2012-06-22 Thread John Kane
--Original Message- > From: mikeedinge...@gmail.com > Sent: Fri, 22 Jun 2012 09:21:40 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] Questions about doing analysis based on time > > > I have a spreadsheet that I've read into R using read.csv. I've also > att

[R] Questions about doing analysis based on time

2012-06-22 Thread APOCooter
Man, R has a steep learning curve (but I suppose you all know this). I have very little programming knowledge, so when I search for answers to my questions, I struggle with making sense of a lot of the pages. I have a spreadsheet that I've read into R using read.csv. I've also attached it. It l

Re: [R] Questions

2012-05-01 Thread peter dalgaard
On May 1, 2012, at 06:47 , Jeff Newmiller wrote: > This is not the RStudio support forum. I use it, I like it, but you need to > learn the difference between R and RStudio. > > In this case, the fact that you are using RStudio is probably irrelevant. > What is more relevant is that you are not

Re: [R] Questions

2012-04-30 Thread Jeff Newmiller
This is not the RStudio support forum. I use it, I like it, but you need to learn the difference between R and RStudio. In this case, the fact that you are using RStudio is probably irrelevant. What is more relevant is that you are not on windows, though I can't be sure what OS you actually are

[R] Questions

2012-04-30 Thread haugb002
Hello, I am having difficulty putting a frequency table on my clipboard in R studio. I do not know what the error message is. I was thinking it might have to do with changing a setting on my clipboard but I do not know how to do this. I will copy and paste the exact command and error message:

Re: [R] Questions on user defined function

2012-03-29 Thread R. Michael Weylandt
1. It's your choice, but it's entirely possible to define multiple functions in the same file or inline. If you want to read from a file though, you have to do it with source(). 2. Yes. This is the idea behind the package system. In short, R is much nicer about functions than Matlab. Michael On

[R] Questions on user defined function

2012-03-29 Thread jpm miao
Hello, I am new to the construction of user defined functions in R. I do see the syntax of the function in many R reference but don't see the structures / paths issue. Two basic questions: 1. Should the function embedded in the main program? Could a function be a separate R file (like Matlab)?

Re: [R] Questions on plotting using zoo toolbox: (1) dual axes (2)legend

2012-03-22 Thread Gabor Grothendieck
On Thu, Mar 22, 2012 at 4:38 AM, jpm miao wrote: > Hi, > >   I have three time series and I would like to plot them on the same graph > such that two of them share left y-axis and the third uses right y-axis. > > rm(list=ls()) > library(zoo) > x1 <- read.csv(file="120322DBCdata.csv", header=TRUE)

[R] Questions on plotting using zoo toolbox: (1) dual axes (2)legend

2012-03-22 Thread jpm miao
Hi, I have three time series and I would like to plot them on the same graph such that two of them share left y-axis and the third uses right y-axis. rm(list=ls()) library(zoo) x1 <- read.csv(file="120322DBCdata.csv", header=TRUE) x1date<-as.yearqtr(1979)+seq(0,nrow(x1)-1)/4 x1zoo<-zoo(x1, x1d

Re: [R] Questions on Data reading using zoo package

2012-02-21 Thread Gabor Grothendieck
On Tue, Feb 21, 2012 at 2:25 AM, jpm miao wrote: > Hello, > >   I try to handle the data using read.csv , zoo and aggregate functions. > The data contains NA values. After aggregating monthly data into quarterly > data, all data become NA. Is it because I don't properly aggregate the data >  in th

[R] Questions on Data reading using zoo package

2012-02-20 Thread jpm miao
Hello, I try to handle the data using read.csv , zoo and aggregate functions. The data contains NA values. After aggregating monthly data into quarterly data, all data become NA. Is it because I don't properly aggregate the data in the presence of NAs? What can I do? Another problem is t

Re: [R] questions about scatterplotMatrix

2011-12-07 Thread John Fox
anada http://socserv.mcmaster.ca/jfox > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Wendy > Sent: December-06-11 10:46 PM > To: r-help@r-project.org > Subject: [R] questions about scatterplotMatrix > > Hi

[R] questions about scatterplotMatrix

2011-12-06 Thread Wendy
Hi all, I want to plot some data with scatterplotMatrix. I want to set all axis limits of all the sub figures the same, also add abline(0,1) to all the sub figures. Using the code following code, I can only add abline to the first off-diagonal figure, and I did not figure out how to set all the a

[R] Questions regarding R plots

2011-10-19 Thread karena
Hi Dear all, I am making some Venn Diagram plots in R. http://r.789695.n4.nabble.com/file/n3919144/venn.0.001.jpg This is one plot that I generated. What I want to do is to get rid of the black boarder line. Is there any way to do this? Thank you very much, Karena -- View this message in con

Re: [R] Questions on 'lme' function, urgent!

2011-09-15 Thread karena
Ok. Thank you. karena On Thu, Sep 15, 2011 at 5:33 PM, Bert Gunter [via R] < ml-node+s789695n3816961...@n4.nabble.com> wrote: > You should post this to the r-sig-mixed-models list, not here. > > -- Bert > > On Thu, Sep 15, 2011 at 1:42 PM, karena <[hidden > email]

Re: [R] Questions on 'lme' function, urgent!

2011-09-15 Thread Bert Gunter
You should post this to the r-sig-mixed-models list, not here. -- Bert On Thu, Sep 15, 2011 at 1:42 PM, karena wrote: > Hi Dear all, > > I have some gene expression data samples from different tissue types > --- > - 120 samples from blood (B) > - 20

[R] Questions on 'lme' function, urgent!

2011-09-15 Thread karena
Hi Dear all, I have some gene expression data samples from different tissue types --- - 120 samples from blood (B) - 20 samples from Liver (L) - 15 samples from Kidney (K) - 6 samples from heart (H) --- All the

Re: [R] questions about "metafor" package

2011-08-22 Thread Mike Cheung
Hi, Emilie. For your second question. You may check Gleser and Olkin (2009). They gave several formulas to estimate the sampling covariance for dependent effect sizes. One of them can be applied in your case. Gleser, L. J., & Olkin, I. (2009). Stochastically dependent effect sizes. In H. Cooper,

Re: [R] questions about "metafor" package

2011-08-20 Thread Michael Dewey
At 16:21 17/08/2011, Emilie MAILLARD wrote: Hello,  I would like to do a meta-analysis with the package « metafor ». Ideally I would like to use a mixed model because I’m interested to see the effect of some moderators. But the data set I managed to collect from literature presents two

Re: [R] questions about "metafor" package

2011-08-17 Thread Jeremy Miles
. > > - Firstly, for each observation, I have means for a treatment and for > a control, but I don’t always have corresponding standard deviations (52 of a > total of 93 observations don’t have standard deviations). Nevertheless I have > the sample sizes for all observations so I wonder

Re: [R] questions about "metafor" package

2011-08-17 Thread Viechtbauer Wolfgang (STAT)
Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Emilie MAILLARD > Sent: Wednesday, August 17, 2011 17:21 > To: r-help@r-project.org > Subject: [R] questions about "metafor" package > > Hello, > > I would like

[R] questions about "metafor" package

2011-08-17 Thread Emilie MAILLARD
Hello,   I would like to do a meta-analysis with the package « metafor ». Ideally I would like to use a mixed model because I’m interested to see the effect of some moderators. But the data set I managed to collect from literature presents two limits.   -         Firstly, for ea

[R] Questions about DCC-GARCH Model

2011-07-19 Thread zoe_zhang
Dear list members, I'm trying to use DCC-GARCH model to estimate the correlation. I have downloeaded ccgarch packeage but can't understand some argument in the formula. dcc.estimation(inia, iniA, iniB, ini.dcc, dvar, model, method="BFGS", gradient=1, message=1) which is on R.Help I understand oth

Re: [R] Questions about building R packages

2011-06-08 Thread steven mosher
here i wrote a step by step tutorial. http://stevemosher.wordpress.com/2011/06/09/making-simple-packages-in-r-on-windows/ On Wed, Jun 8, 2011 at 1:17 PM, Xia.Li wrote: > Hello R users, > > I have difficulties when trying to make R packages. I tried to read many > tutorials but still could not

Re: [R] Questions about building R packages

2011-06-08 Thread Duncan Murdoch
On 11-06-08 4:17 PM, Xia.Li wrote: Hello R users, I have difficulties when trying to make R packages. I tried to read many tutorials but still could not find out the right way. Could any one help me out please? (I'm using Windows xp.) Read the "Writing R Extensions" manual, not the many mislea

  1   2   3   >