search for: candisc

Displaying 19 results from an estimated 19 matches for "candisc".

2008 Dec 10
1
trouble loading candisc
Hello, I am having trouble loading the package candisc onto my R distribution. I am using 2.7.1-2. I do a "> install.packages("candisc" and get the following output. Warning in install.packages("candisc") : argument 'lib' is missing: using '/usr/local/lib/R/site-library' --- Please select a CRAN mirror for...
2008 Jun 16
1
candisc() error message
Hi, I am doing canonical discriminant analysis using candisc function from the candisc package. My input is a table of species distribution (columns = abundance of each species in each sample) in samples that are split by categories (rows), and I want to know whether each category is associated with a particular set of species and their abundances. I ha...
2009 Jan 19
1
candisc
Hello, I have a question regarding the candisc package. My data are: species three five 1 2.95 6.63 1 2.53 7.79 1 3.57 5.65 1 3.16 5.47 2 2.58 4.46 2 2.16 6.22 2 3.27 3.52 I put these in a table and then a linear model >newdata <- lm(cbind(three, five) ~ species, data=rawdata) and then d...
2009 Mar 31
1
Package candisc
Hi listers, I am working on an canonical discriminant analysis, but I am having some trouble to use the CANDISC function... I just installed the last R version and installed the package CANDISC... But, I am getting the following message because about a permission: The downloaded packages are in C:\Users\Marcio\AppData\Local\Temp\Rtmpz2kFUm\downloaded_packages updating HTML package descriptions Warning messa...
2008 Dec 11
1
candisc plotting
...e a file with two dependent variables (three and five) and one independent variable. I do i.mod <- lm(cbind(three, five) ~ species, data=i.txt) and get the following output: Coefficients: three five (Intercept) 9.949 9.586 species -1.166 -1.156 I do a" i.can<-candisc(i.mod,data=i): and get the following output: Canonical Discriminant Analysis for species: CanRsq Eigenvalue Difference Percent Cumulative 1 0.096506 0.10681 100 100 Test of H0: The canonical correlations in the current row and all that follow are zero LR test stat a...
2010 Jul 29
0
[R-pkgs] heplots 0.9-3 and candisc 0.5-18 released to CRAN
I've just released the latest R-Forge versions of heplots 0.9-3 and candisc 0.5-18 to CRAN. They should appear there within a day or two. == heplots The heplots package provides functions for visualizing hypothesis tests in multivariate linear models (MANOVA, multivariate multiple regression, MANCOVA, etc.). They represent sums-of-squares-and-products matrices for linear...
2008 Apr 18
0
new candisc package on CRAN
I'm happy to announce the candisc package, v 0.5-9, now on CRAN. Generalized Canonical Discriminant Analysis Description This package includes functions for computing and visualizing generalized canonical discriminant analyses for a multivariate linear model. They are designed to provide low-rank visualizations of terms in a m...
2008 Apr 18
0
new candisc package on CRAN
I'm happy to announce the candisc package, v 0.5-9, now on CRAN. Generalized Canonical Discriminant Analysis Description This package includes functions for computing and visualizing generalized canonical discriminant analyses for a multivariate linear model. They are designed to provide low-rank visualizations of terms in a m...
2007 Sep 12
0
constructing an lm() formula in a function
I'm working on some functions for generalized canonical discriminant analysis in conjunction with the heplots package. I've written a candisc.mlm function that takes an mlm object and computes a candisc object containing canonical scores, coeficients, etc. But I'm stumped on how to construct a mlm for the canonical scores, in a function using the *same* right-hand-side of the model formula that was used in the original mlm for the...
2013 Jan 29
3
how to suppress the intercept in an lm()-like formula method?
...est case at the end, showing that the method fails when called normally, but works if I explicitly use -1 in the formula. I could hack the result of model.matrix(), but maybe there's an easier way? cancor <- function(x, ...) { UseMethod("cancor", x) } cancor.default <- candisc:::cancor # TODO: make cancisc::cancor() use x, y, not X, Y cancor.formula <- function(formula, data, subset, weights, na.action, method = "qr", model = TRUE, x = FALSE, y = FALSE, qr = TRUE, contrasts = NULL, ...) { cl <- match.call() mf...
2008 Oct 29
2
sessionInfo() error
...ESCRIPTION file is as follows: Package: heplots Type: Package Title: Visualizing Tests in Multivariate Linear Models Version: 0.8-3 Date: 2008-10-28 Author: John Fox, Michael Friendly, and Georges Monette Maintainer: John Fox <jfox at mcmaster.ca> Depends: car, graphics, stats Suggests: rgl, candisc LazyLoad: yes LazyData: yes Description: Represents sums-of-squares-and-products matrices for linear hypotheses and for error using ellipses (in two dimensions) and ellipsoids (in three dimensions). License: GPL version 2 or newer Packaged: Wed Jan 31 09:23:10 2007; John Fox What is wrong here?...
2014 Jul 30
2
listof
Dear R developers A question about the class 'listof', defined in package 'stats'. Other than its definition and use in the code for 'anova', we can't see that the class 'listof' is used for anything else (in recommended packages, or elsewhere). In the spatstat package we have been using a 'listof' to represent a list of spatial objects of the same
2018 May 26
0
TukeyHSD for multiple response
...ter off setting up and testing contrasts than doing all-pairwise Tukey tests. Also, the PCA scores are ordered in terms of variance acct'd for, so maybe only the first few are important. Finally, you might be better off using Canonical Discriminant analysis than PCA followed by MANOVA. The candisc package is well suited to this task. It can give you HE plots in the space that best discriminates among the levels of an effect, and show how the original variables relate to (project into) that space. CDA is sort of like PCA, but the goal is to account for maximum differences among groups rath...
2005 Jul 06
1
Help: Mahalanobis distances between 'Species' from iris
...9;iris' data as obtained below: Squared Distance to Species From Species: Setosa Versicolor Virginica Setosa 0 89.86419 179.38471 Versicolor 89.86419 0 17.20107 Virginica 179.38471 17.20107 0 This distances above were obtained with proc 'CANDISC' of SAS, please, see Output 21.1.2: Iris Data: Squared Mahalanobis Distances from http://www.id.unizh.ch/software/unix/statmath/sas/sasdoc/stat/chap21/sect19.htm From this distance my intention is to make a cluster analysis as below, using the package 'mclust': # # --- Begin R script...
2018 May 25
2
TukeyHSD for multiple response
Dear all, I'm testing the effect of species and sex in my sample by using the principal component scores of a PCA analysis. I have 30 PCs and I tried to see if there is any significant difference from males to females, given that there is a significant effect of phylogeny (factor with several species). I didi it like this: Y<-PCA$pc.scores[,1:30] fit <- manova(Y ~ sp*sex)
2010 Jun 15
1
MANOVA proportion of variance explained
Hello everybody After doing a MANOVA on a bunch of data, I want to be able to make some comment on the amount of variation in the data that is explained by the factor of interest. I want to say this in the following way: XX% of the data is explained by A. I can acheive something like what I want by doing the following: X <- structure(c(9, 6, 9, 3, 2, 7), .Dim = as.integer(c(3,
2005 Jul 08
5
Help with Mahalanobis
...f 'iris' data as obtained below: Squared Distance to Species From Species: Setosa Versicolor Virginica Setosa 0 89.86419 179.38471 Versicolor 89.86419 0 17.20107 Virginica 179.38471 17.20107 0 These distances were obtained with proc 'CANDISC' of SAS, please, see Output 21.1.2: Iris Data: Squared Mahalanobis Distances from http://www.id.unizh.ch/software/unix/statmath/sas/sasdoc/stat/chap21/sect19.htm From these distances my intention is to make a cluster analysis as below, using the package 'mclust': In prior mail, my ba...
2009 Apr 01
0
回复: R-help Digest, Vol 73, Issue 32
...(Gad Abraham)   91. Re: How to get commands history as a character vector instead       of displaying them? (Yihui Xie)   92. Convert Character to Date (Bob Roberts)   93. Re: Convert Character to Date (Bill.Venables@csiro.au)   94. Re: Convert Character to Date (Gabor Grothendieck)   95.  Package candisc (MarcioRibeiro)   96. [R-pkgs] data.table is on CRAN (enhanced data.frame for time       series    joins and more) (Matthew Dowle)   97.  Convert date to integer (thoeb)   98. summarize logical string (dbajic@cnb.csic.es)   99. Re: summarize logical string (Dimitris Rizopoulos)   100. Efficient cal...
2010 Jul 18
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * allan (1.0) Alan Lee http://crantastic.org/packages/allan Automates Large Linear Analysis Model Fitting * andrews (1.0) Jaroslav Myslivec http://crantastic.org/packages/andrews Andrews curves for visualization of multidimensional data * anesrake (0.3) Josh Pasek http://crantastic.org/packages/anesrake This