[R] Some Questions

2024-08-25 Thread Creel, Darryl
Hello, I have a few questions about the following: An Introduction to R Notes of R: A Programming Environment for Data Analysis and Graphics Version 4.4.1 (2024-01-14) W. N. Venables, D. M. Smith, and the R Core Team R-intro.pdf (r-project.org)

[R] Some questions on R

2014-12-29 Thread Suzuki Kenta
To whom it may concern My name is Kenta Suzuki. Today I subscribed the R-help. I do not know about this R-help in detail but I send this e-mail since I have some trouble on programming R. When I type help() in general id dose not work properly. For instance, when I type, help("plot") in R, it sh

Re: [R] Some questions :How to use Friedman'Test in R

2014-04-15 Thread Uwe Ligges
On 15.04.2014 12:58, 韩红静 wrote: Dear R users: I'm trying to program the Friedman'test(),but I meet some problemes. I am reading the data below with s1=read.table("1express.txt",header=T) Then,I get the datas1B1AD1X1544766544667659886677646678777667977877

[R] Some questions :How to use Friedman'Test in R

2014-04-15 Thread 韩红静
Dear R users: I'm trying to program the Friedman'test(),but I meet some problemes. I am reading the data below with s1=read.table("1express.txt",header=T) Then,I get the datas1B1AD1X15447665446676598866776466787776679778777886868655786777888555777767

[R] some questions about ARIMA and FARIMA

2013-03-11 Thread cyl123
Hi, I have some quesions about about ARIMA and FARIMA: 1) Is there a funtion in a third party package to fit ARIMA model? 2)While using fracdiff function to fit FARIMA model, can I use AIC, BIC rule to select the best fit model. For example, to select the best model between nar=0 and nar=1

Re: [R] Some questions about chron package..

2012-11-27 Thread Jeff Newmiller
1. I am not aware of a difference, and don't know why the various forms were used. 2. That handles identifying the correct function to call based on the types of arguments supplied when the function was called. Read about the S4 object-oriented programming features to learn about method dispatc

Re: [R] Some questions about chron package..

