Displaying 20 results from an estimated 600 matches similar to: "overlap two graph"
2009 Sep 03
2
How to do rotation for polygon?
Hi everyone,
I have coding for repeating pentagon as below:
plot(0:11,type="n")
for (i in 1:10 )polygon(rep(c(4,5,7,8,6)), i*c(.5,.3,.3,.5,.7), bor=2)
which are increasing vertically.
Now, I want to know how to rotate the pentagon, so that I will get pattern
like flower.
Basicly, repeating pentagon in circle.
Thanks alot for helping me to solve this problem.
--
Hemavathi
2009 Aug 18
3
how to draw pentagon?
Hi everyone,
I want you all help me to give an idea, how to draw pentagon with points?
Maybe can use function, but I'm stuck.
Yhank you.
--
Hemavathi Ramulu
[[alternative HTML version deleted]]
2009 Apr 03
2
how to sort and plot data?
hi,
Previously my email very simple and less information. Let say I have raw
data as below:-
user_id website time
20 google 0930
21 yahoo 0935
20 facebook 1000
25 facebook 1015
61 google 0940
60 yahoo 1050
40 friendster 1115
61 google 1200
40
2009 Jul 07
2
How to separate the string?
Hi everyone,
Hi want to separate the string(column1) for example
column1 column2 column3 column4 column5 column6
bear b e a r
cat c a t
tiger t i g e r
I know how to do this in excel where using MID function.
Now I want to solve it using R. The list of strings is in
2009 Aug 24
1
How to generate more triangles in sequences?
Hi everyone,
I want to plot some pattern. For example, I have some coding as below,
plot(0:11,type="n")
polygon(c(6,8,10), c(7,3,5),bor=6)
polygon(c(2,4,6), c(5,3,7),bor=6)
polygon(c(6,10,8), c(7,9,11),bor=6)
polygon(c(2,6,4), c(9,7,11),bor=6)
This coding will give me four triangles, but how to generate more triangles
in sequences so
that not need to mention the coordinate for each
2009 Apr 02
2
how to sort and group the data?
HI,
I need help..
How to sort and group the data below:-
USER NAME
12 admin
12 admin
10 admin
10 advertising
61 process
17 snapshot
61 ticket
61 ticket
30 snapshot
10 advertising
10 advertising
10 advertising
10 advertising
I want to plot graph using this data.
thank you.
regards,
Hema.
[[alternative HTML version deleted]]
2009 Aug 12
2
Using bold font with bquote
I'm trying to annotate a density plot and I'm using bquote to paste the sigma symbol next
to the numeric text of the standard deviation calculation that I am performing.
I have been able to successfully turn the sigma symbol and numeric output the color blue,
but when I try to change the font of the text to bold, R doesn't seem to recognize the "font="
command in the same way
2002 Oct 22
2
Draw ellipses in S-PLUS or R?
Dear S-PLUS/R users:
Do you know any default function or a user contributed function that
can draw an ellipse with given axes and origin? Thanks for any help.
Paul.
--
Romance, like alcohol, should be enjoyed, but should not be allowed to
become necessary.
-- Edgar Friedenberg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list --
2009 Jul 20
1
locate substring in the string it belong to
Hi R users,
I am trying generate the indices for locating a in the string it come from.
Given the length of the string, it will take too long using the combn() for
further comparison. I am wondering if R has any built-in function for this
purpose.
To make it concrete:
this.substring="cc"
this.string="ccc"
start.location=1,2
end.location=2,3
Thanks in advance,
Kevin
2009 Aug 12
1
inserting into data frame gives "invalid factor level, NAs generated"
I am calculating some values that I am inserting into a data frame. From
what I have read, creating the dataframe ahead of time is more efficient,
since rbind (so far the only solution I have found to appending to a data
frame) is not very fast.
What I am doing is the following:
# create data frame
goframe = data.frame(goA = character(10), goB = character(10), value =
numeric(10))
goframe[1,] =
2009 Aug 11
1
Paste symbol and calculation in plot
I'm trying to annotate a density plot and I would like to have R calculate the
standard deviation and place it in the plot next to the standard deviation symbol
"sigma". I can successfully use the text command to paste "StDev =",round(sd(Data),digits=3))
on the plot. However, I have trouble when I want to replace "StDev" with the Greek
symbol sigma (See code
2009 Aug 05
1
Starting NONMEM (nmfe6) from R
Hello,
I have made an R script that prepares a NONMEM dataset and I would like
to start the NONMEM run right after the dataset is ready.
I am using windows XP, R 2.9.1 and NONMEM 6.
I have prepared a run.bat file that looks like this:
----------------------------------------
call K:\nmvi\NMdirectories.bat
call K:\nmvi\nmfe6 "path\control.txt" "path\output.txt"
2009 Jul 30
1
Continue to finish for loop even there is an error in one of rounds.
I am trying to fit a logistic model to my 10 year data (1999-2008) by year. Codes like below:
Year <- c(1999: 2008)
for(y in 1:length(year)) {
file.input <- paste("C:\\", year[y], "\\data.csv", sep="")
table <- read.csv(file=fileinput, header=TRUE, as.is=TRUE, na.strings=c(""))
initial <- getInitial(percent ~ SSlogis(age, Asym,
2009 Aug 11
1
Prevent sequential repeated values in data frame column
Hi,
I'm trying to randomize a sequence of trials for an experimental
design. The trials consist of values for each of two factors. As is
there are 30 combinations of the two factors, and I want them to be
ordered randomly but with the requirement that for one of the factors,
the value can never be the same as the previous value.
I'm currently randomizing my dataframe by using:
2009 Aug 12
2
Plotting sigma symbol with unicode and turning into pdf
Paul,
You solution worked out really well when I ran my code in R. However, when I try to turn the plot into a pdf, the unicode string no longer seems to function and instead of the sigma symbol there are just two periods (See example code below).
The following is the code working in the R environment just like I want it to look:
set.seed(1)
Data=rnorm(100,sd=10000)
plot(density(Data))
2009 Aug 11
1
Generating R plots via Ruby CGI
Greetings,
I'm trying to debug a simple two-line plot routine in R called test.R:
cor(swiss)
plot(swiss$Catholic, swiss$Examination)
These commands work fine when typed into R. They also work fine when
I invoke this routine by the following line into my terminal:
R --slave < /Library/WebServer/Documents/gsa/test.R
My ultimate goal is to send data to this R routine via a web
2002 Jun 19
4
drawing ellipses
Hello again,
First I want to thank all the people who answered my question about line
width in graphs. I promise I will learn the 'par' help page by heart for
the end of the month !
I now want to trace some ellipses to emphasize groups of data. I found how
to trace circles with 'symbols()', but no ellipse. I'm planning on writing
my own function based on
2012 Dec 12
1
Polycom phones and ring no answer/302 Moved Temporarily
I have several Polycom IP550 phones running UC 4.0.3, connected to Asterisk 1.8.
Setting forwarding for "Always" works as expected; the phone issues a 302 Moved Temporarily, and Asterisk shifts the call to the new location.
Setting forwarding to "No Answer" means a 302 never gets issued. It just rings and eventually goes to voicemail. Watching with Wireshark, I never see a
2011 May 09
3
Really, really loud ringers
Anyone have some recommended equipment for alerting people to calls in a noisy environment?
I have Polycom IP550 phones set up in some really noisy environments - our mine hoists - and they tend to drown out the ringers. I'm using Clarity WR100s now. They're analog devices, attached to Linksys PAP2T ATAs as part of a call group to get a loud (advertised as 95dB) ring out there, but it
2011 Aug 19
2
Scanning a document through scanner using ROR
Hi everyone,
After a long back I am again using ROR,Could you please anyone can
help me how to invoke the client side resources such as scanners and
printers using ROR?
Actual requirement is the user scans a document(containing 10 to 100
pages) in his client machine(here the whole document should be in one
file like pdf or tif, not individual files) and the preview the
document to be shown for