ere "rmeta", I guess).
Best,
Uwe Ligges
Thanks for all your help. Syntax is below.
Best,
Dawn McDaniel
Ishwar Bridgelal
University of Southern California
local({pkg <- select.list(sort(.packages(all.available = TRUE)))
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
L
Either use local as in:
n=10
local(for(i in 1:n){
n=3
print(n)
})
print(n)
or write a function that is evaluated in its own environment:
n=10
MyLoopFoo <- function(){
for(i in 1:n){
n <- 3
print(n)
}
}
MyLoopFoo()
print(n)
Uwe Ligges
Peng Yu
e ask your
teacher rather than this list.
Anyway, it does not make sense to predict weight using a linear
combination (principle component) that contains weight, does it?
Uwe Ligges
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listi
2.9.2.
Erin,
the MASS you have installed in one of your current libraries needs R <=
2.9.2 (perhaps in /usr/local/lib/R/site-library ?)
Please run
update.packages(checkBuilt=TRUE)
and packages in your library will be updated.
If the one in /usr/local/lib/R/site-lib
think you really
nedc to consult some statistics textbook on PCA if my answer was not
sufficient. Given your questions, I doubt you understand what PCA does
and how it works. It does not predict anything.
Uwe Ligges
hadley wrote:
You've asked the same question on stackoverflow.co
about the variables.
And note, as Hadley mentioned before, that there are certainly
statistical consultants available in your area, which is unknown for us
given you post anonymously from some hotmail.com account - which is also
not very helpful to get further answers
Uwe Ligges
ZABLONE OWITI wrote:
Hi all,
I am relatively a new user of R. I need assistance on how to download and
install the clim.pact_2.2-39.zip. I am running R on Windows.
See the manual "R Installation and Administration" and afterwards read
?install.packages
hen transported
the source code from another machine and source()-ed it.
You need to load package grid (which contains both).
Uwe Ligges
Any ideas. It seems to belong in the base package, but this is
unavailable for install.packages or update.packages.
Thanks f
object to see diagnostic plots.
Uwe Ligges
thanks a lot in advance,
Ashok Varma
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
Gary wrote:
Hi R Users,
I'm interested in plotting a grouped boxplot (please see attached file for
sample). Can anyone suggest a function{package} which can help me achieve
this.
Your attachment did not pass the list's filters. Anyway, see ?boxplot.
Uwe Ligges
Th
question on the BioC list *after* reading for
example this lists posting guide mentioned further below.
Uwe Ligges
Thanks
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
"packages" already loaded earlier i.e. if I upgrade to R 2.10, I
don't wish to reinstall packages like lmom, lmomco, quantreg, YieldCurve etc.
See the manual "R Installation and Administration" as well as the FAQs.
Best,
Uwe Ligg
ly edit the files generated in xxzz folder (to
add titles, authors, etc)
--
But when I re-run -
package.skeleton(name="xxzz", code_files = "H:\xxzz.R")
Why do you rerun it once you have the structure of your package?
You can add separate files now and a
not sufficient.
Best wishes,
Uwe Ligges
__
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.html
and provide commented, minimal, self-contained, reproducible code.
problems it might be sensible to go the loop
way ...
Uwe Ligges
Thanks!
Best regards,
A.S.
__
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.h
2), R immediately went off to la-la
land, requiring a force-quit. I finally tied the problem down to this
statement:
contour(u,v,ci,levels=c(0.30),add=TRUE,lty=2)
Please specify u, v, ci in order to make your example reproducible for us.
Thanks,
Uwe Ligges
I tried specifying lty="das
in
a one line function and directly compare the values with the quantiles
of the distribution.
Best wishes,
Uwe Ligges
Best regards,
A.Morkovin
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do rea
re mist be something else going on...
Best wishes,
Uwe Ligges
Heiko Strathmann wrote:
Hello again,
the freeze seems to depend on the kernel matrix.
With another kernel matrix of similiar size, gernerated with the same
kernel, but on another dataset, there is no freeze.
I have put a worksp
it), fix the open issues and upload a new version to CRAN.
Since signal is a package of interest for me as well, I thought about
taking over maintainership already, but there may be some open license
issues and I do not have too much time these days.
Best wishes,
Uwe Ligges
Thanks again
orkspace and you can go on and add lines to your plot now.
Best wishes,
Uwe Ligges
Many thanks for your help!
Clement Poirier
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://w
ningDataYs,
type="C-svc", C=2))
and everything is still fine (same on Linux).
Uwe Ligges
Am Sonntag, den 29.11.2009, 17:22 +0100 schrieb Uwe Ligges:
I just tried
ksvm(kernel="matrix", kernelMatrix, trainingDataYs, type="C-svc",
cross=10, C=2)
several times on bo
Graham Williams wrote:
I don't have a Windows 7 to test this on yet - works on Vista and XP. Did
you install the GTK libraries (separately to R)?
I have manually tested on Windows Server 2008 64-bit where it works
(with most recent 32-bit binary versions of R, rattle and GTK).
Best wishes,
dows).
Best,
Uwe Ligges
Heiko Strathmann wrote:
I tried out the code you wrote, it also works for me, but it lacks a
parameter i use in my code.
The problem (at this computer) seems to be this "cross"-parameter of
ksvm - if I, for example, add the parameter cross=10, i get the old
pro
from
normality is not really big.
3. Your case, one test rejects, the other one not: Welcome, you finally
arrived in hell.
Best wishes,
Uwe Ligges
For my data set I have p.value of 0.05496421 returned from the shapiro.test and
0.882027 returned from the jarque.bera.test. I have
privileges...
In that case nobody could install anything. No, you can, but you really
need the privileges, i.e. right click on startup of R and tell the OS to
start R really with Admin privieges.
Uwe Ligges
Héctor
On 2 Dec 2009 at 3:55, catuxa-2 wrote:
Date sent: Wed,
or his slides from useR! 2006:
http://www.stat.auckland.ac.nz/~paul/Talks/rgraphs.pdf
Best,
Uwe Ligges
__
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
to skip block of code in
the history?
I don't think so, but since you are writing your code in an editor
(hopefully), it is probably easier to submit the relevant part of the
code from the editor to R again.
Uwe Ligges
x=list(a=c(1,2),b=c(3,4,5))
y=list(a=c(1,2),b=c(3,4,5))
lappl
expr[[1]][[2]] <- expr1[[1]]
expr[[1]][[3]] <- expr2[[1]]
expr
}
that can construct such expressions as in:
opExpr(expression(x * sin(x)), expression(x^2 * sin(x)))
opExpr(expression(x * sin(x)), expression(x^2 * sin(x)), "*")
Best wishes,
U
rking
directory of R. Note that files beginning with a dot are not visible in
the Windows Explorer by default and may not be found with Windows search
in default settings.
Best wishes,
Uwe Ligges
John
John David Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
University of Mar
TTsai wrote:
Hello,
I have problem running WinBUGS from R.
The following example works in WinBUGS but it does not work in R through
package R2WinBUGS.
Works for me. What is the error message you get?
Best wishes,
Uwe Ligges
Does anyone know what the problem is?
x <- c(0.2, 1.1
Stephanie Cooke wrote:
Is there a place to find the code for R functions like lsoda? Thanks
Yes, all code is in the source version of the package that contains that
function.
Best,
Uwe Ligges
__
R-help@r-project.org mailing list
https
If the package passes the checks (R CMD check) on your macine, it should
be fine. Some compiler warnings are expected.
Best wishes,
Uwe Ligges
NCS wrote:
I installed RF on Linux OpenSuSe 11.1 and while it did install and did run a model I had
created on Windows correctly, it gave me a lot
consistent with its uncertainty,
i.e., 8170?
That's not consistent, you have 3 significant digits here, but 2 for the
"uncertainty" (whatever that is) ...
Uwe Ligges
Tom
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mai
o that the
labels are not overlapping.
Without having looked in detail - I cannot even allocate enough space
for a 1x1 and you certainly do not want to produce some 300Mb
file, do you?
Anway, to proceed, decrease the size of the margins, see ?par.
Uwe Ligges
Thanks
t value is ok but I don't understand why the par()$usr values
are so low.
Any idea ?
Seems to be unanswered so far - not a big surprise given we do not see a
small reproducible example (we do neither have measuresbyday nor data)
that would be easy and quick to adapt to your needs.
Bes
tform independent. For an installed package under
Windows, the data files might be zipped in a container given some
heuristics is fulfilled and the package maintainer has not explicitly
asked declared ZipData=no in the DESCRIPTION file of a package.
Uwe Ligges
To get the path to the .rda file
nth as a factor.
Help!
If you guess is it has something to do with your data, it might make
sense to show them so that we can tell you if that is true or not...
By the way, the posting guide asks you to send reproducible code anyway.
Uwe Ligges
__
Please read ?optim and about its arguments
lower, upperBounds on the variables for the "L-BFGS-B" method.
Uwe Ligges
Liang Wang wrote:
Hi, dear R users
I am a newbie in R and I need to use the method of meximum likelihood to fit a Weibull
distribution to my survival data. I
27;N' not found". Any ideas what can be
causing this? I have no object 'N' anywhere in the script.
At least I see capital N in both model and model2 - roughly 10 times ...
Uwe Ligges
I made an
identical version of models states, parameters, and everything just by
adding 2 af
quot;, "yellow1", "orange"))),
strip = strip.custom(bg="greenyellow")
)
### assuming data is read in object name "dta".
attach(dta)
Other comments:
1. You do not need attach at all here - and I recommend not to use it
unless you r
es, level 2 = 12 times 0.1428, and so on.
Is there a way of specifying that a list needs to be populated with
replicates of groupmeans based on values got from newtemp[,2]?
See ?mapply and ?rep, hence
mapply(rep, values, replicates)
where "values" and "replicates&
is one of the reasons not to
use "=" as assignment operator at all: it is confusing.
Best,
Uwe Ligges
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-pr
This is the intended startup message for that package (and not a
warning), nothing to fix.
Uwe Ligges
Peng Yu wrote:
I have following the message "dim(refdata) and dimnames(refdata) no
longer allow parameter ref=TRUE, use dim(derefdata(refdata)),
dimnames(derefdata(refdata)) instead&
I'd use a shell() command to call xcopy or robocopy, or cp given you
have some unix tools installed.
Uwe Ligges
Paul Evans wrote:
Hi,
I am using the windows version of R. I wanted to copy a directory (containing
several files) to another directory. Is there any command in R that wil
main = "example", ylab = "Size", xlab = "tank",
side = "both", border = NA,
col = list(c("blue", "white"), c("red", "yellow")))
Uwe Ligges
James Widman wrote:
Sorry for the previous error.
Dear Helpful R User
art way to do that ?
Perhaps directly rewritten without thinking:
mat <- data.frame(
letters = sapply(res, "[[", c(1,1)),
numbers = sapply(res, "[[", c(2,1)))
which should be roughly 2.5 times faster.
Uwe Ligges
Thanks,
___
, say subject1.ts, subject2.ts, .,
subject6.ts.
The observations are taken at an interval of 0.25 hr.
All of the series ranges from 0.25hr to 8.00 hr.
How can I plot all the six time series in the same panel**?*
*I am eagerly waiting for your reply. Thanks in advance.*
what you want to
add, please specify a reproducible example.
Uwe Ligges
Date;open;hight;low;close;Volume
02.04.2008 09:00;6.749,24;6.755,55;6.746,89;6.754,11;0
02.04.2008 09:01;6.754,70;6.754,70;6.748,13;6.749,55;0
02.04.2008 09:02;6.749,36;6.757,00;6.745,50;6.749,38;0
02.04.2008 09
See
Ligges, U. (2002): R Help Desk: Automation of Mathematical Annotation in
Plots. R News 2 (3), 32-34.
http://www.r-project.org/doc/Rnews/Rnews_2002-3.pdf
Uwe Ligges
Koen wrote:
Hello,
I am trying to include legend text with math symbols from a predefined
character variable that is read
annie Zhang wrote:
Hi, All,
Is there a 'do while' loop in R for which I can check conditions after? I
checked and it seems there is only the 'while' function.
Right, but you can use repeat{} and check conditions whereever using
if() and exit the loop with the "b
asked for the example. Please provide an example (just a few
rows) of the data how it looks like and then how you want it to be
afterwards.
That would be very helpful to allow readers of the list to respond.
Uwe Ligges
Thanks in advance
Hamid
Uwe Ligges-3 wrote:
Hamid wrote:
Dear al
Forget the loop and use
vocallGrp <- split(vocallsub, vocallsub$Group)
Uwe Ligges
Anderson, Chris wrote:
I am trying to create multiple dataset by group like the following using either
a loop or vectorization:
vocallGp1<-subset(vocallsub, Group==1)
vocallGp2<-subset(vocallsub,
p://cran.r-project.org/web/views/HighPerformanceComputing.html
Uwe Ligges
Anderson, Chris wrote:
I notice that R basic installation does not take advantage of multi-thread or
multi-core processors. Is there an option for multi-threaded processors? I
currently run all of my analysis on thinkpad lapto
of 100% in the end, because you
renamed the levels in the testdata so that they do not fit to the
traindata any more.
Uwe Ligges
Cheers,
TIM
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Escape the inner quotes.
Uwe Ligges
Alfredo Alessandrini wrote:
Hi,
I've a problem with unmatched quotes with a bash script within a R script:
system("awk 'NR>2 {FS="
";print$1","$2","$3","$4","$5","$6&
Install the Rtools as described in R Installation and Administration.
Uwe Ligges
Juliet Ndukum wrote:
I used R CMD check in windows vista, and it gives me the message 'sh' is not
recognized as an internal or external command.
How do I get around this, your help would be highly a
annot with base graphics. You could switch to the grid framework
which allows such things.
Best wishes,
Uwe Ligges
I'm looking foward to any ideas and hints and want to wish everybody a
merry merry christmas.
Thanks in advance.
Etienne Stockhausen
__
lines.
After the above warning a line is drawn in the graph parallel to the
y-axis. But I was expecting a curve line through the scatterplot.
Am I doing something wrong? Please help!
You can predict() some points along your x values and connect them via
ong here. You could do as well after reading
?bugs:
inits must be a list of list(s), one list for each chain. You do not
have a list of lists but a list of the values, i.e. wrap the whole thing
in another list() and you are fine. That one will contain one list for
your one chain.
Uwe Lig
Start with a recent version of R. If you install R-2.10.1, Matrix should
be included. If the installation fails, you need to look for the error
messages why it failed.
Uwe Ligges
Thx,
S.
R version 2.8.1 (2008-12-22)
x86_64-pc-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC
See the FAQs, particularly
"How can I save the result of each iteration in a loop into a separate
file?" which applies for the other way round as well.
Uwe Ligges
Maithili Shiva wrote:
Dear R helpers,
Suppose I am dealing with no of interest rates at a time and the no of intere
/
/ c:\> echo %PATH%
/
/o. Use biocLite('Rgraphviz') to install Rgraphviz
Best wishes,
Uwe Ligges
Thanks ...
Uwe Ligges-3 wrote:
June Wong wrote:
Hi
I've tried several times and followed what others suggest in installing
Rgraphviz
(https://stat.ethz.ch/pipermai
.
Uwe Ligges
__
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.html
and provide commented, minimal, self-contained, reproducible code.
o the archives, or, on the
package's page, there is a link to the particular package's archive.
There you will find all CRAN versions including the dates.
Beste Gruesse,
Uwe
2009/5/7 Uwe Ligges :
Dimitri Liakhovitski wrote:
Hello!
I am wondering when the package relaimpo was first intr
Uwe Ligges wrote:
Argh, it disappeared. Probably a bug in my scripts that removed the old
version of Matrix from the Windows binary repository for R-2.8.x (new
versions of Matrix won't pass checks under the outdated version of R).
I will compile an old version tomorrow and make it avai
aypal. Thanks!
If I'd read such a message from one of my students .@._$%&§!!
Uwe Ligges
__
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-
is
D:/Programmi/R/R-2.9.0/library/base/chtml/base.chm
Uwe Ligges
__
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.html
and provide commented, minimal, sel
, in tiff format,
At least I cannot even set this resolution in the original tiff device.
Hence I'd suggest to produce some vector format such as postscript or
pdf and convert with some third party software to the desired tiff
specification afterwards.
Uwe Ligges
for a journal (off c
If plotrix does not help, you need to be mroe specific and give an
example as the posting guide asks you to do anyway.
Uwe Ligges
BARRES-DE-ALMEIDA U. wrote:
Hi,
I need to make a plot of data from multiple epochs, and so I'd need to
introduce a couple of breaks in the x-axis not to
clean up/load/save all the time anymore.
Uwe Ligges
The problem here is that, I cannot save.image and begin a new “clean”
session. An hypothesis could be to delete all R objects after the
save.image, but this does not seem too efficient to perform.
What should I do to begin a R clean session in
Marta M. Rufino wrote:
Dear colleagues,
Thank you for the reply.
Einer:
I tried to so, but I had an error:
"Error in system(paste(gsexe, "-help"), intern = TRUE, invisible = TRUE)
: gswin32c.exe not found"
I think would need "|ghostscript|" (in the help file:
"You will need |ghostscript|:
CRAN: It is build
against a 32-bit version of MySQL. I am not sure if there is a safe way
to build a binary that properly links against 64-bit MySQL given you are
running 32-bit R.
If there is, you have to install the package from sources yourself anyway.
Best,
Uwe Ligges
When trying to
yield:
a <- c(-1, -2, -3, 1, 2, -1)
rle(sign(a))
#Run Length Encoding
# lengths: int [1:3] 3 2 1
# values : num [1:3] -1 1 -1
## or just the vector you want is:
rle(sign(a))$lengths
[1] 3 2 1
Uwe Ligges
Alessandra
__
R-help@r-project.or
Kon Knafelman wrote:
Hi,
Does anyone know how to code newton's method for finding the roots of
polynomial functions? im not sure whether i need to do this manually, or just
code something with a loop to stop when it gets to the desired result
See ?optim for optimization methods.
I can reproduce it. Can you please send a bug report to R-bugs so that
this won't get lost.
Thank you,
Uwe Ligges
Dan Kelley wrote:
Some time ago, I posted a note about what I considered to be a bug in
axis.POSIXt() for R 2.8.x, relating to whether timezones in the data are
obeyed o
have an internal protocol if files accesses which is
probably not the case.
Uwe Ligges
I have many that I am not sure... because they can be used with other packages,
etc.
Thank you very much in advance,
Best wishes,
Marta
[[alternative HTML version deleted
-finding_algorithms .
And Uwe may not be aware that optim() is contra-recommended for
functions of 1 variable,
Has anybody told us something about just 1 variable?
uwe
which seems to be the problem here. But there is
?polyroot
JN
Message: 130
Date: Tue, 12 May 2009 11:12:51 +0200
From: Uwe Ligges
tor directly for putting
text in such as in:
text(locator(1), "The iris data")
If you want to convert back to 3D: This is not possible, because there
is a while line behind that point you are clicking on ....
Best,
Uwe Ligges
Duncan Murdoch wrote:
On 5/12/2009 3:08 PM, Abby Drake
‘cacheSweave’ are not available
| 2: In install.packages("pgfSweave", , "http://www.rforge.net/";) :
| installation of package 'pgfSweave' had non-zero exit status
|
`
what will i have to do now?
And could someone give me an example how to write a for
12 13 14
b 20 25 NA
c 30 NA NA
This does it more or less your way:
ds <- split(df, df$Name)
ds <- lapply(ds, function(x){x$Index <- seq_along(x[,1]); x})
df2 <- unsplit(ds, df$Name)
tapply(df2$X1, df2[,c("Name", "Index")], function(x) x)
athough there may exis
:
par(mfrow = c(2,3), mar = c(0,0,0,0), oma = c(5,5,0,0), xpd=NA)
plot(1, xaxt="n", xlab="", ylab="A")
plot(1, xaxt="n", yaxt="n", xlab="", ylab="")
plot(1, xaxt="n", yaxt="n", xlab=&quo
the
same reduction of the entropy criterion as another one might be used,
hence another result.
Uwe Ligges
Does anyone know how rpart deal with ties?
Here is the codes for running the two trees.
library(mlbench)
data(PimaIndiansDiabetes2)
mydata<-PimaIndiansDiabetes2
library(rpart
2, z2, col=3, type="l")
Is there an easy method to call to change the projection or rotate the figure
along a particular axis? The following is the code that plots if one at a
time. Any help is appreciated.
scatterplot3d is not good for such rotations. In order to view and
rotat
;, "Mar", "Apr", "May", "Jun", "Jul",
"Aug", "Sep", "Oct", "Nov", "Dec"))
then issued this command
plot(flow~factor(month),xlab="Month",ylab="Total Flow per Month",
ylim=c(0,55000),
threshold wrote:
Hi, do you have any suggestions how to make 3D scatterplot, BUT under linux.
Worth mentioning is the fact that 'scatterplot3d' does not load under Ubuntu
8.10.
Why not? It is in pure R code, hence it is just as OS dependent as R itself.
Uwe Ligges
Do yo
. which works for me. Have you loaded some specific package? Which R
versioj is this? Your OS? Self-compiled R or some pre-compiled binary?
Uwe Ligges
kernel("daniell", 10) #
Error in kernel("daniell", 10) : unused argument(s) (10)
kernel("daniell", c(3,3))
Erin Hodgess wrote:
Hi R People:
I have a question about setClass please. I'm working thru "R
Programming for Bioinformatics".
Actually, I was wondering if there is such a thing as an updateClass,
in order to change a "contains" option, please?
that is, if I had
setClass("dog",
representat
Open a connection as in
con <- myDbConnect(dbName,hostName)
before the loop starts and afterwards just work on "con".
Uwe Ligges
Moumita Das wrote:
-- Forwarded message --
From: Moumita Das
Date: Sat, May 16, 2009 at 2:26 PM
Subject: Cannot allocate a
What can I do?
Use a 64-bit version of R [i.e. something on a LInux machine or perhaps
the recently available commercial 64-bit version for Windows] or
rephrase/-code your problem.
Uwe Ligges
I would appreciate somebody to help with any ideia.
[[alternative HTML version
using.
I get, e.g.:
> cuminc(ftime,fstatus,group)
Error: could not find function "cuminc"
> ftime
Error: object 'ftime' not found
> fstatus
Error: object 'fstatus' not found
> group
Error: object 'group' not found
Best,
Uwe Ligges
I am car
Gaussian ...
with a mean and sd for each of the treatments
And what is the treatment???
Best,
Uwe Ligges
(up or
down), and out put this as a table I am having a hard time
starting- maybe it is to close to lunch. Any suggestions would be
greatly appreciated.
Stephen Sefick
x
ged_value[,2:21] <- apply(temp, c(1,3), mean)
Uwe Ligges
for (i in 1:length(zz[,1])) {
#calculates Meanss
#Sample A
average_value[i,2] <- rowMeans(zz[i,2:3])
average_value[i,3] <- rowMeans(zz[i,4:5])
average_value[i,4] <- rowMeans(zz[i,6:7])
average_value[i,5] <- rowMean
where can I
get the row??
Maybe this helps:
which(mycol == min(mycol))
... or which.min(mycol) for short.
Uwe Ligges
where "mycol" is your column.
Hth,
Adrian
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinf
-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.html
and provide commented, minimal, self-contained, reproducible code.
Where is code that reproduces the error?
Uwe Ligges
in:
plot(c(FeketeJAN[1,2], FeketeFEB[1,2], FeketeMAR[1,2], *through to
December* ), type="l")
Uwe Ligges
Many thanks for any advice,
Steve
_
[[elided Hotmail spam]]
quot;6"))
i want to combine them into a single vector z as A1, B2, C3 and so on.
z<-x*y is not working, i tried several others function, but did not get to
the solution.
Homework? Anyway, see ?paste.
Uwe Ligges
Thanks for your help,
Henning
__
Marie Sivertsen wrote:
Dear list,
Is there any functionality in R that would allow me to parse config files?
Which kind of config files? R has read.dcf, for example.
Uwe Ligges
I have trie ??config and apropos('config') without succes, and also search
the R package site.
"
?replicate
Uwe Ligges
[[alternative HTML version deleted]]
__
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.html
and provide comm
be asked for
username and password given you haven't specified it with the DSN in
your Windows settings.
Uwe Ligges
Many thanks for your help!
Me.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://st
ic(dat))
with
Package: amap
Version: 0.8-2
Date: 2007-10-03
under R version 2.9.0 Patched (2009-04-27 r48414)
OS: Windows XP Pro 32-bit, SP3
Best wishes,
Uwe Ligges
Uwe Ligges wrote:
Ana Kolar wrote:
Hi there dear R users,
Does anyone have any idea what the follow
601 - 700 of 3433 matches
Mail list logo