[R] multivariate ordered probit regression---use standard bivariate normal distribution?

2012-04-03 Thread Trey Batey
it helps in your response, I've included a link to the data below. Thanks. --Trey Get the data (a *.csv file) here: https://docs.google.com/open?id=0B5zZGW2utJN0TEctcW1oblFRcTJrNDVLOVBmRWRaQQ unvar.prob1<-vglm(pube3~age,data=refdata,cumulative(link="probit",parallel=FALSE,

[R] multivariate ordinal probit regression vglm()

2012-03-21 Thread Trey Batey
cs.google.com/open?id=0B5zZGW2utJN0TEctcW1oblFRcTJrNDVLOVBmRWRaQQ). Thanks in advance. --Trey *** Trey Batey---Anthropology Instructor Mt. Hood Community College 26000 SE Stark St. Gresham, OR 97030 trey.ba...@mhcc.edu or ekt.ba...@gmail.com ## unrestricted cumula

[R] plotting survival curves (multiple curves on single graph)

2011-07-05 Thread Trey Batey
below be modified, perhaps with a "for" statement, so that multiple curves (different line types---one for each population) are plotted on a single graph for comparison? Thanks so much. --Trey The function and calls below use the data in this Excel file (feel free to access): https://docs.

[R] plotting survival curves with model parameters

2011-06-28 Thread Trey Batey
a2,a3,b3)) For example, how can I modify the function above to produce a curve for the a specific group (e.g., Hadza, Ache...) or multiple groups on one graph? Thanks. --Trey __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listin

[R] NMDS Ordination Graphics Problem

2010-04-05 Thread Trey
Dr. Stevens, Hi, my name is Trey Scott, and I'm a grad student of Brian McCarthy's. He referred me to you because of your expertise in handling complex R problems. We were hoping you could help us solve a nagging problem that is prohibiting me from producing graphicl output. Here i

Re: [R] How to split data for NMDS plots

2010-04-04 Thread Trey
In essence, here is what I'm after: When I plot the NMDS ordination, I get a cloud of points. To make sense of this cloud I need to differentiate the cloud into control and infested sites to see if there is any meaningful separation. The first 5 plots are "infested", and the second 5 plots are

Re: [R] How to split data for NMDS plots

2010-04-04 Thread Trey
Here is the code I have used to this point: > trba<-read.table("c:\\Rdata\\NMDS\\trba.txt",header=T,row.names=1) > attach(trba) > trba >bat<-metaMDS(trba) plot(bat, display = c("sites")) Given this simple code and my previous example of the matrix, how would I go about splitting the data out

[R] How to split data for NMDS plots

2010-04-04 Thread Trey
I have a data matrix that contains site data for paired infested and control plots. For example: ab ac ad af ag ah 1 .024 x x x x x 2 .9 x x x x x 3 1.5x x x x x 4 2.3x x x x x 5 1.0x x x x x 1c.75 x