2012-11-27 Thread Rui Barradas
Hello, Inline. Em 27-11-2012 18:06, 박상규 escreveu: Hello, I have questions while reviewing "chron" package(e.g.,chron.R). 1. What is the differences between 3 kinds of function definition ? 1) "name" <- function(... 2) 'name' <- function(... 3) name <- function(... Do you know Why auth

[R] Some questions about chron package..

2012-11-27 Thread 박상규
Hello, I have questions while reviewing "chron" package(e.g.,chron.R). 1. What is the differences between 3 kinds of function definition ? 1) "name" <- function(... 2) 'name' <- function(... 3) name <- function(... Do you know Why author used various kinds of definitions ? Is there no fu

Re: [R] some questions about sympy (that is, rSymPy)

2012-04-17 Thread Gabor Grothendieck
On Tue, Apr 17, 2012 at 4:00 PM, Kjetil Halvorsen wrote: > see below! > > On Sat, Apr 14, 2012 at 4:05 PM, Gabor Grothendieck > wrote: >> On Fri, Apr 13, 2012 at 9:50 PM, Kjetil Halvorsen >> wrote: >>> I am experimenting with rSymPy, and it seems to work nice. >>> >>> >>> However, I dislike the

Re: [R] some questions about sympy (that is, rSymPy)

2012-04-17 Thread Kjetil Halvorsen
see below! On Sat, Apr 14, 2012 at 4:05 PM, Gabor Grothendieck wrote: > On Fri, Apr 13, 2012 at 9:50 PM, Kjetil Halvorsen > wrote: >> I am experimenting with rSymPy, and it seems to work nice. >> >> >> However, I dislike the need to wrap all sympy expressions within >> quotes, it leads to ugly c

Re: [R] some questions about sympy (that is, rSymPy)

2012-04-14 Thread Gabor Grothendieck
On Fri, Apr 13, 2012 at 9:50 PM, Kjetil Halvorsen wrote: > I am experimenting with rSymPy, and it seems to work nice. > > > However, I dislike the need to wrap all sympy expressions within > quotes, it leads to ugly calls like > library(rSymPy) > Var("x,y,z") > sympy("(x+y)**2") > and so on. Sugg

Re: [R] some questions about sympy (that is, rSymPy)

2012-04-14 Thread Uwe Ligges
On 14.04.2012 04:41, Kjetil Halvorsen wrote: see below. On Fri, Apr 13, 2012 at 8:50 PM, Kjetil Halvorsen wrote: I am experimenting with rSymPy, and it seems to work nice. However, I dislike the need to wrap all sympy expressions within quotes, it leads to ugly calls like library(rSymPy)

Re: [R] some questions about sympy (that is, rSymPy)

2012-04-13 Thread Kjetil Halvorsen
see below. On Fri, Apr 13, 2012 at 8:50 PM, Kjetil Halvorsen wrote: > I am experimenting with rSymPy, and it seems to work nice. > > > However, I dislike the need to wrap all sympy expressions within > quotes, it leads to ugly calls like > library(rSymPy) > Var("x,y,z") > sympy("(x+y)**2") > and

[R] some questions about sympy (that is, rSymPy)

2012-04-13 Thread Kjetil Halvorsen
I am experimenting with rSymPy, and it seems to work nice. However, I dislike the need to wrap all sympy expressions within quotes, it leads to ugly calls like library(rSymPy) Var("x,y,z") sympy("(x+y)**2") and so on. Inspired by the function cq from mvbutiles package: library(mvbutils) > cq fun

[R] some questions about stepwise cox regression model and heterogeneity in survival analysis

2011-08-19 Thread asaki1986
Hello, all users here: Recently i am doing a project of survival analysis. I collect the characteristics of patients and have got some factors which are related with the cancer. When i come to overcome relations between genotypes (Snps) and survival time via stratified analysis, i com

[R] Print-quality output from R: some questions about R2wd

2011-08-08 Thread Frans Marcelissen
Hi,My major problem with R was always the quality of the output. Recently I found R2wd, which solved this problem. R2wd makes it possible to write output directly to a word file, end to produce high-quality tables.I have two problems with R2wd, however.1. The documentation says it is possible t

Re: [R] Some questions about string processing

2010-09-27 Thread Michael Hopkins
Thanks Phil, very helpful and works as advertised. Any thoughts on the second question? (P.S. for anyone digging this up in the future, there's a comma missing after the formula in lm()) On 24 Sep 2010, at 18:16, Phil Spector wrote: > Michael - > You're doing too much work half the time

Re: [R] Some questions about string processing

2010-09-24 Thread Phil Spector
Michael - You're doing too much work half the time, and not enough the other half :-). Try this (untested): auto_io = function(data_name,factors){ resp_data = read.table(data_name, header = TRUE ) temp_model = lm(formula(paste('y',factors,sep='~')) data = resp_data ) . .

[R] Some questions about string processing

2010-09-24 Thread Michael Hopkins
Hi all A couple of questions about string processing from someone who has only scratched the surface so far. 1) I am wanting to send some strings into a function to allow flexibility inside. My first idea has been e.g. auto_io <- function( var_string, factors ) { # e.g. var_string sent as

Re: [R] some questions about longitudinal study with baseline

2010-09-07 Thread Frank Harrell
Baseline should appear only as a baseline and should be removed from the set of longitudinal responses. This is often done with a merge( ) operation. Frank Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt Unive

Re: [R] some questions about longitudinal study with baseline

2010-09-07 Thread Peng, C
You may be interested in the tutorial of repeated measure ANOVA at UCLA computing page at: http://www.ats.ucla.edu/stat/R/seminars/Repeated_Measures/repeated_measures.htm -- View this message in context: http://r.789695.n4.nabble.com/some-questions-about-longitudinal-study-with-baseline-tp253

[R] some questions about longitudinal study with baseline

2010-09-07 Thread array chip
Hi all, I asked this before the holiday, didn't get any response. So would like to resend the message, hope to get any fresh attention. Since this is not purely lme technical question, so I also cc-ed R general mailing list, hope to get some suggestions from there as well. I asked some ques

[R] some questions about rattle.

2010-08-01 Thread 顾小波
Hi, Can rattle utilize parallel processing mechanisms such as foreach? Can rattle analyze ff objects ? Xiaobo.Gu [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mai

Re: [R] Some questions about R's modelling algebra

2010-07-05 Thread Kingsford Jones
On Fri, Jul 2, 2010 at 8:16 AM, Hadley Wickham wrote: >> ?formula in R 2.9.2 says in para 2: >> "The %in% operator indicates that the terms on its left are nested >> within those on the right. For example a + b %in% a expands to the >> formula a + a:b. " > > Ooops, missed that.  So b %in% a = a:b,

Re: [R] Some questions about R's modelling algebra

2010-07-02 Thread Adrian Waddell
> Hadley Wickham rice.edu> > > Where is %in% documented within R? I'm pretty sure it's a different > action to ?"%in%, and it's not mentioned in ?formula You find the documentation for operators like <-, %in%, if, etc by putting the operators between qoutes ?"%in%" ?"<-" ?"if" Regards, A

Re: [R] Some questions about R's modelling algebra

2010-07-02 Thread Thomas Lumley
On Fri, 2 Jul 2010, Hadley Wickham wrote: Hi all, In preparation for teaching a class next week, I've been reviewing R's standard modelling algebra. I've used it for a long time and have a pretty good intuitive feel for how it works, but would like to understand more of the technical details. T

Re: [R] Some questions about R's modelling algebra

2010-07-02 Thread RICHARD M. HEIBERGER
Hadley, The S language modeling language was designed with Wilkinson and Rogers in mind. The notation was changed from their paper to retain consistency with the parsing rules for ordinary algebra in S. I think of ":" as an indicator of an indexing system into the dummy variables. It is not an

Re: [R] Some questions about R's modelling algebra

2010-07-02 Thread Hadley Wickham
> ?formula in R 2.9.2 says in para 2: > "The %in% operator indicates that the terms on its left are nested > within those on the right. For example a + b %in% a expands to the > formula a + a:b. " Ooops, missed that. So b %in% a = a:b, and that's what's meant by "different coding". Hadley -- A

Re: [R] Some questions about R's modelling algebra

2010-07-02 Thread S Ellison
>>> Hadley Wickham 02/07/2010 14:59:53 >>> > Where is %in% documented within R? I'm pretty sure it's a different >action to ?"%in%, and it's not mentioned in ?formula ?formula in R 2.9.2 says in para 2: "The %in% operator indicates that the terms on its left are nested within those on the righ

[R] Some questions about R's modelling algebra

2010-07-02 Thread Hadley Wickham
Hi all, In preparation for teaching a class next week, I've been reviewing R's standard modelling algebra. I've used it for a long time and have a pretty good intuitive feel for how it works, but would like to understand more of the technical details. The best (online) reference I've found so far