Displaying 9 results from an estimated 9 matches for "countours".
Did you mean:
contours
2007 Jan 29
2
countour and poygon shading
Hi,
I have a contour plot and I want to shade a polygon (the area below a line)
but the polygon shading wipes out the contour lines. Does anybody know how
to shade the polygon and still see the contour lines? Thanks.
Jeff
2008 Oct 04
3
How to plot countours with fixted densities?
Hello,
I used the following codes to generate bivariate normal dependence structure with unit Frechet margins.
Sigma <- matrix(c(1,.5*sqrt(1),.5*sqrt(1),1),2,2) # generate
y <- mvrnorm(Nsam, c(0,0), Sigma) # random
v <- cbind(pnorm(y[,1],mean = 0, sd = 1), pnorm(y[,2],mean = 0, sd = 1))
z <- cbind(-1/log(v[,1]),-1/log(v[,2]))
z1 <- z[,1]
z2 <- z[,2]
And to
2003 Jul 12
2
help with bivariate density plot question
Dear R users:
I have a dataset with two variables (>20000 observations, two samples from same subject) and I used "kernSur" from library(Genkern) to
get a estimated bivariate density and corresponding plots as follows:
new.data.normal<-data.normal[!is.na(data.normal[,2]),]
x<-new.data.normal[,2]
y<-new.data.normal[,3]
op <- KernSur(x,y, xgridsize=50, ygridsize=50,
2003 Mar 17
1
help with likelihood contour plot
Can some kind person point out my error here? I'm trying to set up a
grid for a countour plot of a likelihood function.
> u <- rnorm(20,9.5,2.5)
> # sample of size 20 from N(9.5,2.5^2)
> loglik <- function(th1,th2) {
+ n <- length(u)
+ -(n/2)*log(2*pi*th2^2)-0.5*sum((u-th1)^2/th2^2)
+ }
> x <- seq(4.5,14.5,len=50)
> y <- seq(0.5,6,len=50)
> f <-
2004 Dec 30
2
simplest possible xyz plot
New to R, and didn't find the following in the docs.
Main use for R. to get feet wet, is to pipe in x,y,z data, one point
per line, and
plot it in 3d, like this:
{
echo 1,2,3
echo 2,4,6
...
} | R ...
But functions like contour seem to require index vectors that are
sorted. I am curious why, and how to convert.
Also, I am curious whether any Lisp person has ever written a front
end to R
2009 Apr 22
1
Color coded 3D plot
I wonder whether it is possible in R to generate color-coded 3D plots, like the attached example.
Basically a function f(x,y) (the 3rd dimension) is rendered through colors intensities. The side color-bar is a guide to the
interpretation of the plot.
Thank you very much,
Maura
e tutti i telefonini TIM!
Vai su
e tutti i telefonini TIM!
Vai su
2012 Jun 06
0
ellipse
Hi,
I would like to draw elliptic confidence interval. I know I can use a
package ellpise, but can I do it in this way:
I want to draw an ellipse countour i.e. all points in R^2 such that
t(x*-x)%*%A%*%(x*-x)<=c, for some x* in R^2 and constant c. A is 2x2 matrix.
--
View this message in context: http://r.789695.n4.nabble.com/ellipse-tp4632611.html
Sent from the R help mailing list archive
2009 Feb 17
1
plot.lm: "Cook's distance" label can overplot point labels
The following code demonstrates an annoyance with plot.lm():
library(DAAGxtras)
x11(width=3.75, height=4)
nihills.lm <- lm(log(time) ~ log(dist) + log(climb), data = nihills)
plot(nihills.lm, which=5)
OR try the following
xy <- data.frame(x=c(3,1:5), y=c(-2, 1:5))
plot(lm(y ~ x, data=xy), which=5)
The "Cook's distance" text overplots the label for the point with the
2002 Oct 01
2
R-gui
I discover last week the R software statistics programm, I have a small
questions, When we generate a bivariate normal distribution is it
possible to plot the generate distribution.
The second one if there is a code to generate a bivariate student
distribution.
If yes i would ask you gratefully a help.
Thank you very much