Displaying 20 results from an estimated 1300 matches similar to: "(no subject)"
2008 Jun 21
2
Generating groupings of ordered observations
Dear List,
I have a problem I'm finding it difficult to make headway with.
Say I have 6 ordered observations, and I want to find all combinations
of splitting these 6 ordered observations in g groups, where g = 1, ...,
6. Groups can only be formed by adjacent observations, so observations 1
and 4 can't be in a group on their own, only if 1,2,3&4 are all in the
group.
For example,
2003 Sep 14
2
Convert decimal to binary data
Hi,
I would like to convert a decimal into a binary number, for instance :
2->(1,0)
Any one knows how to do that ?
Thanks a lot
paul
---
[[alternative HTML version deleted]]
2003 Oct 08
3
2 questions regarding base-n and identifing digits
Dear listers,
I have two questions:
(1)
Is there a way in R to change the base-n of the calculations. I wnat to run
some calculations either in binary (base-2) or base-4. Is there a way to
specify that in R - to chnage from the decimal?
(2)
I also want to extract the digits from a larger number and store them as a
vector.
I could do it through converting top string, parsing the string and
2005 Oct 20
5
spliting an integer
Hi there,
From the vector X of integers,
X = c(11999, 122000, 81997)
I would like to make these two vectors:
Z= c(1999, 2000, 1997)
Y =c(1 , 12 , 8)
That is, each entry of vector Z receives the four last digits of each entry of X, and Y receives "the rest".
Any suggestions?
Thanks in advance,
Dimitri
[[alternative HTML version deleted]]
2002 Dec 18
2
weibull test
Hello
What is the appropriate method to test if a given distribution is a
weibull
thank you
meriema
email
meriema.belaidouni at int-evry.fr
2000 Nov 05
2
hello
Hello,
I am a new user.
I would like to know if it is possible with R to fix the position of
ticks.
for example for my plot I obtained automatically the positions
200,400,600,800 and 1000 on x axis and so a scale of 200
But I would like to obtain
100,200,300,400,500,600,700,800,900,100 so a scale of 100.
Which fonction can help me to do so?
thank you
meriema
2001 May 28
3
normality test
Hello
I have used recently the kolmogorov smirnov test,
which is a test of normality.
This test is named ks.test() in ctest library of R.
I wonder if the results of ks.test () are true, because
the results are strange, time to time.
thank you for help
meriema
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2001 Jan 14
1
ar(1)
hello,
can some body help me to get
the residuals and the variance of coefficient after an autoregressive
fit.
These values are present in the ar function of the package ts.
But I don't know how to makes it work.
thank you.
meriema
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2004 Feb 06
1
0.1 + 0.2 != 0.3 revisited
Prompted by Peter Dalgard's recent elegant "intbin" function,
I have been playing with the extension to converting reals to binary
representation. The decimal part can be done like this:
decbase <- function(x, n=52, base=2) {
if(n) {
x <- x*base
paste(trunc(x), decbase(x%%1, n-1, base), sep="")
}
}
n=52 default because that's the number of bits in
2001 Jan 10
2
R and memory
Hello
I have some problems to read large data file with R.
can someone tell me why running
R --visze=30M --nsize=2000k
uses in fact 63M?
thank you
meriema
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2000 Nov 06
6
unix
hello
Is it possible to execute Unix command from R prompt?
for example
ls
cd ..
In matlab this possible by adding "!"
!ls
!cd ..
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not
2000 Nov 06
6
unix
hello
Is it possible to execute Unix command from R prompt?
for example
ls
cd ..
In matlab this possible by adding "!"
!ls
!cd ..
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not
2003 Oct 21
2
report generator a la epiinfo
Hi
I'd like to use R in epidemiology and disease surveillance.
In EpiInfo you can have a script (.pgm) which calls a predefined report
(.rpt), where a table is calculated and values picked from that table
and placed where the author of the report wants them, with text around
those values. (Please see example below.)
I've looked at manuals, faq, mail-search and google. The closest is an
2004 Mar 31
11
Zero Index Origin?
I'm very new to R and utterly blown away by not only the
language but the unbelievable set of packages and the
documentation and the documentation standards and...
I was an early APL user and never lost my love for it and in
R I find most of the essential things I loved about APL
except for one thing. At this early stage of my learning I
can't yet determine if there is a way to
2000 Nov 14
3
2 plots 1 figure
How do you obtain two plots on the same figure?
for example
plot(rnorm(100)
plot(rnorm(100),type="l")
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2002 Dec 09
2
APL?
Hi,
is anybody out there who knows APL and would help me to translate 52
lines of APL code into propper R?
best,
Torsten
2001 May 28
1
normality test ks.test
hello,
here are some problems with ks.test.
Do you think these values are consistent?
(2 e^{-1} means 0.2 )
data file name& sample size& D & pvalue
A&10.000&0.4202&<2.2 e^{-16}\\
B&10.000&04294&<2.2 e^{-16}\\
C &10.000&0.4484&<2.2 e^{-16}\\
D&10.000&0.4569&<2.2 e^{-16}\\
E&50.000&0.4015&<2.2 e^{-16}\\
2008 Aug 20
1
FYI: APL in R
http://idisk.mac.com/jdeleeuw-Public/utilities/apl/apl.R
Dedicated to the IBM 2741.
Implemented for general multidimensional arrays:
drop, take, reshape, shape, rank, select, generalized inner product,
generalized
outer product, representation, base value, join, expand, reduce, scan,
member of, ravel, compress, tranpose, rotate
Basically, the APL-I part is complete, and after some testing
2015 Apr 28
5
CENTOS not DoD approved
nowhere does it say that centos is approved for use in DoD. it is not on
the APL, only RedHat and SuSE
2003 Oct 21
5
do.call() and aperm()
Hi everyone
I've been playing with do.call() but I'm having problems understanding it.
I have a list of "n" elements, each one of which is "d" dimensional
[actually an n-by-n-by ... by-n array]. Neither n nor d is known in
advance. I want to bind the elements together in a higher-dimensional
array.
Toy example follows with d=n=3.
f <-