Dear All:
I have a clinical study where I would like to compare the demographic
information for 2 samples in a study. The demographics include both
categorical and continuous variables. I would like to be able to say whether
the demographics are significantly different or not.
The majority o
Ok, so basically I have a dataframe named data_frame
data_frame contains:
startdate
startprice
endpricethreshold1
endpricethreshold2
endpricethreshold3
all of these endpricethresholds are true/false binary vectors. They are true
or false depending on whether the endprice was above or below wh
See ?traceback
/Henrik
On Wed, Aug 13, 2008 at 7:33 PM, <[EMAIL PROTECTED]> wrote:
> This is both a specific question and a general one. First, I am running
> 'fitdistr' from library(MASS) and I get the following:
>
> Error in fitdistr(templist, "weibull") : optimization failed
>
> What is the
On Wed, 13 Aug 2008, [EMAIL PROTECTED] wrote:
This is both a specific question and a general one. First, I am running
'fitdistr' from library(MASS) and I get the following:
Error in fitdistr(templist, "weibull") : optimization failed
What is the cause of the error? How can I tell? Can I just
This is both a specific question and a general one. First, I am running
'fitdistr' from library(MASS) and I get the following:
Error in fitdistr(templist, "weibull") : optimization failed
What is the cause of the error? How can I tell? Can I just catch this error,
report it and move to the next
The problem is that if x is either NA or NaN then x != 0 is NA (and not FALSE
or TRUE) and the function is.nan tests for a NaN but not for NA, i.e.
is.nan(NA) returns FALSE.
You can do something like:
mat_zeroless[!is.na(mat) & mat != 0] <- mat[!is.na(mat) & mat != 0]
--- On Thu, 14/8/08, rco
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> On Behalf Of rcoder
> Sent: Wednesday, August 13, 2008 3:17 PM
> To: r-help@r-project.org
> Subject: [R] missing TRUE/FALSE error in conditional construct
>
>
> Hi everyone,
>
> I posted something similar to thi
Since 0 can be represented exactly as a floating point number, there is no
problem with something like x[x==0].
What you can not rely on is something like 0.1+0.2 == 0.3 to be TRUE.
--- On Thu, 14/8/08, Roland Rau <[EMAIL PROTECTED]> wrote:
> From: Roland Rau <[EMAIL PROTECTED]>
> Subject: Re:
Thank you for all your replies.
Borrowing an alternative solution kindly provided by Mark Leeds, I am using
a conditional statement to pass non-zero values to a holding matrix that has
cells initially set to NA. The code is as follows:
##Code Start
mat_zeroless<-matrix(NA,5000,2000) #genera
Hi everyone,
I posted something similar to this in reply to another post, but there seems
to be a problem getting it onto the board, so I'm starting a new post.
I am trying to use conditional formatting to select non-zero and non-NaN
values from a matrix and pass them into another matrix. The pr
My laptop has an nVidia card. Maybe that's why it works?
Simon.
On Wed, 2008-08-13 at 13:17 +, Ben Bolker wrote:
> Barry Rowlingson lancaster.ac.uk> writes:
>
> >
> > I have just encountered the problem with rgl where plot3d figures
> > don't interact with the mouse. My plots zoom in and o
At 01:17 14/08/2008, you wrote:
Hi Rhelpers,
Thanks a lot, Stephen, for showing me the way to get a data frame into a
pasteable format with the dput command.
My code is given below with the new correction. This should work, as
Stephen says, right off the bat :-)
## df1 is the first data frame
Hello -
Altaweel, Mark R. wrote:
Hi,
I have data stored in a list that I would like to aggregate and
perform some basic stats. However, I would like to apply conditional
statements so that not all the data are used. Basically, I want to
get a specific variable, do some basic functions (such as
on 08/13/2008 06:03 PM Duncan Murdoch wrote:
Barry Rowlingson wrote:
I have just encountered the problem with rgl where plot3d figures
don't interact with the mouse. My plots zoom in and out with the mouse
wheel but the mouse buttons do nothing. I can't rotate the plot.
This has been mentioned
Barry Rowlingson wrote:
I have just encountered the problem with rgl where plot3d figures
don't interact with the mouse. My plots zoom in and out with the mouse
wheel but the mouse buttons do nothing. I can't rotate the plot.
This has been mentioned and discussed here and in other lists before,
Hi,
Yes, that's it. I got the correct results.
Thanks everyone for their help once again. This is a great help board.
Mark
-Original Message-
From: Steven McKinney [mailto:[EMAIL PROTECTED]
Sent: Wed 8/13/2008 5:29 PM
To: Altaweel, Mark R.; r-help@r-project.org
Subject: RE: [R] Conditi
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> On Behalf Of Altaweel, Mark R.
> Sent: Wednesday, August 13, 2008 3:03 PM
> To: r-help@r-project.org
> Subject: [R] Conditional statement used in sapply()
>
> Hi,
>
> I have data stored in a list that I would lik
Hi Mark,
How about this?
result <- sapply(split(res, res$Volume>0)$`TRUE`, mean)
There is one thing I'm not sure: is res$Volume a vector or single
numeric?
-gary
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Altaweel, Mark R.
Sent: Wednesday, August
Hi,
I have data stored in a list that I would like to aggregate and perform some
basic stats. However, I would like to apply conditional statements so that not
all the data are used. Basically, I want to get a specific variable, do some
basic functions (such as a mean), but only get the data i
Hi All,
I wish to change 3x3 pixel size in 1x1 pixel size my grid. I have this
fuction:
dem.area <-
([EMAIL PROTECTED],[EMAIL PROTECTED],1])*([EMAIL PROTECTED],[EMAIL
PROTECTED],1])
dem.pixelsize <- round(5*sqrt(dem.area/length(ground$Z)),0)
dem.pixelsize
where is the input to change
> > Dear R Users,
> >
> > I am looking for an alternative to AIC or BIC to choose model parameters.
> > This is somewhat of a general statistics question, but I ask it in this
> > forum as I am looking for a R solution.
> >
> > Suppose I have one dependent variable, y, and two independent variable
Firas Swidan gmail.com> writes:
>
> Hi,
>
> I have two (different types of) measurements, say X and Y, resulting from
> the same set of experiments. So X and Y are paired: (x_1, y_1), (x_2, y_2),
> ...
>
> I am trying to calculate the standard deviation of Y with respect to X. In
> other words
Cp is either the same thing as AIC, or an approximation to it. So it is
not an 'alternative'.
See e.g. the discussion in MASS or ?add1.
On Wed, 13 Aug 2008, [EMAIL PROTECTED] wrote:
By way of partial follow-up to my own question, and on the odd chance
anyone else wonders about this issue, so
On Wed, 13-Aug-2008 at 06:32PM +0200, Karel Van den Meersche wrote:
|>
|> Dear R users,
|>
|> I am trying to reverse the orientation of axis labels and title in
|> the right margin of a plot, so that they read from top to bottom. I
|> know that this can be done using text() as follows:
|> par(
your model 3 is the unrestricted model and your models 1 and 2 are
restricted models. you can test model 1 and 2 against model 3 using the
anova function, e.g. anova(model2,model3), which, for the case of OLS
estimation, are compared with an F-test. If the test is insignificant, the
simpler model s
Thank you all for your replies. This is all very useful information for me!
Ted, thank you very much for the extra explanation and example.
Many thanks,
rcoder
Ted.Harding-2 wrote:
>
> On 13-Aug-08 16:45:27, rcoder wrote:
>> Hi everyone,
>> I'm trying to create an "if" conditional statement
Thanks very much for the quick reply. I had looked at the help for lm,
but I clearly skimmed over the critical part explaining where weights is
evaluated.
Thanks,
Pete
On 13/8/2008, Prof Brian Ripley wrote:
>On Wed, 13 Aug 2008, Pete Berlin wrote:
>
>> Hi all,
>>
>> I'm having some difficulty
Dear Henrique,
This is exactly what I need. Thank you very much for your help!
rcoder
Henrique Dallazuanna wrote:
>
> Try this:
>
> x <- data.frame(Dates = seq(as.Date('2008-01-01'),
> as.Date('2008-01-31'), by =
> 'days'),
>
Ralph: I looked at Henrique's solution and he does 2 things which make
it better than mine.
1) He splits based off the first two columns where I just split based on
the second. So, my split assumes that the "same rows" are next to each
other
which is an unnecessary assumption.
2) He actually
sorry ralph. i meant the OR instead of the AND so that was my bad
mistake. the subset function should also work with the OR.
i think i understand better what you want now also. the approach below
for doing what you want assumes that , if there are 2 rows associated
with the
values in the fi
By way of partial follow-up to my own question, and on the odd chance
anyone else wonders about this issue, some alternatives to this appear to
be in the leaps package, which implements the leaps routine (Mallows Cp)
and regsubsets. In my case Mallows' Cp does not work either (see below),
so I
i don't think i understood what you were trying to do, atleast based
on Henrique's solution which I haven't cut and pasted yet in order
to understand. Did Henrique's solution do what you wanted ?
On Wed, Aug 13, 2008 at 2:45 PM, Ralph S. wrote:
I tried this - I get an empty set:
<0 rows> (o
I tried this - I get an empty set:
<0 rows> (or 0-length row.names)
I guess this happens because the z variable takes only one value per row??
What works is:
DFsub<-DF[DF$z == 1 | DF$z == 2,]
but then, I do not eliminate the entries where there is only one entry for z
given an a and c combina
Ok, so basically I have a dataframe named data_frame
data_frame contains:
startdate
startprice
endpricethreshold1
endpricethreshold2
endpricethreshold3
all of these endpricethresholds are true/false binary vectors. They are
true or false depending on whether the endprice was above or below wha
On Wed, 13 Aug 2008, Pete Berlin wrote:
Hi all,
I'm having some difficulty passing arguments into lm() from within a
function, and I was hoping someone wiser in the ways of R could tell me
what I'm doing wrong. I have the following:
lmwrap <- function(...) {
wts <- somefunction()
print(wts)
Many thanks John, appreciate the advice,
Tolga
"John C Frain" <[EMAIL PROTECTED]>
13/08/2008 18:51
To
[EMAIL PROTECTED]
cc
r-help@r-project.org
Subject
Re: [R] which alternative tests instead of AIC/BIC for choosing models
My initial idea would be to forget about AIC and BIC, ask the qu
On 13-Aug-08 16:45:27, rcoder wrote:
> Hi everyone,
> I'm trying to create an "if" conditional statement with two conditions,
> whereby the statement is true when condition 1 AND condition 2 are met:
>
> code structure:
> if ?AND? (a[x,y] , a[x,y] )
>
> I've trawled through the help files, but I
FYI,
there is an isZero() in the R.utils package that allows you to specify
the precision. It looks like this:
isZero <- function (x, neps=1, eps=.Machine$double.eps, ...) {
(abs(x) < neps*eps);
}
/Henrik
On Wed, Aug 13, 2008 at 8:23 AM, Roland Rau <[EMAIL PROTECTED]> wrote:
> Hi,
>
> since
You can see the source code of demo script:
file.show(system.file("demo/labels.R", package = "lattice"))
On Wed, Aug 13, 2008 at 11:20 AM, Andrewjohnclose <[EMAIL PROTECTED]> wrote:
>
> Dear all,
>
> I am having a little trouble deciphering how to change the default x-axis
> labels in a lattice x
Dear “R” masters,
I am trying to conduct an ANOVA with repeated measures using the command
anova.mlm for data structured according to a Randomized Block Design.
I would like to account for a random effect but cannot find a way to
incorporate it in the analysis.
NB. I tried using the argument “M”
See:
?`&`
On Wed, Aug 13, 2008 at 1:45 PM, rcoder <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I'm trying to create an "if" conditional statement with two conditions,
> whereby the statement is true when condition 1 AND condition 2 are met:
>
> code structure:
> if ?AND? (a[x,y] , a[x,y] )
>
Hi all,
I'm having some difficulty passing arguments into lm() from within a
function, and I was hoping someone wiser in the ways of R could tell me
what I'm doing wrong. I have the following:
lmwrap <- function(...) {
wts <- somefunction()
print(wts) # This works, wts has the values I expec
if(cond1 && cond2) {
...
}
rcoder wrote:
Hi everyone,
I'm trying to create an "if" conditional statement with two conditions,
whereby the statement is true when condition 1 AND condition 2 are met:
code structure:
if ?AND? (a[x,y] , a[x,y] )
I've trawled through the help files, but I canno
Try this:
x
V1 V2 V3
1 a1 c1 1
2 a1 c1 2
3 a2 c1 1
4 a1 c2 1
5 a1 c2 2
lis <- split(x, list(x$V1, x$V2), drop = TRUE)
do.call(rbind, unname(lis[sapply(lis, function(x)all(1:2 %in% x[,3]))]))
On Wed, Aug 13, 2008 at 3:00 PM, Ralph S. <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a long m
Thank you so much, I have not much experience on outliers =), I thought that
there were nonparametric distribution-free outliers test =(. What is the
most general distribution I can use? I did histogram of my data set and
sometimes normal distribution seems to occur, sometimes an uniform
distribu
Hi everyone,
I'm trying to create an "if" conditional statement with two conditions,
whereby the statement is true when condition 1 AND condition 2 are met:
code structure:
if ?AND? (a[x,y] , a[x,y] )
I've trawled through the help files, but I cannot find an example of the
syntax for incorporat
Dear R users,
I am trying to reverse the orientation of axis labels and title in the right
margin of a plot, so that they read from top to bottom. I know that this can be
done using text() as follows:
par(mar=c(5,4,4,4)+.1)
plot(1:4,las=0)
par(new=T)
y <- rnorm(4)
plot(y,axes=FALSE,ann=FALSE,
Hi all,
I'm having some difficulty passing arguments into lm() from within a
function, and I was hoping someone wiser in the ways of R could tell me
what I'm doing wrong. I have the following:
lmwrap <- function(...) {
wts <- somefunction()
print(wts) # This works, wts has the values I expec
The example for learning tcl/tk under R at
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/OKtoplevel.html
suggests running it from batch - but when I do, the window flashes by and
the example ends. I'm under XP pro. Is there a workaround? Should I create a
modal window instead so it persists
Dear all,
I am having a little trouble deciphering how to change the default x-axis
labels in a lattice xyplot (or any type of lattice plot for that matter). I
have tried using the "demo("labels") function but the code is truncated at
precisely the wrong moment!
All I am trying to do is to add s
Hi,
I have a long matrix of the following form which I would like to subset
according to the third column:
[x y z]:
a1 c1 1
a1 c1 2
a2 c1 1
a1 c2 1
a1 c2 2
. . .
The first two columns a characters ai and cj.
I would like to keep all the rows where there are two entries for z, 1 and 2.
Tha
My initial idea would be to forget about AIC and BIC, ask the question
what would one expect to get in the regression and then regress y on
x1 and x2 and use a simple t-test to determine what should be
included. Remember that omitted variables will bias your coefficients
but if you include redunda
Dear R Users,
I am looking for an alternative to AIC or BIC to choose model parameters.
This is somewhat of a general statistics question, but I ask it in this
forum as I am looking for a R solution.
Suppose I have one dependent variable, y, and two independent variables,
x1 an x2.
I can per
The help page on binary operators (see ?"==") confirms that binary
representation of fractional representation is not catered for and
points to all.equal as a more suitable test method for those cases.
Steve E
>>> Thomas Lumley <[EMAIL PROTECTED]> 13/08/2008 16:47 >>>
Integers (up to a fairly hi
If you want the index, then use:
> system.time(y <- split(seq(nrow(x)), x$name))
user system elapsed
0.810.060.88
> str(y[1:10])
List of 10
$ 1 : int [1:454] 6924 17503 26880 39197 42881 50835 57896 62624
65767 75359 ...
$ 2 : int [1:440] 9954 25619 25761 33776 56651 60372 61042 6
split if probably what you are after. Here is an example:
> n <- 270
> x <- data.frame(name=sample(1:6000,n,TRUE), value=runif(n))
> # split it into 6000 lists
> system.time(y <- split(x$value, x$name))
user system elapsed
0.800.201.07
> str(y[1:10])
List of 10
$ 1 : num [1:45
Pedro Mardones wrote:
Thanks for the reply. The SAS output is attached but seems to me that
doesn't correspond to the wihtin-row contrasts as you suggested. By
the way, yes the data are highly correlated, in fact each row
correspond to the first part of a signal vector. Thanks anyway
PM
Ag
Wow great! Split was exactly what was needed. It takes about 1 second
for the whole operation :D
Thanks again - I can't believe I never used this function in the past.
All the best,
Emmanuel
2008/8/13 Erik Iverson <[EMAIL PROTECTED]>:
> I still don't understand what you are doing. Can you mak
Hi All,
I have 4000 case which have string variables in them, i want to do some
fuzzy matching and create a new variable that is of the same length with 0
or 1's
if i use the code
test<- agrep("web Klick",ETC$Exposure.Type , max = 2, ignore.case = TRUE)
it works but i get
> length(test)
[1] 3127
Sorry for being unclear, I thought the example above was clear enough.
I have a data frame of the form:
name info
1 YAL001C 1
2 YAL001C 1
3 YAL001C 1
4 YAL001C 1
5 YAL001C 0
6 YAL001C 1
7 YAL001C 1
8 YAL001C 1
9 YAL001C 1
10 YAL001C 1
.
Barry Rowlingson wrote:
2008/8/13 Ben Bolker <[EMAIL PROTECTED]>:
Barry Rowlingson lancaster.ac.uk> writes:
oe
So he tried mouse buttons in combination. Holding B1 and then B3 and
moving the mouse resulted in a zoom operation. Holding first B3 and
then B1 resulted in rotation functionality. B
Integers (up to a fairly high limit) are represented exactly, as are fractions
whose denominator is a power of two (again up to a fairly high limit), so x==0
is fine in that sense.
If x is computed by floating point operations you do have to worry whether
these are exact, eg, with
x<-seq(-1
I still don't understand what you are doing. Can you make a small
example that shows what you have and what you want?
Is ?split what you are after?
Emmanuel Levy wrote:
Dear Peter and Henrik,
Thanks for your replies - this helps speed up a bit, but I thought
there would be something much fas
2008/8/13 Ben Bolker <[EMAIL PROTECTED]>:
> Barry Rowlingson lancaster.ac.uk> writes:
>
>>
>> I have just encountered the problem with rgl where plot3d figures
>> don't interact with the mouse. My plots zoom in and out with the mouse
>> wheel but the mouse buttons do nothing. I can't rotate the pl
Hi R users,
I have a xml file. A value of one of the nodes of the xml file is a bmp
image(RAW format) encoded in base64. I would like to read this image by R. I
think I should do the following steps:
1. Decoding it from base64 to binary.
2. Removing the header of the image file
3. building the mat
Dear Peter and Henrik,
Thanks for your replies - this helps speed up a bit, but I thought
there would be something much faster.
What I mean is that I thought that a particular value of a level
could be accessed instantly, similarly to a "hash" key.
Since I've got about 6000 levels in that data f
Hi,
since many suggestions are following the form of
x[x==0] (or similar)
I would like to ask if this is really recommended?
What I have learned (the hard way) is that one should not test for
equality of floating point numbers (which is the default for R's numeric
values, right?) since the bina
Hi Rhelpers,
Thanks a lot, Stephen, for showing me the way to get a data frame into a
pasteable format with the dput command.
My code is given below with the new correction. This should work, as Stephen
says, right off the bat :-)
## df1 is the first data frame
df1 <-structure(list(Year = struct
On Wed, 13 Aug 2008, Birgitle wrote:
Thanks again.
Unfortunately I have always this missing values problem.
But the missings have also a meaning and its impossible to code it
differently or impute.
That's ok. Just to clarify: NAs are not allowed in the response or the
modeling variables. In p
Thanks again.
Unfortunately I have always this missing values problem.
But the missings have also a meaning and its impossible to code it
differently or impute.
Also thanks for the explanation. Now I understand.
B.
Achim Zeileis wrote:
>
> On Wed, 13 Aug 2008, Birgitle wrote:
>
>> Many thank
Thanks for the reply. The SAS output is attached but seems to me that
doesn't correspond to the wihtin-row contrasts as you suggested. By
the way, yes the data are highly correlated, in fact each row
correspond to the first part of a signal vector. Thanks anyway
PM
On Wed, 13 Aug 2008, Birgitle wrote:
Many thanks for your answer and the code that you offered me.
I get this error message after calling mob (look at my given example).
I guess it has something to do with the missings?
Yes, you have to handle NAs in advance if you want to fit that model.
We
Brandeis Library and Technology Services is looking for a consultant in
the R programming language to help develop a particular statistical
analysis of student grades we've undertaken with a faculty member at
Brandeis.
Anyone interested may contact me at the information below. Thank you!
Da
Many thanks.
Much easier than my solution
B.
Birgitle wrote:
>
> I just started to write tiny functions and therefore I appologise in
> advance if I am asking stupid question.
>
> I wrote a tiny function to give me back from the original matrix, a matrix
> showing only the values smaller -0.
You can do this:
ifelse(XY >= 0.8 | XY <= -0.8 | is.na(XY), XY, "low corr")
On 8/13/08, Birgitle <[EMAIL PROTECTED]> wrote:
>
> I just started to write tiny functions and therefore I appologise in advance
> if I am asking stupid question.
>
> I wrote a tiny function to give me back from the origi
Hi,
I have two (different types of) measurements, say X and Y, resulting from
the same set of experiments. So X and Y are paired: (x_1, y_1), (x_2, y_2),
...
I am trying to calculate the standard deviation of Y with respect to X. In
other words, in terms of the scatter plot of X and Y, I would li
I just started to write tiny functions and therefore I appologise in advance
if I am asking stupid question.
I wrote a tiny function to give me back from the original matrix, a matrix
showing only the values smaller -0.8 and bigger 0.8.
y<-c(0.1,0.2,0.3,-0.8,-0.4,0.9)
x<-c(0.5,0.3,0.9,-0.9,-0.7
Many thanks for your answer and the code that you offered me.
I get this error message after calling mob (look at my given example).
I guess it has something to do with the missings?
The iris example works also fine for me.
Sorry that I am not enough into statistics to really understand the
fol
Barry Rowlingson lancaster.ac.uk> writes:
>
> I have just encountered the problem with rgl where plot3d figures
> don't interact with the mouse. My plots zoom in and out with the mouse
> wheel but the mouse buttons do nothing. I can't rotate the plot.
>
> This has been mentioned and discussed h
not reproducible
On Wed, Aug 13, 2008 at 9:07 AM, ravi <[EMAIL PROTECTED]> wrote:
> Hi Rhelpers,
> I would like to have some help with a plot which is beyond my capabilities.
> This plot that I am seeking involves an overlay of two different barcharts
> and one xyplot.
> The code that I have use
zoo and merge.zoo- read the help files. Use chron to generate a list
of dates that correspond to the one that you want, and then merge
away.
This should get you started
Stephen Sefick
On Wed, Aug 13, 2008 at 9:08 AM, Erik Iverson <[EMAIL PROTECTED]> wrote:
> rcoder wrote:
>>
>> Hi everyone,
>>
>
Try this:
x <- data.frame(Dates = seq(as.Date('2008-01-01'),
as.Date('2008-01-31'), by = 'days'),
Values = sample(31))
subset(x, Dates %in% as.Date(c('2008-01-05', '2008-01-20')))
On 8/13/08, rcoder <[EMAIL PROTECTED]> wrote:
>
> H
rcoder wrote:
Hi everyone,
I want to extract data from a data set according to dates specified in a
vector. I have created a blank matrix with row names (dates) that I want to
extract from the full data set. I have then performed a merge to try to o/p
rows corresponding to common dates to a resu
Hi Rhelpers,
I would like to have some help with a plot which is beyond my capabilities.
This plot that I am seeking involves an overlay of two different barcharts and
one xyplot.
The code that I have used is the following :
#save(df1,file="M:\\KBR\\df1.RData")
load(file="M:\\KBR\\df1.RData")
# d
Hi everyone,
I want to extract data from a data set according to dates specified in a
vector. I have created a blank matrix with row names (dates) that I want to
extract from the full data set. I have then performed a merge to try to o/p
rows corresponding to common dates to a results matrix, but
Hi everybody,
Performing a stepAIC on a glm.nb object, from a database of more than
10,000 records and about 50 independent variables, on a 64-bit
workstation with two Intel Xeon 3.20Ghz processors (keeping the
HyperThreading option disabled in the BIOS), using 4 out of 7Gb
available RAM, and
On Wed, 13 Aug 2008, Christophe Dutang1 wrote:
Hi,
I'm currently R porting SF Mersenne Twister algorithm of Matsumoto and Saito.
To get the full power of their code, I want to use their fonction
fill_array32 which need aligned memory. That is to say I need to use the C
function memalign on w
On Wed, 13 Aug 2008, Birgitle wrote:
I try tu use mob() with my data.frame ('data.frame':288 obs. of 81
variables; factors, numerics and ordered factors)
My response is a binary variable and I should use for modelling a logistic
regression (family=binomial).
I read in the "MOB" Vignette th
Two days ago I installed compiz on my Debian laptop. It plays fine with the
OpenGL games that I also have on that computer. (My son plays the games in the
brief interludes between my intense R hacking sessions. I, of course, have no
time for such frivolity. The production cycle is sleep -> eat -
Here is an example that produces the same error:
Read in the following as textfile (save as DFExample.txt):
1 2 3 4 7 8 9 10 12
13 14 15 16 17 18 19 21 22 23
25 27 28 29
I have just encountered the problem with rgl where plot3d figures
don't interact with the mouse. My plots zoom in and out with the mouse
wheel but the mouse buttons do nothing. I can't rotate the plot.
This has been mentioned and discussed here and in other lists before,
and the solution is to tur
Hello
I worked on threshold cointegration for my master thesis and wrote code
for R. This code will be published in a next release of package tsDyn,
when I will have time to finish it (there is a difference between using
its own code and making it avalaible on R... I did'nt realize there is
s
>>> giov <[EMAIL PROTECTED]> 13/08/2008 10:59:32 >>>
> just a question...I don't know
>what is the distribution of my data (normal, T, etc...). So, how can I
set
>the type parameter?
You must assume an underlying distribution or you can't do an outlier
test.
Outliers are just unusually extrem
I've added a couple of workarounds to this in R-patched and hence the
upcoming R 2.7.2.
1) There is a new menu item on Rgui to go directly to SearchEngine.html.
2) help.start() has a new argument searchEngine=TRUE to do the same.
R 2.7.2 is 12 days' away, so it would be appreciated if Firefox
For the first question, you have provided the answer --
try(nls(...)). Was there something else you wanted?
For part 2, this should work:
for (i in names(myData)[-1]){ # skip first column with "Time"
write.table(myData[, c("Time", i)], file=i)
}
> 1) How can use the function try in nls mo
Hi,
It may be a problem with the mirror and my location. However, I should
have added that the following packages had no problems installing from
that mirror and location, which is why I suspected it was something more.
RBloomberg
strucchange
car
lmtest
nlme
corrgram
RODBC
MSBVAR
xtable
vars
ts
It works from my home ISP (Virgin Media) and from .ox.ac.uk, so I think
the problem is local to you, perhaps your DNS server. Ask you IT support
for erm ... support.
Please do try to use an accurate subject line (see the posting guide).
(Why don't peoople just try a different mirror or some I
Dear All,
I have these problems:
1) How can use the function try in nls model:
try(nls(...))
2) I have 100 colun with data and I want ro prepare 99 file with the first
colun with the others
Time A1 A2 A3 A4 AN.
I want to have 99 files with
a)Time and A1
b)Time and A2
n) Time AN
thanks f
Dear R Users,
Is there a known problem with downloading packages robustbase and tseries
from the UK CRAN website ?
Thanks in advance,
Tolga
=
R version 2.7.1 (2008-06-23)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3
"JPB" == "John P. Burkett" <[EMAIL PROTECTED]>
on Tue, 12 Aug 2008 10:46:28 -0400
JPB> Running R version 2.6.1 under Gentoo Linux and using the fPortfolio
JPB> package, I am having trouble specifying a sector constraint. One of the
JPB> constraints to be imposed is that assets
1 - 100 of 110 matches
Mail list logo