Have you looked at the 'sspir' package? A good introduction to
the package can be found in C. Dethlefsen and S. Lundbye-Christensen
(2006) "Formulating state space models in r with focus on longitudinal
regression models", Journal of Statistical Software, 16(1)
[http://www.jstatsoft.org/
"Suran, Luciana @ Torto Wheaton Research"
<[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> I'm new to R and have some question on combining (and deleting)
> rows.
You posted your email in response to a question that had nothing to do
with this question. If you have new question, you shou
I don't want to speak for others, but it might be impossible to help you
without having more detail of what you did. Please provide the exact code
you used, preferedly along with some (simulated or real) sample data, that
is to say a self-contained example. If in doubt, you can look at the r-help
p
On 11 Mar 2008 at 14:09, Rolf Turner wrote:
>
> It would appear that the SPSS procedure would then give exactly the same
> point estimates of the parameters, and change the inference structure by
> changing the ``denominator degrees of freedom'' from n-p to sum(w) - p.
>
Well, if that IS what S
It would appear that the SPSS procedure would then give exactly the same
point estimates of the parameters, and change the inference structure by
changing the ``denominator degrees of freedom'' from n-p to sum(w) - p.
This seems to me to make little sense ... But then, it ***is***
SPSS. :-)
Hello:
I'm trying to use levels function, but I don't know why it's returning NULL.
For example:
> temp[1] 3 5 5 NA> levels(temp)NULL>
Also, I've tried:
> list(temp)[[1]][1] "3" "5" "5" NA
> levels(list(temp))NULL
Is there a specific requirement on the parameter?
Karen
Hello Gurus:
I'm using basic survival analysis, and trying to use survreg, and I provided
the parameter formula= and data=, but I got an error saying:
Error in terms.default(formula, special, data = data) : no terms
component
I'm wondering what it's trying to say. Is it because I did
"Geoff Russell" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> Dear UseRs,
>
> Suppose I have data regarding smoking habits of a prospective cohort
> and wish to determine the risk ratio of colorectal cancer in the
> smokers compared to the non-smokers. What do I do at the end of the
>
Hi Folks,
I'd be grateful for suggestions about approaching the
following kind of data. I'm not sure what general class of
models it is best situated in (that's just my ignorance),
and in particular if anyone could point me to case studies
associated with an R approach that would be most useful.
S
It works!!!
Thanks a lot Haris!
-Original Message-
From: Charilaos Skiadas [mailto:[EMAIL PROTECTED]
Sent: Monday, 10 March 2008 11:30 PM
To: Elena Wilson
Cc: r-help@r-project.org
Subject: Re: [R] Weighting data when running regressions
On Mar 10, 2008, at 7:49 AM, Elena Wilson wrote:
>
It works!!!
Thanks a lot Chuck!
-Original Message-
From: Chuck Cleland [mailto:[EMAIL PROTECTED]
Sent: Monday, 10 March 2008 11:29 PM
To: Elena Wilson
Cc: r-help@r-project.org
Subject: Re: [R] Weighting data when running regressions
On 3/10/2008 7:49 AM, Elena Wilson wrote:
> Dear R-Help
i'm in the midst of using R for a PVA/matrix project. my math skills are
lousy and programming skills are worse. to deal with an error that i
couldn't solve, i changed a parameter that used a new part of a routine
in our PVA package's code:
else if (ES == "ParDraw") {
require(MASS)
(
Rolf Turner wrote:
> On 11/03/2008, at 4:04 AM, Ben Domingue wrote:
>
>
>> Howdy,
>> In SPSS, there are 2 ways to weight a least squares regression:
>> 1. You can do it from the regression menu.
>> 2. You can set a global weight switch from the data menu.
>> These two options have no, in my expe
I am trying to incorporate random effects (random intercept is good enough)
to a proportional odds logistic regression model for ordinal outcomes.
Could lme4 do this? I'd appreciate any input.
Hakan Demirtas
__
R-help@r-project.org mailing list
https
David Hewitt wrote:
>
>
>
>> A few weeks ago all of a sudden the backspace, enter and direction keys
>> were not working. I updated Tinn-R to the newest version but still no
>> sollution. After this I tried reinstalling it (prior to that I removed
>> Tinn-R and deleted all the "leftovers" man
M[ order(M[,1]), ]
G.
On Mon, Mar 10, 2008 at 01:56:45PM -0700, ermimi wrote:
>
> I have a matrix with 2 columns and n row. I need sort the matrix by the first
> column but the second row must be sort in the same order that the first
> column. Somebody know how I can sort this matrix.
> Thanks v
On Mon, Mar 10, 2008 at 3:55 PM, Sean MacEachern <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm interested in doing a multiple density plot on a number of columns in a
> dataframe.
>
> >DF
>
> lineA.1 lineA.2 lineB.1 lineB.2
> r1 5.355354 6.665575 10.288498 11.74750
> r2 3.643415 5.42
Where were you "reading about" that function?
simple.densityplot seems to be from a user-supplied package called "UsingR".
Try
install.packages("UsingR")
library("UsingR")
and then try your simple.densityplot function call.
Best,
Erik Iverson
Sean MacEachern wrote:
> Hi all,
>
> I'm interest
Here's an example. See ?order
mt <- matrix(sample(1:20), ncol = 2)
mt[order(mt[,1]),]
Best,
Erik Iverson
ermimi wrote:
> I have a matrix with 2 columns and n row. I need sort the matrix by the first
> column but the second row must be sort in the same order that the first
> column. Somebody kn
Hi all,
I'm interested in doing a multiple density plot on a number of columns in a
dataframe.
>DF
lineA.1 lineA.2 lineB.1 lineB.2
r1 5.355354 6.665575 10.288498 11.74750
r2 3.643415 5.427600 11.407112 13.97065
r3 5.813674 6.438502 9.628871 11.57456
r4 5.241340 5.125049 10.456221
I have a matrix with 2 columns and n row. I need sort the matrix by the first
column but the second row must be sort in the same order that the first
column. Somebody know how I can sort this matrix.
Thanks very much
--
View this message in context:
http://www.nabble.com/SORT-MATRIX-tp15955823p1
On Mon, Mar 10, 2008 at 4:02 PM, Gustave Lefou <[EMAIL PROTECTED]> wrote:
> It is just a negative log-likelihood with two parameters belonging to [0,1]
> and [0,Inf].
>
> constrOptim is valid for all linear inequality constraints. My constraints
> (box-constrained) are as simple as possible, but ma
Hello all -
I am a newbie and trying to figure out how to display all the labels of the
regression tree, in a meaningful way. Yes, I have some long labels.
# plot tree
plot(fit, uniform=TRUE,main="Regression Tree for PVDecayData")
text(fit, use.n=TRUE, all=TRUE, cex=.8)
Results in the output tha
Hello List,
I'm new to R and have some question on combining (and deleting) rows.
I have a dataset that looks like this:
msa_id
base_sf.2002.2
compltns.2002.2
absorption.2002.2
avrate.2002.2
1
AKRON
27918
0
-1420
19
24
ALBUQU
20469
77
-23
9.2
100
ALLENT
41490
0
Hi Rers,
I have a poission time series model with 5 parameters. I just wanted to
remove two of the lag on response in the model and put it as a system model.
I am not sure about the codes to combine these two on R. If anybody has any R
example (code), please post it.
My original model:
Hello Ajay,
I'm the author of the gdata package. If you send me a copy of
an .XLS file that doesn't work with read.xls(), I'll see about fixing
the code.
-Greg
On Mar 7, 2008, at 6:17AM , Ajay Shah wrote:
> 1. I have used gdata::read.xls() with much happiness. But every now
>and the
On 11/03/2008, at 4:04 AM, Ben Domingue wrote:
> Howdy,
> In SPSS, there are 2 ways to weight a least squares regression:
> 1. You can do it from the regression menu.
> 2. You can set a global weight switch from the data menu.
> These two options have no, in my experience, been equivalent.
> Now,
On 11/03/2008, at 6:09 AM, Patrick Richardson wrote:
> List,
>
> I'm working on fitting a logistic model for a well known dataset
> (which is
> given below in case anyone wants to try to reproduce). I used both
> R and
> SAS to fit the model and have some differences in the parameter
> est
I have been looking around for packages that will do this but I am not
stumbling on the right one. I would like to make a 3d plot (hopefully
an interactive graphic (rgl maybe)) that is simply four 2d graphs
stacked next to each other traveling down river. site is the x-axis,
bas is the y-axis, an
Muenchen, Robert A (Bob) wrote:
> Dear HelpeRs,
>
> I'm confused about the role of quotes around package names on the
> library and detach functions. Books on R use both approaches:
>
> library(Hmisc)
> describe(mydata)
> detach(package:Hmisc)
>
> and
>
> library("Hmisc")
> describe(mydata)
>
Dear HelpeRs,
I'm confused about the role of quotes around package names on the
library and detach functions. Books on R use both approaches:
library(Hmisc)
describe(mydata)
detach(package:Hmisc)
and
library("Hmisc")
describe(mydata)
detach("package:Hmisc")
The help file for detach says "quote
Peter,
You are certainly up to date. Can you try replicating this using only
two nodes (since you only have two processors)? I'm not sure that
specifying 5 really helps. Using 2 nodes on my mac usually gets me
about a 30-40% decrease in time.
Also, are the processes just hanging or is there an er
i could remember exactly but it is like something: components <-
predict(gam.object, type = "terms")
On Mon, Mar 10, 2008 at 1:36 PM, Michael A. Milligan <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am estimating a semiparametric partial linear model
> using gam of the form
>
> y=f1(x1)+f2(x2)+bet
Hello,
I am estimating a semiparametric partial linear model
using gam of the form
y=f1(x1)+f2(x2)+beta*X
where y is the dependent variable, f1(x1) and f2(x2)
are nonparametric functions of the independent
variables x1 and x2, respectively, and beta and X are
vectors of coefficients and independ
read.table("bug.txt", header=TRUE)
plotMeans(bug$tot, bug$station, error.bars="se", main="Total")
The plot is ordered in this way HC RM190 RM198 RM202.
I would like it to plot in this way HC RM202 RM198 RM190.
thanks
Stephen
Is this okay or would you like the data to be copied and pasted into
th
Hi Max,
Thank you for the fast response.
Here are the versions of the R packages I am using:
caret 3.13
caretNWS 0.16
nws 1.62
Here are the python versions
Active Python 2.5.1.1
nws server 1.5.2 for py2.5
twisted 2.5.9 py2.5
The computer I am using has 1 Xeon dual core cpu at 1.86 GHz with 4 G
List,
I'm working on fitting a logistic model for a well known dataset (which is
given below in case anyone wants to try to reproduce). I used both R and
SAS to fit the model and have some differences in the parameter estimates.
I'm wondering if R calculates the ML estimates differently. I'm mak
Hi,
I m wondering is there any rules on what variables are used for factor
analysis/ loading. For instance, increase reputation lead to increase in volume
of post. So is volume need to be calculated in factor loading.
InDependent Variable dependent Variables
Here is one approach (you can adapt as needed):
library(TeachingDemos)
par(mfrow=c(4,2))
plot(1:10)
plot(10:1)
plot(c(1:5,5:1))
plot(c(5:1,1:5))
tmp <- cnvrt.coords(1,0, input='fig')$usr # get right end coord
tmp2 <- cnvrt.coords(0,NA, input='tdev')$usr # get left end
par(xpd=NA) # turn off cl
What version of caret and caretNWS are you using? Also, what version
of the nws server and twisted are you using? What kind of machine (#
processors, how much physical memory etc)?
I haven't seen any real limitations with one exception: if you are
running P jobs on the same machine, you are replic
From: Ajay Shah
> > 1: Why not try the XLSReadWrite package that can do it
> natively without
> > using Perl to convert to CSV first?
>
> I looked at the package (it's
> http://cran.r-project.org/web/packages/xlsReadWrite/index.html) but
> it's windows only. So no joy yet.
>
> > 2: There seems
Hi,
is there any R function or package aimed at finding 3D projection pursuit
solutions? I was able to find only interactive 2D projection pursuit in Rggobi.
Thanks in advance,
Giovanna
_
[[elided Hotmail spam]]
[[alternat
On Mon, 10 Mar 2008, Thomsen wrote:
>
> Dear list,
>
> I am importing data consisting of numbers into dataframes. Some of the
> numbers are flanked by parentheses or square brackets. Thus, they are not
> recognized as numeric and the corresponding column is of class "factor"
> which makes it hard/
> A few weeks ago all of a sudden the backspace, enter and direction keys
> were not working. I updated Tinn-R to the newest version but still no
> sollution. After this I tried reinstalling it (prior to that I removed
> Tinn-R and deleted all the "leftovers" manually) and still no change. In
>
With regards to #1 you could also check out
http://tolstoy.newcastle.edu.au/R/help/06/04/25674.html
On Fri, Mar 7, 2008 at 7:17 AM, Ajay Shah <[EMAIL PROTECTED]> wrote:
> 1. I have used gdata::read.xls() with much happiness. But every now
> and then it breaks. I have not, as yet, been able to co
Hi,
I am using the caretNWS package to train some supervised regression models
(gbm, lasso, random forest and mars). The problem I have encountered started
when my training data set increased in the number of predictors and the number
of observations.
The training data set has 347 numeric colu
Also note that there is match.funfn in the gsubfn package. That allows
you to also pass functions defined as formulas:
e.g.
library(gsubfn)
f.at.four <- function(f) match.funfn(f)(4)
f.at.four(sqrt) # 2
f.at.four("sqrt") # 2
f.at.four(~ x^.5) # 2 - uses function(x) x^.5
See homepage, ?match.fu
> 1: Why not try the XLSReadWrite package that can do it natively without
> using Perl to convert to CSV first?
I looked at the package (it's
http://cran.r-project.org/web/packages/xlsReadWrite/index.html) but
it's windows only. So no joy yet.
> 2: There seems to be an Ooo extension that sounds s
Hello Paul,
It is just a negative log-likelihood with two parameters belonging to [0,1]
and [0,Inf].
constrOptim is valid for all linear inequality constraints. My constraints
(box-constrained) are as simple as possible, but maybe the methods used by
constrOptim are useful too. My question is whe
Thanks,
match.fun is what i was looking for :-)
Or perhaps:
myfun <- function(fname, ...)match.fun(fname)(...)
On 07/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Was wondering if it is possible to pass function name as a parameter
--
View this message in context:
http://w
I don't have answer to either of your questions, just some info:
1: Why not try the XLSReadWrite package that can do it natively without
using Perl to convert to CSV first?
2: There seems to be an Ooo extension that sounds similar to R-Excel
(connecting R to Calc). Not sure if that helps you any
I suppose better late than never: It's possible to get bagging in
randomForest by simply setting mtry equal to the number of predictor
variables. Note that this is one thing that I changed from Breiman &
Cutler's Fortran code: They were sampling variables with replacement,
so if you use that co
On Sat, Mar 8, 2008 at 11:00 AM, Manuel Morales
<[EMAIL PROTECTED]> wrote:
> On Sat, 2008-03-08 at 08:07 -0600, Douglas Bates wrote:
> > On Sat, Mar 8, 2008 at 2:57 AM, Alexandra Bremner
> > <[EMAIL PROTECTED]> wrote:
> > > I am attempting to model data with the following variables:
> >
> >
Howdy,
In SPSS, there are 2 ways to weight a least squares regression:
1. You can do it from the regression menu.
2. You can set a global weight switch from the data menu.
These two options have no, in my experience, been equivalent.
Now, when I run lm in R with the weights= switch set accordingly,
Are you sure there are 100 sites in your data? Here's an example:
R> library(randomForest)
randomForest 4.5-23
Type rfNews() to see new features/changes/bug fixes.
R> f <- factor(sample(1:4, nrow(iris), replace=TRUE))
R> rf1 <- randomForest(iris[1:4], iris[[5]], strata=f, sampsize=rep(5,
nlevels(
On Mon, Mar 10, 2008 at 1:36 PM, John Fox <[EMAIL PROTECTED]> wrote:
> You can change fonts and font sizes via Rcmdr options, as explained in
> ?Commander (also accessible via the R Commander "Help -> Commander help"
> menu). For example,
>
> options(Rcmdr=list(default.font="*helvetica-medium-r
you can still use sample(), e.g.,
n.grid <- 500
muA.grid <- seq(-4, 4, length = n.grid)
muB.grid <- seq(-4, 4, length = n.grid)
vals <- data.matrix(expand.grid(muA.grid, muB.grid))
mu.p <- dnorm(vals[, 1]) * dnorm(vals[, 2], sd = 0.5)
mu.p <- mu.p / sum(mu.p)
ind <- 1:nrow(vals)
samp.ind <- samp
Hi Geoff,
I think the answer to such a problem (overall survival vs. disease free
survival) depends on the regulatory
environment, for example, in a phase III clinical trial, OS would be
used, whereas in an equivalence study,
DFS would be used.
Best,
Matthias
Geoff Russell schrieb:
> Dear Us
Geoff,
This is a tricky question. Have you done a literature search?
-Max
Geoff Russell formulated the question :
> Dear UseRs,
>
> Suppose I have data regarding smoking habits of a prospective cohort and wish
> to determine the risk ratio of colorectal cancer in the smokers compared to
> the no
Hi everyone,
My goal is to sample from a two-dimensional grid. Consider the following
example of code:
n.grid <- 500
muA.grid <- seq(-4,4, length=n.grid)
muB.grid <- seq(-4,4, length=n.grid)
mu.p <- matrix(NA, nrow=n.grid, ncol=n.grid)
for(i in 1:n.grid){
for(j in 1:n.grid){
mu.p
Dear list,
I am importing data consisting of numbers into dataframes. Some of the
numbers are flanked by parentheses or square brackets. Thus, they are not
recognized as numeric and the corresponding column is of class "factor"
which makes it hard/impossible use in plotting functions.
Is there a
Try:
par(mar=c(4,6,4,4))
plot(rnorm(100), ylab="")
mtext(side=2, text="Label", las=1, line=2)
On 10/03/2008, JuanCarlos CorreaMorales <[EMAIL PROTECTED]> wrote:
> Hi R-users:
>
> We need to place the y label horizontally on a plot.
>
> Instead of
> |
> l |
> a |
> b |
> e |
>
Hi R-users:
We need to place the y label horizontally on a plot.
Instead of
|
l |
a |
b |
e |
l |
|__
we want
|
|
label |
|
|
|__
We thank you any advice.
Yours,
Ju
> OK, that's perfect. Then the proxy configuration is still wrong. MAybe
> you want to try the other way given in the R for Windows FAQs and
> re-check your proxy settings.
I did try the other ways and the above trial shows some progress:
> utils:::menuInstallPkgs()
--- Please select a CRAN mirror
"Shubha Vishwanath Karanth" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
>
> How can I extract p-values from an 'lrm' (logistic regression model)
> oject?
>
a) In writing to the list you should tell people where you got the
function (presumably Design).
b) Looks to me in running lrm
Svyatkovskiy Alexey wrote:
> Hello,
>
> I have one more question. I looked through MASS.c file but I couldn't find
> lda(...) function here. I expected that 'lda' function is a part of MASS
> source code. Where can I find the source code for 'lda' - function?
Not everything has its own C co
Hi
[EMAIL PROTECTED] napsal dne 10.03.2008 13:00:39:
> If you have an original file in excel, the way I get such files is to
> save them as csv (comma-separated), and then to use read.csv. Then
Or if you do not have need to save the file just in Excel select data you
want to transfer to R
pre
Thomas Steiner wrote:
>> Which mirror do you use?
>
> As I am living in Vienna, I use "Austria". Which should I try?
> Thomas
OK, that's perfect. Then the proxy configuration is still wrong. MAybe
you want to try the other way given in the R for Windows FAQs and
re-check your proxy settings.
Thanks for the replies and apologies for not including code. Bad of me.
>Chuck Cleland wrote:
>I get the same confidence intervals with t.test(), lm(), and by hand.
>We need to see how you calculated the SEM and constructed the
interval. >Perhaps you constructed the interval using the norm
Dear Paul,
You can change fonts and font sizes via Rcmdr options, as explained in
?Commander (also accessible via the R Commander "Help -> Commander help"
menu). For example,
options(Rcmdr=list(default.font="*helvetica-medium-r-normal-*-20*",
log.font.size=20))
would change both the GUI element
Subject: Re: question for aov and kruskal
Newsgroups: R-help:gmane.comp.lang.r.general
To: eugen pircalabelu <[EMAIL PROTECTED]>
On 10 Mar 2008, you wrote in gmane.comp.lang.r.general:
> Hi R users!
>
> I have the following problem: how appropriate is my aov model under
> the violation of anova
Hi,
I am trying to contstruct a mutual informtation matrix using the
function build.mim() from the minet package:
> build.mim(myData, estimator="empirical")
and I have two questions.
1.) The estimator "empirical" computes the entropy of the empirical
probability distribution. This probably m
> Which mirror do you use?
As I am living in Vienna, I use "Austria". Which should I try?
Thomas
__
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.ht
Which mirror do you use?
Uwe Ligges
Thomas Steiner wrote:
> I cannot access internet through R.
> My IT-guys told me that I should set the proxy and the port and then
> everything will be fine. Where can I set them?
> I use R 2.6.2 under Windows 2000 and these settings are those of the
> Internet
david,
all I can tell you that I am using TINN-R 1.19.4.7 on a win xp prof sp2
machine and it runs just fine. I also use AutoHotkey, a hotkey (key
shortcuts) program which overwrites all program-specific keystrokes. could
it be an issue with keystrokes that are assigned elsewhere?? take a look at
y
Dear UseRs,
Suppose I have data regarding smoking habits of a prospective cohort and wish
to determine the risk ratio of colorectal cancer in the smokers compared to
the non-smokers. What do I do at the end of the study with people who die
of heart disease? Can I just censor them exactly the same
On 3/10/2008 7:49 AM, Elena Wilson wrote:
> Dear R-Help,
>
> I'm new to R and struggling with weighting data when I run regression. I've
> tried to use search to solve my problem but haven't found anything helpful
> so far.
>
> I (successfully) import data from SPSS (15) and try to run a linea
On Mar 10, 2008, at 7:49 AM, Elena Wilson wrote:
>
> linmod=lm(Y~X1+X2+X3+X4W, subset=(X5==1 & X6==7), weights==WEIGHT)
That should likely be weights=WEIGHT, with one equal sign.
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
___
Greetings!
I have an issue with an R editor (namely Tinn-R). A few weeks ago all of a
sudden the backspace, enter and direction keys were not working. I updated
Tinn-R to the newest version but still no sollution. After this I tried
reinstalling it (prior to that I removed Tinn-R and deleted all
If you have an original file in excel, the way I get such files is to
save them as csv (comma-separated), and then to use read.csv. Then
these empty spots are more easily handled, since they correspond to
too successive commas.
Haris Skiadas
Department of Mathematics and Computer Science
Han
I just noticed a weird feature in rimage. It seems that, when
reading an image, the line/colums are transposed.
See this reproducible example. The final image should be black - but (as
expected) not an absolute black (mean(z) is 0.015, sd(z) is 0.055 but
max(z) is 1).
Alberto Monteiro
# reprodu
Dear All,
I have Rcmdr installed on a machine running Fedora 8 (Linux). It works
fine, but I find the fonts of the Script window and of Output window
very small. How can one increase the size of the font use on those
windows?
Thanks in advance,
Paul
_
Dear R-Help,
I'm new to R and struggling with weighting data when I run regression. I've
tried to use search to solve my problem but haven't found anything helpful
so far.
I (successfully) import data from SPSS (15) and try to run a linear
regression on a subset of my data file where WEIGH
Hello,
I have one more question. I looked through MASS.c file but I couldn't find
lda(...) function here. I expected that 'lda' function is a part of MASS source
code. Where can I find the source code for 'lda' - function?
Best wishes,
Alexey.
__
On Mar 10, 2008, at 5:15 AM, Petr PIKAL wrote:
> Hi
> [EMAIL PROTECTED] napsal dne 10.03.2008 08:12:28:
>
>> hello
>>
>> I want to compare the values of two columns of a dataset on a graph.
>> Which graphic do you recommend ?
>
> It depends on what values you have and what you want to compare.
>
>
I cannot access internet through R.
My IT-guys told me that I should set the proxy and the port and then
everything will be fine. Where can I set them?
I use R 2.6.2 under Windows 2000 and these settings are those of the
Internet Explorer (no password).
I read
http://cran.at.r-project.org/bin/win
On Sun, Mar 9, 2008 at 9:10 PM, Gustave Lefou <[EMAIL PROTECTED]> wrote:
> I have another question.
>
> I have seen there is a function called "constrOptim" in R.
>
> Is it better than "optim", for example to optimize a function f of two
> parameters belonging to [0,1] and [0,Infinity] ? Do the
Sorry, I missed the part about not having th leading zero. It is too
early yet with daylight savings time and no coffee so far.
On 3/10/08, Martin Kaffanke <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> I have i.e. v = c(0.43554, -0.22343), and so on. Now I'd like to make a
> format like
>
> format(
You can also use sprintf:
> v = c(0.43554, -0.22343)
> sprintf("%.2f", v)
[1] "0.44" "-0.22"
>
On 3/10/08, Martin Kaffanke <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> I have i.e. v = c(0.43554, -0.22343), and so on. Now I'd like to make a
> format like
>
> format(v, digits=2) but without the
names(obs) shows the result has been sorted so
use %Y instead of %y in the format statement in
the split so that "2000" > "1999"; otherwise,
"99" > "00".
On Mon, Mar 10, 2008 at 4:10 AM, Megh Dal <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Suppose I have following dataset :
>
> library(zoo)
> SD =
Thank you! I have the origenal file in MS-Excel, I save the excel file in a txt
file. In the excel file there are missing value empty places for these missing
value? Do I need to replace the empty places in a symbol for missing value and
could you tell me place how can I avoid this warning messa
Hello,
> sub( "^([- ])?0+", "\\1", format(v, digits=2) )
[1] " .44" "-.22"
Cheers,
Romain
Martin Kaffanke wrote:
> Hi there!
>
> I have i.e. v = c(0.43554, -0.22343), and so on. Now I'd like to make a
> format like
>
> format(v, digits=2) but without the leading 0, so 0.43554 becomes .44,
>
Hi there!
I have i.e. v = c(0.43554, -0.22343), and so on. Now I'd like to make a
format like
format(v, digits=2) but without the leading 0, so 0.43554 becomes .44,
-0.22343 becomes -.22
How can I do that?
runnable example for copy and paste:
v = c(0.43554, -0.22343)
format(v, digits=2)
Th
On 10/03/2008 6:50 AM, Alfons Sutter wrote:
> Hi all,
>
> I am trying to read a text file in R! I have a warning message:
>
> In read.table(file = "data1.txt", header = T) : uncompleted last line of
> readTableHeader in 'data1.txt'
R is warning you that the file may be incomplete. In Unix, text
Hi R users!
I have the following problem: how appropriate is my aov model under the
violation of anova assumptions?
Example:
a<-c(1,1,1,1,1,1,1,1,1,1,2,2,2,3,3,3,3,3,3,3)
b<-c(101,1010,200,300,400, 202, 121, 234, 55,555,66,76,88,34,239, 30, 40,
50,50,60)
z<-data.frame(a, b)
fligner.test(z$b, fa
Hi all,
I am trying to read a text file in R! I have a warning message:
In read.table(file = "data1.txt", header = T) : uncompleted last line of
readTableHeader in 'data1.txt'
Could you please tell me why? and how can I deal with missing value when I read
this file?
all the best
Alfons
Dear R list,
again a newbie question here, so I wish I do not exasperated reader.
This is example of my data.frame
subject length consistency context acc frt
1 1200high scene_c 0.8181818 396.6642
2 2200high scene_c 1.000 595.7778
3
Petr PIKAL wrote:
>
>hello
>
>I want to compare the values of two columns of a dataset on a graph.
>Which graphic do you recommend ?
>
Hi Petr,
"barp" will compare the two columns displaying the values as heights of
bars.
"stackpoly" will display superimposed polygons, the upper edges of which
>Date: Sat, 8 Mar 2008 04:56:58 -0800 (PST)
>From: Keizer_71 <[EMAIL PROTECTED]>
>Subject: [R] expression matrix
>To: r-help@r-project.org
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=us-ascii
>Hello,
>I am to run this R script but i keep getting this error.
>> expr<-expr
On Sat, Mar 8, 2008 at 5:33 PM, George N. White III
<[EMAIL PROTECTED]> wrote:
> > I am trying to install the rgl package on R 2.6.1 running on Fedora 8
> > (Linux), but I am experiencing the following problems:
> >
> > -
> > configure: error: X11 not fo
1 - 100 of 115 matches
Mail list logo