similar to: Canonical Values and Centroids for MANOVA plots

Displaying 20 results from an estimated 1000 matches similar to: "Canonical Values and Centroids for MANOVA plots"

2005 Nov 15
1
Repeates Measures MANOVA for Time*Treatment Interactions
Dear R folk, First off I want to thank those of you who responded with comments for my R quick and dirty stats tutorial. They've been quite helpful, and I'm in the process of revising them. When it comes to repeated measures MANOVA, I'm in a bit of a bind, however. I'm beginning to see that all of the documentation is written for psychologists, who have a slightly
2005 Nov 08
2
A Quick and (Very) Dirty Intro to Stats in R
Greetings to all, First off, I want to thank you all for answering any nagging questions I've had over the past few days. I've been in the process of putting together A Quick and (Very) Dirty Intro to Doing Your Statistics in R (which I have posted to http://didemnid.ucdavis.edu/rtutorial.html ) in order to teach an R workshop for the graduate students in my department. This is a
2008 Apr 15
2
glht with a glm using a Gamma distribution
Quick question about the usage of glht. I'm working with a data set from an experiment where the response is bounded at 0 whose variance increases with the mean, and is continuous. A Gamma error distribution with a log link seemed like the logical choice, and so I've modeled it as such. However, when I use glht to look for differences between groups, I get significant
2008 May 06
1
question about se of predicted glm values
Hey, all. I had a quick question about fitting new glm values and then looking at the error around them. I'm working with a glm using a Gamma distribution and a log link with two types of treatments. However, when I then look at the predicted values for each category, I find for the one that is close to 0, the error (using se.fit=T with predicted) actually makes it overlap 0.
2008 Feb 04
1
extracting AIC scores from lmer and other objects
I have a slight conundrum. I'm attempting to write a scrip that will take a number of objects (lm, glm, and lmer) and return AIC scores and weights. I've run into 3 problems, and was wondering if anyone had any pointers. 1) is there any convenient way to extract the name of the objects? Simply, if I have a vector of objects c(my.lm, my.lmer) and I want to get a character
2005 Oct 22
0
Getting univariate information from a multivariate data set
A quick question that I've had only partial success in answering. I have a multivariate dataset, and would like to extract some simple univariate information from it grouped by treatments, etc. I am encountering two problems however Note: I am importing my data with my_data <- read.csv("/path/data.csv") 1) Scoping of unstack If I attempt sorted_data <- unstack(response,
2011 Apr 27
1
centroid representation and MANOVA
hi all. I have a matrix of data with 5 different groups and 20 individual response per group, and about 12 variables collected for each. I want to represent the result in a 2D plot. PCA is not so good because the difference between the groups is not obvious. I have seen, in a recent paper, people doing a MANOVA and representing it in a centroid plot (they used Matlab to do it). I would like
2009 Jun 15
1
altering a global variable
I'm working on a program that loads several large data files. I'm using ddply (plyr is really awesome) but I want to minimize the amount of times a large data file is read in. One solution is to keep track of which data file is open with a global variable and then change the currently open data file globally as needed. However, I'm unclear on how to alter a global variable
2006 Apr 20
1
info : Manova - eigenvector analysis and canonical analysis
Hello everybody ! I try to obtain in R eigenvectors and canonical analysis on MANOVA results, but I don't find how to process? In particular, I would be interesting to obtain "standardized canonical coefficients" of the canonical variates. There analysis give some information on the correlation between response variates. My data are organised in 2 terms (one is continu, one is a
2010 Feb 16
1
suppress printing within a function
I'm working with a few functions (e.g. do.base.descriptions in the netstat package) that, in addition to returning an object with variables I want to extract, also print output. There is no way to turn this default printing behavior off in many of the functions. Is there a blanket way to suppress such printing, say, within a loop or a ddply statement? Thanks! -Jarrett
2007 Feb 13
4
Advice on visual graph packages
Hey, all. I'm looking for packages that are good at two things 1) Drawing directed graphs (i.e nodes and edges), both with single and double headed arrows, as well as allowing for differences in line width and solid versus dashed. Note: I've tried Rgraphviz here, but have run into some problems (which seem fixable and I may go with it in the end), and it doesn't satisfy need
2006 Sep 13
1
Updating lmer - object is not subsettable?
I'm attempting to write a general function to implement Faraway's bootstrapping algorithm for mixed models with lmer, but have run into a curious problem. I'm comparing two models model.1<-lmer(Response ~ Treatment + (1|Trial), data=exp.data, method="ML") model.2<-lmer(Response ~ 1 + (1|Trial), data=exp.data, method="ML") When I attempt to update
2009 Apr 29
1
Hierarchical Diagram of Networks in sna or otherwise?
I've been using sna to work with some networks, and am trying to visualize them easily. My networks are hierarchical (food webs). All of the layout engines I've tried with gplot don't seem to plot hierarchical networks, as one would using dot from graphviz. While I could do all of this by outputting to dotfiles and running it through graphviz, the graphics I get from R are much
2011 Oct 16
1
multicore combn
This is a 'rather than re-invent the wheel' post. Has anyone out there re-written combn so that it can be parallelized - with multicore, snow, or otherwise? I have a job that requires large numbers of combinations, and rather than get all of the index values, then crank it through mclapply, I was wondering if there was a way to just do this natively within a function. Just curious.
2005 Nov 01
1
R Graphs in Powerpoint
I've tried several methods in OS X, and here's what works best for me. Save the R graphic as a PDF file. Open it with Apple's "Preview" application, and save it as a PNG file. The resulting .png file can be inserted into MS Word or PowerPoint, can be resized, and looks good on either OS X or Windows. There are other programs available for translating the pdf file to png
2009 May 12
1
adonis help - (non-parametric (permutational) manova)
I am trying to apply this technique (M.J Anderson 2001) to a dataset of aquatic insect abundances. There is a sample in the unrestored and restored segement of a stream for every time period. I would like to compare the centroids of the distance matrices for the treatments up (unrestored) and dn (restored) to see if there is a difference in insect communities between the treatments. I will not
2008 Jun 02
1
LDA and centroids
Hello, I have carried out an lda analysis using the lda function of MASS package. I have plotted the LD1xLD2 to represent the data. Now I would like to get the centroids for each group of data and plot it on the LD1xLD2 graph. How can I get the centroid value from the lda object? Best, Dani -- Daniel Valverde Saub? Grup de Biologia Molecular de Llevats Facultat de Veterin?ria de la
2012 Oct 28
1
Trouble with first passage time analysis using adehabitatLT
Hey all, I've run into a few problems running first passage time analysis. I'm hoping someone might be able to help me sort this out. I'm fine up to the point of creating the ltraj object from a dataset. /test<-read.table("~/Desktop/R_Directory/test.txt",header=TRUE) attach(test) library(adehabitatLT) xy<-test[,c("x","y")]
2005 Oct 28
0
lm type of sums of squares
anova.lm() gives the sequential tests: > set.seed(1) > dat <- data.frame(y=rnorm(10), x1=runif(10), x2=runif(10)) > anova(lm(y ~ x1 + x2, dat)) Analysis of Variance Table Response: y Df Sum Sq Mean Sq F value Pr(>F) x1 1 1.1483 1.1483 2.0943 0.1911 x2 1 0.4972 0.4972 0.9068 0.3727 Residuals 7 3.8383 0.5483 > anova(lm(y ~ x2 + x1,
2006 May 08
1
finding centroids of clusters created with hclust
Hello, Can someone point me to documentation or ideas on how to calculate the centroids of clusters identified with hclust ? I would like to be able to chose the number of clusters (in the style of cutree) and then get the centroids of these clusters. This seems like a quite obvious task to me, but I haven't been able to put my hands on a relevant command. Thank you, Moritz