Displaying 20 results from an estimated 100 matches similar to: "How to generate more triangles in sequences?"
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 Aug 05
1
overlap two graph
Hi everyone,I need you all help.
I want to create few image in same diagram.
For example, I wan draw two ellipse in same diagram.
plot(ellipsePoints(2,5, alpha = 60), asp=1)
and
plot(ellipsePoints(2,5, alpha = 30), asp=1)
How to display both ellipse together? both is different in angle.
Thank you.
--
Hemavathi Ramulu
[[alternative HTML version deleted]]
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 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 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 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 Jun 10
2
Merge data frame and keep unmatched
Hi,
With two data sets, one complete and another one partial, I would like to
merge them and keep the unmatched lines. The problem is that merge() dosen't
keep the unmatched lines. Is there another function that I could use to
merge the data frames.
Example:
completedf <- expand.grid(alpha=letters[1:3],beta=1:3)
partdf <- data.frame(
alpha= c('a','a','c'),
2011 Apr 11
1
Getting many substrings but only loading the original string one time.
Hi All,
I'm looking for a way to get many substrings from a longer string and
then stitch them together. But, since the longer string is really, really
long (like 250 MB long), I don't want to do this in a loop and load and
re-load the longer string many times. Does anybody have an idea?
Maybe I could pass in two vectors (the first would have the starting
coordinates, and the second
2009 Sep 11
3
For sending my R package as part of R-project
To Whom It May Concern:
I have an R package and want to put this package be part of R-project and available to anyone who is interested in.
The R package is created for my paper, titled "Acceptance Sampling Plans from Truncated Life Tests Based on the Birnbaum-Saunders Distribution for Percentiles". The paper has been accepted by Communications in Statistics: Simulation and
2003 Aug 20
1
Filled triangles in lattice graphics?
Dear R users,
I can get a filled triangle pointing upwards by specifying pch=17 in
xyplot or lpoints, but how do I get a filled triangle that points downwards?
In the standard plot function it's possible to use
plot(x,y,pch=25,bg="black"), but bg= doesn't seem to work with lattice
and lpoints.
Thanks,
Hans Gardfjell
Ecology and Environmental Science
Ume? University, Sweden
2011 Dec 26
1
Finding all triangles in a graph
I have the adjacency matrix of a graph. I'm trying to find all
triangles (embeddings of C_3). This doesn't work:
index = function(l) seq(l)[l]
pairs = do.call(rbind, lapply(seq(nrow(adj)), function(x) cbind(x,
index(adj[x,]))))
triangles = do.call(rbind, apply(pairs, 1, function(x) cbind(x,
index(adj[x[1],] & adj[x[2],]))))
I'm absolutely certain I've gone down the wrong path
2015 May 18
2
Tessellation shaders get MEM_OUT_OF_BOUNDS errors / missing triangles
Hello,
I've been debugging a few different tessellation shader issues with
nouveau, but let's start small. I see this issue on my GK208 with high
frequency, and I *think* I've seen it once or twice on my GF108, but
it's exceedingly rare, if it does happen. I don't have a GK10x to test
on, unfortunately, but I assume it'll have the same issue as the
GK208.
The issue is
2015 May 26
2
Tessellation shaders get MEM_OUT_OF_BOUNDS errors / missing triangles
One additional observation that I just made is that on GK208, the blob
apparently doesn't use the result of S2R Rx, SR_INVOCATION_ID
wholesale in TCS. It either passes it through a I2I.S32.S32 Rx, |Rx|
(i.e. absolute value), or even more paradoxically, shl 2; shr 2; which
removes the top *2* bits, rather than just the top 1. However I see no
such behaviour on GF108.
I'm going to test out
2004 Apr 27
1
bcanon bug???
> in some cases the bootstrap estimates for the
> highest confidence level are obviously wrong:
> 0.05/x -1.33318711781158
> 0.025 -1.09386961626344
> 0.05 -0.868768454819694
> 0.1 -0.652649120212949
> 0.16 0.0453058935697044
> 0.84 0.104645679223495
> 0.9 0.213385388775905
> 0.95 0.368838243723381
> 0.975 0.615868703042345
> 1-0.05/x
2010 May 11
1
nls() and nls2() behavior?
first, apologies for so many posts yesterday and today. I am
wrestling with nls() and nls2(). I have tried to whittle it down to a
simple example that still has my problem, yet can be cut-and-pasted
into R. here it is:
library(nls2)
options(digits=12);
y= c(0.4334,0.3200,0.5848,0.6214,0.3890,0.5233,0.4753,0.2104,0.3240,0.2827,0.3847,0.5571,0.5432,0.1326,0.3481)
x=
2009 Jun 02
2
newbie help: simple operations in R
Hi, i' d like to use R for simple calculations. I show you an examples to
make clear my help request
I' ve a file .csv like this (my real file is composed by 10.000 lines and 8
columns)
x y
3 4
1 7
I' ve imported in R correctly. Now i want create a new variable named "t"
and t is defined throught this relation:
t = 4 (second element on x column) * 4 (first element on y
2004 Dec 09
4
Scatterplot question
Dear list members,
I have a probably simple question concerning scatterplots: I want to
draw a plot with one X but several Y columns, so that every group
of samples gets a different symbol. My table looks like this:
X Y1 Y2 Y3
1 1
2 3
3 5
4 7
5 9
6 11
7 13
8 15
Simple in Excel or StarOffice, but how do I do it in R?
Thanks a lot
Judith
2006 Jul 12
0
New R-Packages: Triangle and LHS
Two new packages have been added to CRAN.
The first is a simple package which provides the standard functions for
a triangle distribution (rtriangle, dtriangle, ptriangle, qtriangle).
The second package generates and augments Latin Hypercube Samples.
Functions for generating random and optimized designs are provided.
I look forward hearing your feedback and improving the documentation!
2006 Jul 12
0
New R-Packages: Triangle and LHS
Two new packages have been added to CRAN.
The first is a simple package which provides the standard functions for
a triangle distribution (rtriangle, dtriangle, ptriangle, qtriangle).
The second package generates and augments Latin Hypercube Samples.
Functions for generating random and optimized designs are provided.
I look forward hearing your feedback and improving the documentation!
2010 Sep 02
2
lower triangle of the correlation matrix with xtable
Dear all,
mydata<-data.frame(x1=c(1,4,6),x2=c(3,1,2),x3=c(2,1,3))
cor(mydata)
x1 x2 x3
x1 1.0000000 -0.5960396 0.3973597
x2 -0.5960396 1.0000000 0.5000000
x3 0.3973597 0.5000000 1.0000000
I wonder if it is possible to fill only lower triangle of this
correlation matrix? Using 'dist' doesn't seem to be useful as it doesnt
allow to convert this table