Displaying 20 results from an estimated 9000 matches similar to: "drawing a circle using symbols"
2013 Jan 12
4
Drawing a dotted circle.
Hi,
I am trying to draw a dotted circle by using symbols command:
symbols(0, 0, circles = 1, inches = FALSE, fg = 'gray', lty=2)
But it gives me a solid line. I was just wondering whether am I making a
mistake?
Ved
[[alternative HTML version deleted]]
2012 Jul 18
3
'symbols' not plotting correct circle radii
Hi there.
I have been plotting some circles using 'symbols', with radii representing my data, but the radii looked incorrect.
It seems to happen with a single circle too:
Symbols ( 0, 0, circles = 40, xlim = c(-40, 40), ylim= c(-40, 40))
If I put a ruler up to my monitor (technology!) to compare the radius with the axes, the circle isn't radius 40; it is closer to 15...
I
1999 Jun 07
1
Re:
move or copy the directories mass, nnet and class to the library directory
- then execute link.html.help()
Now execute library(MASS) and data(petrol)
Should work.
"Troels Ring"
2010 Dec 16
4
editor for MacOS
Dear friends - I'm using Tinn-R in Windows and find it OK. My son is
running MacOS and is just starting using R and I know nothing about
MacOS and R but we seem to have difficulties in finding something
similar to Tinn for MaC. What are your suggestions?
Thanks a lot!
Troels Ring, MD
Aalborg, Denmark
1999 Jun 27
2
paste and path ?
Dear friends. I have trobpe with path.
Below I have tried to paste a path and file name but it will not work
> path <- "D:/rw0641/own/own/procedures/GFR_TIME"
> path
[1] "D:/rw0641/own/own/procedures/GFR_TIME"
> path1 <- paste(path,"gfr.txt",sep="/")
> path1
[1] "D:/rw0641/own/own/procedures/GFR_TIME/gfr.txt"
-- this is good
2003 Sep 15
2
POSIX and identify
Dear Friends, I'm using winXP and R 1.7.1 and plotting some data using
dates on the x-axis, and wanted to use identify to show some points but was
told by identify that the x and y vectors producing a fine graph with 84
points were not equal in length. Below are the Dato for date - and
length(Dato) finds 9 but str finds 84 as known. Will identify not work in
this context ?
Best wishes
2009 Jan 06
1
history: recording
Hi, I'm using windows xp and R 2.8.0 - I wonder what is the command to
put in a script that has the same effect as when in a plot you choose
menu "History" and "Recording".
Best wishes
Troels
--
Troels Ring - -
Department of nephrology - -
Aalborg Hospital 9100 Aalborg, Denmark - -
+45 99326629 - -
tring at gvdnet.dk
2004 Nov 22
2
optimize in very small values
I hope you will forgive me this simple question on titration.
I'm trying to find very small values from the algorithm below, which I
believe is
correctly formatted, and the constants are also correct. When SID goes over
ATOT, fitted vales are
much too low compared to the literature. I guess I must be using optimize
in a wrong way but cannot find out how to improve it. I'm on windows, R
2005 May 19
3
Drawing a circle
Hi.
I need to draw a circle whit center (a,b) and radio r. So I use the
R code below
a<-1.975 # valore x del centro
b<-1.215 # valores y del centro
r<-1.46 # radio
x1<-seq(a-r,a+r,by=0.01); #los valores de x
yp<-sqrt(r^2-(x1-a)^2)+b; # los valores y a partir de la ra??z positiva
yn<-(-1)*sqrt(r^2-(x1-a)^2)+b; # los valores y a partir de la ra??z negativa
x<-c(x1,x1);
2017 Sep 27
2
disturbed legend in ggplot2
Dear friends - below is a subset of a much larger material showing two
ways of generating two "lines". The intention is to have the colour
reflect a variable, pH, but the legend is disturbed. The little part
marked "3" above the colour scale is unwelcome. Why did it appear? How
could I avoid it?
I'm on Windows 7, R version 3.4.1 (2017-06-30) -- "Single
2009 Dec 29
1
plotting circles with symbols()
Hello,
I am not able to plot a circle of a given radius using symbols(). In
the example below, the circle appears too large:
plot(0, 0, xlim = c(-1, 1), ylim = c(-1, 1))
symbols(0, 0, circles = 1, inches = FALSE, add = TRUE)
What's happening?
Ery
2006 Dec 17
1
Draw a circle on a filled.contour() plot
Hi all,
I'm trying to use symbols() to draw a circle of a given radius at a
given position onto a filled.contour() plot. The commands I issue are:
> filled.contour(y,x,z,levels=seq
> (0.02,1.0,len=50),color.palette=colorRampPalette(c
> ("blue","yellow","red")),title=title(main="",xlab="",ylab=""))
>
2017 Aug 14
3
weight in lm
Dear friends - I hope you will accept a naive question on lm: R version
3.4.1, Windows 10
I have 204 "baskets" of three types corresponding to factor F, each of
size from 2 to 33 containing measurements, and need to know if the
standard deviation on the measurements in each basket,sdd, is different
across types, F. Plotting the observed sdd versus the sizes from 2 to
33, called
2009 Nov 25
1
draw circle on PCA plot
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091125/bf6c327e/attachment-0001.pl>
2017 Oct 11
6
changing "," to "." in data.frame
Dear friends - I have a data.frame with "," instead of "." and found the
discussion
http://r.789695.n4.nabble.com/How-to-replace-all-commas-with-semicolon-in-a-string-tt4721187.html#a4721192
so copying the code of Ulrik(I hope:-)) I tried
(making some data)
AX <-
2008 Jul 23
1
R2WinBUGS problem
Dear friends - I'm on winXP, R 2.71 - I have with some help dveloped
this multivariate normal model, which gives very plausible results in
WinBUGS even without any
initial values specified. However, when I then try to run the same model
via the bugs function in R2WinBUGS with inits specified as inits=NULL
the program stops in a dead end. So I have tried to make inits for the
bugs function
2005 Oct 16
1
measurement error model - "simple" linear regression
Dear friends, I found the thread on this subject this summer but
wonder whether it has been taken any further. I have an important
medical problem where X is computed from a three independent and
complicated measurements (exchangeable sodium and potassium and total
body water - i.e. X = (Nae+Ke)/TBW ) and Y is serum sodium
concentration (all data in Edelman, JCI 1958). I have the individual
2008 Dec 15
1
Semi-random movement inside a circle
Dear list,
I am trying to program semi-random movement within a circle, with no particles leaving the circle. I would like them to bounce back when they come to close to the wall, but I don't seem to be able to get this right. Would somebody kindly give me a hint ? This is my code so far, the particle starts at some point and moves towards the wall, but I don't get the "bouncing
2008 Dec 15
1
Movement within a circle
Dear list,
?
I am trying to program semi-random movement within a circle, with no particles leaving the circle. I would like them to bounce back when they come to close to the wall, but?I don't seem to be able to get this right. ?Would somebody?be able to?give me a hint ? This is my code so far, the particle starts at some point and moves towards the wall, but I don't get the
2000 Aug 30
3
family question
Dear friends. Please see the program below and answer if it does simulate a
population of 1.000.000 families, each with at max 20000 children (typical
in Denmark, you know), constructed such that each family stops having
children when more boys than girls are present ? Equal numbers of boys and
girls are got in the population, according to the simulation, is that obvious ?
ND <- NP <-