Cou could add a box if i understand the problem correctly
box()
-Ursprüngliche Nachricht-
Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im
Auftrag von Dan Edgcumbe
Gesendet: Donnerstag, 6. Mai 2010 10:54
An: r-help@r-project.org
Betreff: [R] Supressing axes 3 and
Why
s = 1
##
s = sd(A) #?
-Ursprüngliche Nachricht-
Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im
Auftrag von level
Gesendet: Mittwoch, 5. Mai 2010 22:41
An: r-help@r-project.org
Betreff: [R] P values
How do u calculated p values for a z test..
so far i
Thank you for the info, I couldn't find anything in the documentation and
wasn't sure ut now I know for sure.
-Ursprüngliche Nachricht-
Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im
Auftrag von Dieter Menne
Gesendet: Dienstag, 16. März 2010 14:36
An: r-help@r-p
Hi,
Using the following R-Code the printing via print takes place after locator
although print is placed before locator
###
test = function()
{
plot(1:10)
print("test")
locator(1)
}
test
###
Is there some way to force the printing before locator is being evaluated. I
assume that there is some b
an basically do anything after the axes and the transformations have
been set up.
---
Thomas
-Ursprüngliche Nachricht-
Von: David Winsemius [mailto:dwinsem...@comcast.net]
Gesendet: Freitag, 18. Dezember 2009 15:32
An: Thomas Roth
Cc: 'Deepayan Sarkar'; r-help@r-project.or
)
#needed: rectangular bounding box
wireframe(z ~ x*y)
now what i'm looking for is a rectangular bounding box but I don't know where
to start...
Thomas
-Ursprüngliche Nachricht-
Von: Deepayan Sarkar [mailto:deepayan.sar...@gmail.com]
Gesendet: Freitag, 18. Dezember 2009 14:29
An: Th
far I've read "Lattice: Multivariate Data Visualization with R" and
searched through the mailing list.
I'm grateful for any ideas or hints.
Thanks in advance,
Thomas Roth
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mai
y") #verticall lines
abline(h = yticks, col = "gray", lty = 3) #horizontal lines
legend(8,12, legend = c("test", "test"), col = 1:2, pch = 1:2, xpd = TRUE)
points(1:10)
Thomas Roth
Chris Li schrieb:
Hi everyone. I am new to R.
It will be greatly appreciat
t;gray") #verticall lines
abline(h = yticks, col = "gray", lty = 3) #horizontal lines
legend(8,12, legend = c("test", "test"), col = 1:2, pch = 1:2, xpd = TRUE)
points(1:10)
Thomas Roth
Chris Li schrieb:
Hi everyone. I am new to R.
It will be greatly appr
Have a look at
http://www.stat.auckland.ac.nz/~paul/RGraphics/chapter3.html
Picture 3.26
Thomas Roth
Rainer M Krug schrieb:
Hi
while teaching R, the question came up if it would be possible to add
a picture (saved on the HDD) to a graph (generated by plot()), which
we could not answer
help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Thomas Roth (geb. Kaliwe)
Sent: Friday, 17 July 2009 6:03 PM
To: 'r-help@r-project.org'
Subject: [R] how to evaluate character vector within pnorm()
Hi,
I'm trying to evaluate a character vector within pnorm. I
3"
#Problem is that both values 2 and 3 are taken as values for the mean
argument in pnorm
pnorm(0, eval(parse(text = temp)) )
#but not as
pnorm(0, mean = 2, sd = 3 )
#How can i get
pnorm(0, eval(parse(text = temp)) )
#to do
pnorm(0, mean = 2, sd = 3 )
Thank you for your time
Tho
Thank you both.
Thomas
Dimitris Rizopoulos schrieb:
one way is:
test <- function(x, y, ...) {
dots <- list(...)
if (length(dots)) cat("\nnon-empty\n") else cat("\nempty\n")
}
test(1, 1)
test(1, 1, 1)
I hope it helps.
Best,
Dimitris
Thomas Roth (geb.
Thomas Roth
__
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.
maybe this helps
x = "\"test\""
plot(1:10, main = x) #heading contains " "
#or
cat("\"test\"")
Thomas Roth
Paulo E. Cardoso schrieb:
maybe a very basic question but I need to parse an SQL code into a GIS from
a ODBC conn.
The code
in the legend there's x but not the value of x which actually should be
shown...
#does not work
x = 2
plot(1:10)
legend(4,4, expression(t[m] == x, t[n] == x))
#legend contains x but not the value of x
So this won't work
Zhiliang Ma schrieb:
On Thu, Jul 9, 2009 at 9:39 AM, T
Dear members,
Is there a way to put more than one mathematical annotation into a
legend together with a calculated value?
x = 2
plot(1:10)
#Works
legend(8, 8, substitute(t[m] == x))
#does not work
legend(4,4, c(substitute(t[m] == x), substitute(t[n] == x)))
Thanks
Thomas Roth
.
~ John Tukey
-Oorspronkelijk bericht-
Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
Namens Thomas Roth (geb. Kaliwe)
Verzonden: woensdag 24 juni 2009 13:08
Aan: 'r-help@r-project.org'
Onderwerp: [R] lattice wireframe within a loop ???
Hi,
I have the
p and get a wireframe?
Greetings
Thomas Roth
__
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-cont
the method for function "names" and signature ="" is sealed and cannot
be re-defined
Calls: ... sys.source -> eval -> eval -> removeMethod ->
setMethod
Execution halted
make[2]: *** [lazyload] Error 1
make[1]: *** [a
defined.
Is there a solution that keeps the original interaction.plot and lets me
define a interaction.plot for objects of my S4-Class?
Thank you for your time
Thomas Roth
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Sorry for mailing to you personally...
for types
read.csv(file.choose())
freqTable = table(types)
pie(freqTable)
##example for some data
temp = data.frame(types = 1:10)
pie(table(temp))
Thomas Roth
PS: use barplot instead of pie
DonkeyRhubarb schrieb:
Hi all,
I am looking to create a pie
#I used sink
?sink
#Thomas
Maxl18 schrieb:
Hello,
I want to import R-output via Rserve to Java, especially for the function
ctree from the package party.
Rserve is working properly.
Yet, I only get the predictions with the Java code
try{
RConnection c = new RConnection();
"test", function(x, row.names = NULL,
optional = FALSE)
{
return(x...@data)
}
)
as.data.frame(temp) #works
lm(eruptions ~ waiting, data = temp) #doesn't work
#Thank you for any hints
#Thomas Roth
#from the lm help page
|#data| - an optional data frame, list or environmen
a = test,
par.settings = list(axis.line = list(col = "transparent")),
par.box = c(col = "transparent") )
--sundar
On Wed, Mar 4, 2009 at 8:17 AM, Thomas Roth (geb. Kaliwe)
wrote:
#Hi,
#
#somebody knows how to remove the outer box around a wireframe and reduce
the height
#
#
, data = test, par.box = c(col = "transparent") ) #not
this one but the remaining outer box.
Thanks in advance
Thomas Roth
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://
Hi,
#There are a lot of examples for barplot if you just type
example(barplot)
# i altered one slightly to put the values on top of each bar
mp <- barplot(VADeaths) # default
#tot <- colMeans(VADeaths) #changed this line
tot = colSums(VADeaths)#wether you need max, min, mean , colSum
you could set them manually, if thats what you're looking for
plot(1:10, axes = F)
axis(1, at = seq(1,10 , length = 3))
mau...@alice.it schrieb:
Is there a way to force the number of ticks along an axis ?
I read the on-line documentation and tried many combinations of all available
parameters
First thing you need to do is, save the file with an .r ending. Tinn-R
will then come up with syntax highlighting (as far as i remember).
Options->Main->Application leads you to the r-configuration...
HTH
Thomas
Tibert, Brock schrieb:
Tibert, Brock schrieb:
Hi Everyone,
I was hoping someo
29 matches
Mail list logo