are packages, not libraries.
You need to call library(cluster) in order to load package cluster
from your library before using agnes() and her friends.
Uwe Ligges
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
version 2.4.1 in Ubuntu 7.04.
Does not happen for me, neither with R-2.4.1 nor with recent versions of
R. Maybe you have redefined one of the used objects (aggregate,
warpbreaks, wool, tension, sum) in one of your environments?
BTW: Is is always a bad idea to make much use of attach()...
Uwe
is highly appreciated!
coefficients(summary(glm()))
Uwe Ligges
Eric
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
some advice?
matrix(unlist(lista), ncol=50)
Uwe Ligges
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal
to stack the title the upper line is out of
bounds and doesn't show up.
I am outputting to pdf.
Any help? Thanks, Mark
Use par() to set that parameter of the device as in:
par(cex.main=1)
heatmap(.)
Uwe Ligges
heatmap(x = dataM, RowSideColors = RowSideColors,
ColSideColors
Barbara Diane-Spillmann wrote:
dear all,
does anybody know if cor.test with method=kendall calculates kendalls
tau a b or c? I need to get p values for kendalls tau c...
May I ask what the difference between Kendall's tau a, b and c is? Any
references?
Uwe Ligges
thank you very much
aroma, it is neither
on CRAN nor in the BioC repositories.
3. Can you please also try to make your example smaller?
4. The convention is to save R objects in .Rdata files, but to have R
code in .R files.
Uwe Ligges
Johanna
== xycords[x,1]) *
(iris.som3$visual[,2] + 1 == xycords[x,2]) == 1)),
collapse = ;))
text(cbind(xycords[,2], xycords[,1]), labs, cex=0.75)
Uwe Ligges
ebi wrote:
Dear All,
Would you please tell me how to display the sample No. on the map ?
---Below commands don't
Johanna Hasmats wrote:
Hi!
How can I get around in R 2.5.1 in Windows:
Error in strsplit(linebuffer, ) : object linebuffer not found
Why should this be a bug in R, if you have no object named linebuffer
in the environments that are on the search path.
Uwe Ligges
there are no really stable gcc compilers available for that
platform yet. You are welcome to contribute patches that make R work
under 64-bit Vista with some compilers, of course.
Uwe Ligges
Greeting - Jan Budczies
[[alternative HTML version deleted
(mydf$State)
Then you can ask
xyplot(PctRecurr ~ Position | State, data=mydf, layout= c(5,1))
or perhaps:
xyplot(PctRecurr ~ Position | State, data=mydf, layout= c(5,1),
scales=list(axs='i'))
Uwe Ligges
Richard Yanicky wrote:
Uwe,
Here is some code to create some data then a plot
The derived information matrix is not of full rank for your data.
See the code of the functions, which is not that hard to read.
Uwe Ligges
MANASI VYDYANATH wrote:
You have my sincere apologies for the incompleteness of my message.
I have given the details below, including my dataset
doing something wrong that the previous versions of
R didn't warn me about? Or is this warning message unwarranted? Is there a
fully approved method for getting the same functionality? Thanks!
Yes, correct usage is either
gsub ( \\_+, ., AAA_I)
or
gsub ( \\_+, \\., AAA_I)
Uwe Ligges
/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Uwe Ligges
Thank you for your time in reading this question -
Cordially,
Manasi
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
dense, but
there is no reproducible example in your message.
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Uwe Ligges
Regards
__
R-help
with R or usage of R
functions, then please give us a reproducible example.
Uwe Ligges
Kind regards,
Tom W.
Disclaimer: click here
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
What about trying to use a database system and make queries?
If you are at the end of a file, you will read elements of length 0...
Uwe Ligges
Yuchen Luo wrote:
I am using a for loop to read a table row by row and I have to specify how
many records are there in the table. I need to read row
…… more states
Sounds like the lattice package does exactly what you want, but without
any reproducible example.
Uwe Ligges
The values are all stored with a single data frame. I have tried different
things with the axis function and done many searches for plotting. Can’t find
ticks on x-aixs and all 10
ticks on y-axis, because R leaves some ticks unlabeled.
So either make the font size smaller or rotate the labels...
Uwe Ligges
Thank You
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r
it happen.
If lattice is not what you want, I do not understand what you mean. Can
you give a more elaborated example, please?
Uwe
HELP!
Richard
-Original Message-
From: Uwe Ligges [EMAIL PROTECTED]
Sent: Aug 30, 2007 5:59 AM
To: Richard Yanicky [EMAIL PROTECTED]
Cc: r
Jorge Cornejo Donoso wrote:
Hi i have to table with IDs in each one.
I want to make a join (as in sql) by the ID. Is any way to use the RODBC
package (or other) in local tables (not a access, mysql, sql, etc. ) and
made the join?
I guess you are looking for ?merge
Uwe Ligges
:
order() identifiers by date, make them unique() and assign them to a new
levels object. Then make them ordered factors:
factor(some_column, levels=levels, ordered = TRUE)
and then as.numeric(factor_object) is what you are going to get.
Uwe Ligges
I can solve both problems in fortran, so
function any more.
Hence do *not* define the new plot() function above. The rest should work.
Uwe Ligges
setGeneric(plot)
plot.polygon - function(x, y, ...) {
xlim - range([EMAIL PROTECTED])
ylim - range([EMAIL PROTECTED])
plot(0,0, type = n, xlim = xlim, ylim = ylim
won't
make use of bigger L2/L3 caches in Xeon processors.
You really ought to build ATLAS for yourself if numerical
linear algebra performance matters to you (and it makes little difference
to most people: I think Uwe Ligges quoted 10% for testing all CRAN
packages).
Right, it depends
livia wrote:
Hello, I would like to plot a histogram with title Return, and I would like
the font for the title to be Bold and the size to be 8( as in Excel).
I tried the following code, but it does not make any change. Could anyone
give me some advice?
See ?par.
Uwe Ligges
hist
Your examples are not reproducible. Hence hard to tell what goes wrong.
There never was an R version 1.51.
Please use a current version of R and read the pposoting guide.
Uwe Ligges
Lindveld, Charles wrote:
I have run into some surprising behaviour when plotting data in a 3x2
grid:
random
based while
5000 and former CPUs were NetBurst based.
Uwe Ligges
Again, many thanks for all your advice!
Best,
Hui
Uwe Ligges [EMAIL PROTECTED] wrote:
Prof Brian Ripley wrote:
On Tue, 28 Aug 2007, hui xie wrote:
hi everyone:
I have a Dell Server that has a Xeon processor
installed, among them akima.
Uwe Ligges
Loading required package: akima
Error: package 'akima' could not be loaded
In addition: Warning message:
there is no package called 'akima' in: library(pkg, character.only = TRUE,
logical = TRUE, lib.loc = lib.loc
on the specified line.
(Note that this differs from S, which uses srt if at is supplied and las
if it is not.)
Please also note that you can look into the R-help archives before
posting questions that have been answered dozens of times already - as
the posting guide to this list asks you to do.
Uwe Ligges
”
a factor f to its original numeric values, as.numeric(levels(f))[f] is
recommended and slightly more efficient than as.numeric(as.character(f)).
Hence as.numeric(levels(f))[f] is the way to go.
Best,
Uwe Ligges
why is it not 896 as it should be?
This is true fr the whole vector.
Thanks
W.P
read the help pages more carefully! You
found par(mfrow), what about reading the help page and switching to c(2,1)?
Uwe Ligges
# ecdf
library(plotrix)
x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2)
F2.5 - ecdf(x)
plot(F2.5,
verticals= TRUE,
do.p = TRUE,
lwd=3,
ylab = ,
xlab
squall44 wrote:
Hello,
I wanted to create a histogram, but somehow I got stuck...
The interval limits are: x = 1, 2, 3, 3.5, 4.5, 5, 5.5
The interval widths are therefore: 1, 1, 0.5, 1, 0.5, 0.5
Please read the help page more carefully! See ?hist and its argument
breaks.
Uwe Ligges
with all the possibilities in axis, par and plot
You can add the year numbers manually with mtext() (for plotting text
into the margins).
Uwe Ligges
thanks for your help
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
= breaks,
xlim=c(0,7),
ylim=c(0,5))
#---
...which didn't work.
Well, breaks means breaks, not the widths of the bins, hence
hist(youData, breaks = c(1, 2, 3, 3.5, 4.5, 5, 5.5))
is what you want, but that is meaningsless since you have not yet given
any data.
Uwe Ligges
I tried
called T. Some people still use
it as a logical value even if they should not.
b) R does not need any ; at the end of a line.
Uwe Ligges
for (i in 1:T) {
for (j in 1:4) {
if (i==j) {
br[i,j] - 1;
}
else if ((abs(i-j)%%4)==0) {
br[i,j] - 1
sometimes all my Y2's are 0. Is there any way to accomodate this
problem.
Yes, for example drawing samples stratified by the values of Y1 or Y2.
Uwe Ligges
Thanks in advance.
Regards
Anup
-
[[alternative HTML version deleted
(Numerical Analysis in general...)
For numerical optimization see ?optim which implements several methods.
Uwe Ligges
Are there any packages separately for this?
Thanks for your help!
BR, Shubha
[[alternative HTML version deleted
,
xlim = c(1,5.5))
abline(h= (0:5)*0.2)
See ?mtext for adding text into the margins.
Uwe Ligges
Now I would like to label the points on the x-axis where there is an
x-value:
http://www.nabble.com/file/p12231344/figur.gif
I don't know how to do that... can anyone help me?
Thanks
cannot
be plotted by boxplot itself. You can use bxp() to do so.
Uwe Ligges
...but this doesn't...
x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2)
F26 - boxplot(x)
plot(F26,
add=FALSE,
horizontal=TRUE,
main=Figur 2.6 Boxplot,
axes=FALSE)
Thanks for any help
example to the package maintainer.
Uwe Ligges
Walter Rojas wrote:
Dear R team,
The following piece of code (to use the lsa package) works fine on my
mac os x, but when I run the same code on Windows XP, it doesn't work
any more.
### code:
library(lsa)
matrix1 = textmatrix(C
that calculates the square root of x, then
myfoo - function(x){
sqrt(x)
}
is your function:
myfoo(4)
Uwe Ligges
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R
i have to
delete and install again the programme R.
Why?
Are there another method for installing the package?
Which one are we talking about? Or do you mean R itself? In that case,
what is your OS etc.? Again, please read the posting guide.
Uwe Ligges
thank you
/09/2006 03:38:37, %d/%m/%Y %H:%M:%S)
in order to get some POSIXlt object for later calculations.
3. What do you mean with
time[j] is between 22:00:00 and 05:59:59
Is the day of the date important or not for this comparison?
Uwe Ligges
I still have error messneger
Thank you
Matthew Walker wrote:
Uwe Ligges wrote:
Henrique Dallazuanna wrote:
Hi,
Try whit:
if(time[j] = 18:00:00 23:59:59)
This code is obviously wrong and does not help for the next few lines
in the questioner's message, please do not post unsensible stuff.
Uwe Ligges
I think I asked you yesterday on the [EMAIL PROTECTED] account to read the
posting guide *before* posting to R-help and I asked you not to
SHOUT!!!
Uwe Ligges
lecastil wrote:
Good day. I am employed at a public entity that handles million
information and records of several
package klaR, the help page tells you that
gamma=0, lambda=1
should produce identical results to LDA. (lambda=1 means that the pooled
covariance matrix is weighted with 1 while the specific covariance
matrices are weigthed with 0.
Uwe Ligges
Here my code:
LDA model:
===
% x
as when i=3 (10)
Y - cumsum(table(factor(x[,2], levels=0:40)))
Uwe Ligges
I would really appreciate if anyone could help me with this one:)
Jan Moberg
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
(see previous emails)
Is there any websites etc. that explain this sort of thing?
Please read the posting guide.
After that, type:
RSiteSearch(legend margin)
Currently, the fourth entry shows a solution:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/67979.html
Uwe Ligges
Dan
Henrique Dallazuanna wrote:
Hi,
Try whit:
if(time[j] = 18:00:00 23:59:59)
This code is obviously wrong and does not help for the next few lines in
the questioner's message, please do not post unsensible stuff.
Uwe Ligges
...
BTW: I don't think the rest of your code is sensible (at least, some
braces are missing).
Uwe Ligges
if time is between 22:00:00 and 05:59:59 == L - L+10 and W -
10^((L+10)/10)
else
L=L and W = W
Could someone help me to realize this function please? You will find my
following
Baoqiang Cao wrote:
Dear All,
I'd like to know which weekday it is for any given date, such as, what is
the weekday for 2006-06-01? Any help will be highly appreciated.
See ?weekdays
Uwe Ligges
Best,
Baoqiang
[[alternative HTML version deleted
/mpetresc/postscript.files/horiz.false.ps). I
am not sure what is wrong. Plots are created with filled.contour.
I guess this is a misconfiguration of your GSview. The plots are fine
for me. Anyway, you might also want to set the argument
paper=special in the postscript() call.
Uwe Ligges
/include -Wall -O3 -std=gnu99 -c dmypow.c -o dmypow.o
windres -I t:/R/include -i dmypow_res.rc -o dmypow_res.o
gcc -shared -s -o dmypow.dll dmypow.def dmypow.o dmypow_res.o
-Lt:/R/bin-lR
Uwe Ligges
Albrecht, Dr. Stefan (APEP) wrote:
Dear all,
I have problems to compile a DLL
2008-03-31: early registration deadline:
2008-03-31: submission deadline of abstracts
2008-05-15: notification of acceptance
2008-05-31: regular registration deadline
2008-07-25: registration deadline
We hope to meet you in Dortmund!
The conference committee:
Uwe
)
# matrix of all pairwise combinations
cmat-combn( n, 2)
One example is:
n - 3
bmat - as.matrix(expand.grid( rep( list(1:0), n))[, n:1])
library(combinat)
cmat-combn( n, 2)
apply(cmat, 2, function(x) as.numeric(bmat[,x[1]] bmat[,x[2]]))
Uwe Ligges
temp-matrix(NA, nrow(bmat
]
## library(HH)
library(lattice, lib.loc=C:/PROGRA~1/R/R-2.4.1/library)
It is essential not to use a lattice version designed for R-2.4.1 with
R-devel... And I don't see a reason, and in some cases, switching to
another major version of R requires recompiling of packages anyway.
Uwe Ligges
hotdog
[EMAIL PROTECTED] wrote:
Hello and sorry to bother.
Please help.
I searched the archives but could not find out why --args is being ignored
on Windows 2000.
That does not work with R CMD BATCH, AFAIK. In fact, you want to use:
Rterm --no-save --args 12 11.R 11.Rout
Uwe Ligges
I
Mario Alfonso Morales Rivera wrote:
Dear R users,
When I use beamer with \usepackage{harvard} it don't work.
Why is this related to R? I do not see any connections here.
Uwe Ligges
\LaTeX{} give mi an error message, ¿any suggestion?
! LaTeX Error: No counter 'paragraph' defined
justin bem wrote:
Is it possible to realise slides with R ?
If you want to combine LaTeX and R code, take a look at SWeave.
Uwe Ligges
Justin BEM
BP 1917 Yaoundé
Tél (237) 99597295
(237) 22040246
- Message d'origine
De : Uwe Ligges [EMAIL PROTECTED]
À : Mario Alfonso
Insightful people and myself) are on the way to release a new
version based on OpenBUGS 3.x.y.
Uwe Ligges
Thanks Toby
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
'.' 0.1 ' ' 1
i.e. *** for values 0.001; * for values in [0.01, 0.05) etc.
Uwe Ligges
Is it the same as Tukey test that tells me which
treatment is different from which? i.e. is trtp (with *) significantly
different to the control (which, by the way do not appear in this list and I
do not know
, as the manual you cited
suggests.
Uwe Ligges
Tao
_
Need a brain boost? Recharge with a stimulating game. Play now
addition, for example, data objects name+2.
Thanks for your help.
Example:
function1(var1,var2)
function2(var1)
function2(var2)
...
Can you explain what you want in an example, please? I do not really
undertsand what you are trying to do.
Uwe Ligges
With my best regards
to the functions. If not, you have to look
into the sources and generalize ...
Uwe Ligges
Thanks
faith1
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
release.
Uwe Ligges
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
= turnout)
has at different times worked fine and thrown up the error message.
So you tell us the some package influences Zelig's functionality, but
how can we help if you do not tell us which one it is?
Uwe Ligges
Any help gratefully received.
__
R
symbol line widths.
'lwd' is documented in ?gpar (the help page does not show up for me,
I'll take a closer look why) and works for me:
xyplot(1:10 ~ 1:10, type = l, lwd = 5)
Uwe Ligges
I've tried looking through the documentation for xyplot, panel.points,
trellis.par.set, and the R-help
.
Hence you need to predict in another resolution, e.g.:
dat - data.frame(x = seq(1, 10, by = 0.1))
plot(predict(w, newdata = dat), type=l)
Uwe Ligges
Many thanks,
Andrew Wilson
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch
in the correct way.
Uwe Ligges
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
), then the error message tells you there is a rank
deficiency, i.e. some variables might be collinear.
Hence at least one of the covariance matrices cannot be inverted.
Uwe Ligges
Thank in advance,
Mauro Rossi
ConnectNamedPipe 317
This is wine, not R2WinBUGS nor WinBUGS nor R, I fear, and the fixme:
sounds promising that things go away in a more recent version of wine...
Uwe Ligges
R SOURCE FILE:
rm(list=ls(all=TRUE))
library(R2WinBUGS)
inits-function(){
list(alpha0 = 0, alpha1
(and it should be the default).
Hence install.packages(RMySQL) shoudl work.
Uwe Ligges
however, one does exist and I suggest you contact the
maintainer, David James or the r-sig-db list. If those don't get it for you
send me an email off list and I will send you mine.
I have only used the Windows
.
I'll put it on the ToDo list.
Best,
Uwe Ligges
Thanks Toby
data - list(.)
model - function() {
[omitted]
}
write.model(model, cwk.txt)
inits - function() {.}
parameters - c(b, nu, S1, S2)
sim - bugs(data, inits, parameters, cwk.txt, n.chains=1
G. wrote:
Hello to all of you, R-expeRts!
I am trying to compute the cor.test for a matrix that i labelled mydata
according to mydata=read.csv...
then I converted my csv file into a matrix with the
mydata=as.matrix(mydata)
NOW, I need to get the p-values from the correlations...
I can
, taking into the multiple
comparisons?
So what is you hypothesis? Statistical significance of what it to be tested?
Uwe Ligges
The table can be set up using the following program:
a-matrix(data=c(16,71,37,0,4,61,1,6,57),nrow=3,byrow=TRUE)
Thanks very much
, hist_data1$density)
but the line is shifted in respect to the center of the bars. how can I
properly plot the line? another question. this is easy, how can I smooth the
curve (not fit with loess of spline)?
If you do not tell us which kind of smoother you prefer
Uwe Ligges
tnx
that conflicts with objects that are
required to call summary(lm(...)). E.g. some lm... oder summary... function?
Best,
Uwe Ligges
Thanks,
Thierry
ir. Thierry Onkelinx
Instituut voor natuur- en
A statistical analysis, properly conducted, is a delicate dissection of
uncertainties, a surgery of suppositions. ~M.J.Moroney
-Oorspronkelijk bericht-
Van: Peter Dalgaard [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 19 juli 2007 13:37
Aan: ONKELINX, Thierry
CC: Uwe Ligges
$cn)
gives back all 72 cultivar names used during the five years (starting with
Arcadia).
Where do I go wrong and how do I use subset in a proper way?
So you have to drop the levels you are excluding. Example:
x - factor(letters[1:4])
x
x[1:2]
x[1:2, drop=TRUE]
Uwe Ligges
: infinite
recursion / options(expressions=)?
So, does it help to increase the thresholds?
If not, please specify a easily reproducible example that helps us to
investigate your problem.
Best,
Uwe Ligges
However, if I used default parameters for distfunction:
heatmap(X, hclustfun=function
!
If you have:
df - data.frame(index = c(1, 4, 7), x1 = 1:3, x2 = 3:1)
df
Then you can say:
temp - data.frame(index = 1:max(df$index))
df - merge(temp, df, all.x = TRUE)
df
Uwe Ligges
Thank you
__
R-help@stat.math.ethz.ch mailing list
https
those unwanted obs.?
I appriciate the help,
sigalit.
subset(data, mort30 != 1)
Uwe Ligges
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
Ali raza wrote:
Hi Sir
I am very new user of R for the research project on multilevel
logistic regression. There is confusion about bugs() function in R
Do you mean bugs() from package R2WinBUGS?
Yes, it is related to the software WinBUGS 1.4.x (and OpenBUGS 2.x with
package BRugs).
Uwe
)), add=TRUE, col.points=red, col.hor=red)
etc...
Uwe Ligges
Thanking you,
Sincerely,
Ajay.
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting
documentation in the Rd format. Those files are converted automatically
to latex and html (among other format) when the package is installed.
Skeletons for the help files can be generated using prompt() or for a
whole package, see ?package.skeleton.
Uwe Ligges
thanks,
eb
Gabor Grothendieck wrote:
Note that there already is a function, read.xls, in gdata that uses Perl.
Note that Marc talked about *writing* in his original message.
Uwe Ligges
On 7/9/07, Marc Schwartz [EMAIL PROTECTED] wrote:
On Mon, 2007-07-09 at 16:42 +0300, Hans-Peter wrote:
Hi,
2007
-values now:
sapply(L, [, c(statistic, p.value))
If you want to follow your initial approach quickly, you can calculate
the probability function of the t distribution with 3 degrees of freedom
(for your data) with
2 * pt(-abs(myt), df = nrow(mydf) - 1)
Uwe Ligges
of the box on Windows and is hence not available on CRAN.
Nevertheless, Brian kindly provides the binary in his CRAN (extras)
repository (URL http://www.stats.ox.ac.uk/pub/RWin). Just type
install.packages(ncdf)
and it will be installed ...
Uwe Ligges
) { prod(1:(n+k-1)) / prod(1:n) / prod(1:(k-1)) }
or
Nnk2 - function(n, k) { gamma(n+k) / gamma(n+1) / gamma(k) }
or most easily:
Nnk3 - function(n, k) choose(n+k-1, n)
Uwe Ligges
aren't you?
ON THAT BASIS: I hereby claim the all-time record for inefficient
programming in R.
Challengers
Hubertus wrote:
Dear list,
if I do
smooth.spline(tmpSec, tmpT, all.knots=T)
with the attached data, I get this error-message:
Note that you cannot attach data that way. You migth want to upload it
to some web space and send us the link.
Uwe Ligges
Error in smooth.spline(tmpSec
I don't get your point, because
exp(-(-3)^2.2)
[1] NaN
is correct. A negative value to the power of a non-integer is undefined
in IR. Of course it is defined as a complex number:
exp(-(-3+0i)^2.2)
[1] 1.096538e-04-3.47404e-05i
Uwe Ligges
Giuseppe PEDRAZZI wrote
.
Uwe Ligges
Thanks in advance,
Matt
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
\\(.*\\),c(S(a),CSP))
Uwe Ligges
[1] 1 2
I expected the pattern to be retrieved only in the first string, so
obviously this is not correct. Any idea ?
Thank you very much in advance,
Yvonnick Noel, PhD
U. of Rennes 2
France
__
R-help
the summary for objects of
that class.
Uwe Ligges
Suppose what I am looking for is called
return.value.assigned. Then one might use it like
this
myfunction - function () {
# Create bigobject here
if (return.value.assigned()) {
bigobject
} else
directory? (my guess)
Are all the tools up to date?
Do you have another library (except the standard one) defined anywhere?
Can you source() all the R files in your package separately in R-2.5.1?
Uwe Ligges
-- Making package myfuncs
adding build stamp to DESCRIPTION
? This is really ancient. Please upgrade
to a more recent version of R.
Before using function from the installed package, you have to load it:
library(exactRankTests)
Uwe Ligges
trying URL `http://cran.r-
project.org/bin/windows/contrib/2.0/exactRankTests_0.8-10.zip'
Content type `application
?
:-)
Quite probably you are using a new version (R-2.5.x) of R but mixing it
with some packages for a less recent version of R. Do you have some base
packages for less recent version of R installed in a non-standard
library that is in the search path? .libPaths() should reveal other
libraries.
Uwe
, and for certain function,
you might need much more.
Hence the advise is to rethink how to reduce the problem or to buy 2GB
of RAM for your machine (which is advisable in any case, because RAM is
cheap and thinking hurts). We have upgraded all of our computer labs to
at least 1GB these days.
Uwe Ligges
Prof Brian Ripley wrote:
Did you not get a dialog box with further details?
Unfortunately I found no instructions. You need a version of of Gtk2
installed that is at least as late as the Windows maintainer used to
build RGtk2, as it adapts to the version installed. I don't know what
.
Then, the code below is invalid (there is nothing that starts with else).
else
{
cat(FALSE,\n)
}
Instead, use:
a - TRUE
if ( a )
{
cat(TRUE,\n)
} else
{
cat(FALSE,\n)
}
Uwe Ligges
If I try to execute with R I get:
Error: syntax error, unexpected ELSE in else
1 - 100 of 2285 matches
Mail list logo