Displaying 20 results from an estimated 4000 matches similar to: "Connecting points on a line with arcs/curves"
2008 Sep 15
2
Drawing curves
Hi,
Am looking for an R package that will provide the drawing of curves and
arcs of arbitrary shapes to use in illustrations. For example bent lines
and arrows.
Allan.
2008 Oct 10
1
how to evaluate a cubic Bezier curve (B-spline?) given the four control points
I'm trying to use R to determine the quality of a cubic Bezier curve
approximation of an elliptical arc. I know the four control points
and I want to compute (x,y) coordinates of many points on the curve.
I can't find anything in either the base distribution or CRAN that
does this; all the spline-related packages seem to be about *fitting*
piecewise Bezier curves to a data set.
2010 Jun 05
2
how to use 'points' function to plot two curves with errbar
Dear R Users,
I am using R on windows.
how to use 'points' function to plot two curves with errbar
I am doing like:
x.val <- as.integer(names(co2mean))
errbar(x.val, co2mean, co2mean + co2sd, co2mean - co2sd, xaxt='n', col=1,
xlab=NA,ylab=NA)# obs error bar
lines(x.val, co2mean, col=1, lwd=2)
errbar(x.val, co2tm3.month.mean, co2tm3.month.mean + co2sd.tm3,
co2tm3.month.mean -
2010 Aug 27
2
export 4D data as povray density files
Dear list,
I wish to visualise some 4D data as a kind of colour / translucent
cloud in 3D. I haven't seen such plots in R (but perhaps I missed a
feature of rgl). The easiest option I found would be to export the
data in povray's df3 (density file) format and visualise it with
povray.
The format specification baffles me a little,
http://www.povray.org/documentation/view/3.6.1/374/ ;
2007 May 04
0
Predicted Cox survival curves - factor coding problems...
I am trying to use the survfit() function with the newdata argument to
produce predicted survivor curves for a particular covariate profile.
The main purpose of the plot will be to visualise the effect of snp1,
coded 0 and 1. In my Cox model I have stratified by one variable, edu, and
so I know I will automatically get a separate curve for each strata. My
problem is how to deal with the
2017 Aug 31
2
The issue about code coverage for libguestfs
Hi,
I tried to do code coverage testing for libguestfs with gcov.
The steps are shown as follows:
1. Download and install the source package(libguestfs-1.36.5-1.el7.src.rpm)
2. Modify libguestfs.spec file
#diff -u libguestfs.spec libguestfs.spec.modify
---------------------------------------------------------------------------------------
--- libguestfs.spec 2017-08-29 02:44:35.623751541 -0400
2013 Apr 10
1
bnlearn: how to compute boot strength with mmhc and a blacklist
Dear R-help list:
I have two related questions regarding the functions boot.strength and
custom.strength in bnlearn.
1)
I am using the following commands (on a set of continuous data, the
example here run on fake data):
> myblacklist<-data.frame(from=c("x1", "x1", "x1", "x2", "x2",
"x2")) , to=c("x2",
2009 Nov 08
2
linear trend line and a quadratic trend line.
Dear list users
How is it possible to visualise both a linear trend line and a quadratic trend line on a plot
of two variables?
Here my almost working exsample.
data(Duncan)
attach(Duncan)
plot(prestige ~ income)
abline(lm(prestige ~ income), col=2, lwd=2)
Now I would like to add yet another trend line, but this time a quadratic one. So I have two
trend lines. One linear trend line
2008 Nov 26
1
survreg and pweibull
Dear all -
I have followed the thread the reply to which was lead by Thomas
Lumley about using pweibull to generate fitted survival curves for
survreg models.
http://tolstoy.newcastle.edu.au/R/help/04/11/7766.html
Using the lung data set,
data(lung)
lung.wbs <- survreg( Surv(time, status)~ 1, data=lung, dist='weibull')
curve(pweibull(x, scale=exp(coef(lung.wbs)),
2012 Jan 30
1
about changing line type and line width in Taylor Diagram
Dear all,
I am new to plotting Taylor Diagram using plotrix package within R, hence
this post. I have written a script which plots Taylor Diagram with one
reference and 7 model values. However the font size, line width and line
type are not clear when saving the diagram as a jpeg file. I tried the
functions lty, lwd and font but no apparent change. I am attaching the
script here. Any help would
2009 Jan 06
3
smoothed contour lines
Hi all,
I'm trying to draw a contour plot
with rounded (smoothed) contour lines instead of sharp angles;
when the grid consists of only a few points
in x- and y- axis, the resulting contour
is in facts rather ugly since very sharp angles may appear.
I did not find any way to do it,
by using either "contour" or "contourplot" (from the lattice package),
I wonder if there
2009 Nov 27
1
plotting two surfaces simultaneously in a single panel
Hi,
I have recently begun using the lattice package, and have been using
the wireframe command to visualise matrices which are model outputs. I
have been trying to plot two surfaces (from two matrices)
simultaneously in one panel, to visualise intersections etc., but
neither my attempts or trawling the net are helping me find how to do
this.
Can someone help? Thanks
Cheers,
Umesh Srinivasan
2011 Oct 23
1
how to plot a distribution of mean and standard deviation
Hi,
I have the following data about courses (504) in a university, two
attributes about the proportion of resources used (#resources_used /
#resources_available), namely the average and the standard deviation.
Thus I have:
[1] n=504 rows
[2] 1 id column and 2 attributes
Here's a sample of the data:
courseid,average,std
12741,1,0
17161,1,0
12514,1,0
2012 Sep 21
2
efficient overlapping average curve on original curves
Dear useRs,
my question could be very basic for which i apologize in advance.
Each column of a matrix with dimensions 365 rows and 37 columns was drawn against another matrix of dimensions 365 rows and 1 column. with that i was able to draw 37 curves on the same axis.
now i want to draw an average curve of these 37 curves on the same axis in such a way that all the curves (average and 37
2005 Aug 18
3
Console
I am at my first steps with R... and I already notice that the console has a quite limited number of lines. Can anyone tell me how to visualise all the information, which is actually present? I only see the last part of the output, which obviosly exceeds the maximum number of rows in the console.
Thank you very much for your help!
Daniela
[[alternative HTML version deleted]]
2012 Apr 03
3
regression for poisson distributed data
Hello all,
I would like to get parameter estimates for different models. For one of
them I give the code in example. I am estimating the parameters (i,j and
k) with the nls function, which sees the error distribution as normal, I
would however like to do the same as nls with the assumption that the
errors are poisson distributed.
Is there a way to do this with R? Are there packages designed
2014 Apr 07
1
Source code patch (for 6.6p1) adding support for Brainpool Elliptic Curves
Dear all,
?
maybe it is a little early but the next (stable) version of OpenSSL will support
Brainpool Ellptic curves (current beta 1.0.2-beta1 contains support for
Brainpool already). Brainpool curves are defined in RFC 5639.
?
Please find attached a patch file that adds support for Brainpool Elliptic
Curves in OpenSSH. Currently, setting the bit size to 256, 384 or 521 selects
one of the
2011 Feb 04
3
shade between two curves
Is there a function that can shade the region between two arbitrary
curves? For example, how can I fill in the area between these two
plotted curves?
> x <- 1:10
> y <- x + rnorm(10)
> z <- x + 10 + rnorm(10)
> plot(x, y, type = "l", ylim = c(0,20))
> lines(x, z)
I would appreciate any help.
David
2010 Mar 13
1
testing parallelism of does-response curves using nls()
Hi, I am trying to use F test or Chi-square test to test if 2 5-parameter (A, B, xmid, scal and H) logistic curves are parallel based on residual sum of squares.
What's usually done is to first fit the 2 curves using a constraint (or global) model where all parameters are kept the same except for "xmid"; then fit 2 independent curves using unconstraint models where all 5 parameters
2012 Jul 05
1
Comparing crossing survival curves
Hi
I want to compare the survival curves in two groups. Because the hazards are
not proportional (the curves cross) the log rank test or Cox proportional
hazard test are not suitable. How should such curves be compared? Comands
are welcome....
Thanks in advance