[cc'ing back to r-help]

At this point it sounds like you may need to poke around some more on your  
own -- I'm guessing
you're not familiar with R. Reading through the various documentation on  
these packages (try
help(package=...) to see if there is a vignette too) and/or  
the "Introduction to R" to get
acquainted with R more generally is probably a good idea. You need to  
figure out how to
create an object of the same class produced by randFRY() ...

On Jul 29, 2010 2:10pm, cassandra browne <cassandra-bro...@hotmail.com>  
wrote:

> Thank you so much! One more, i think. So I got this lovely little piece,  
> and I put it in R, and it produced plots.
> Where do I put my x and y values though? And if I change the number of  
> points, does anything else change in the code?


> Thank you for helping me, really.



> Cassie

> ExamplesRDAT = randFRY(400, LIM=c(0,0, 200, 200) , rlen=5 )
> length(RDAT$x)
> plot(RDAT$x, RDAT$y, asp=1, pch=".", cex=2)

> u = par( no.readonly = TRUE)


> par(mfrow=c(3,2))
> shr = 0.0
> simpleshear = matrix(c(1, shr, 0, 1), ncol=2)

> Showfry(RDAT, simpleshear, 75)
> shr = 1.2
> simpleshear = matrix(c(1, shr, 0, 1), ncol=2)

> Showfry(RDAT, simpleshear, 75)

> epsilon1 = 0.4
> H = matrix(c(1+epsilon1, 0, 0, 1/(1+epsilon1) ), ncol=2)

> Showfry(RDAT, H, 75)

> par(u)



> > To: r-h...@stat.math.ethz.ch
> > From: bbol...@gmail.com
> > Date: Thu, 29 Jul 2010 17:16:09 +0000
> > Subject: Re: [R] Fry Plots
> >
> > cassandra browne hotmail.com> writes:
> >
> > >
> > >
> > > Does anyone know how to do a fry plot in R? I have 600-800 points per  
> image,
> > and I really don't want to attempt
> > > that manually.
> > >
> > > Thank you!
> > > Cassie
> >
> > library(sos) ## you'll have to install this first
> > findFn("fry plot")
> >
> > finds useful stuff in the geophys and spatstat packages
> >
> > ______________________________________________
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide  
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to