Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
I have the same version of macOS and R. I do not have any problem with 'demo()' but 'demo(package = .packages(all.available = TRUE))' hangs with the spinning ball until I force quit R. David Carlson On Sat, Sep 5...
If you don't get an answer here, contact the biomod2 package maintainer. The email address is shown on following webpage: https://cran.r-project.org/web/packages/biomod2/index.html or you can use the R command: maintainer("biomod2...
If you don't get an answer here, contact the biomod2 package maintainer. The email address is shown on following webpage: https://cran.r-project.org/web/packages/biomod2/index.html or you can use the R command: maintainer("biomod2...
First, create a variable (a factor) for your categories (did you really intend to exclude September?). Then use the aggregate function. ?factor ?aggregate ------------------------------------- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -----Original Message...
My_Vector[names(My_Vector)=="a"] ------------------------------------- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77840-4352 -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org...
Please hold. The r-help hive mind is attempting to probe your brain for further details of your "problem related to Poisson Ridge Regression." ---------------------------------------------- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77843-4352...
There is a function called quantile() that provides 9 methods of computing quantiles, three of which are appropriate for discontinuous data. Type ?quantile at the command prompt for details. ------------------------------------- David L Carlson Department of Anthropology Texas A&M University College...
I'm not sure I completely understand your question. Would using grepl() instead of grep() let you do what you want? ---------------------------------------- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77843-4352 -----Original Message----- From: R...
You probably need to read up on the scipen= argument in ?options. What is displayed at the console is not what is stored: > x <- 1619052826499 > print(x) [1] 1.619053e+12 > dput(x) 1619052826499 > options(scipen=10) > print(x) [1...
Read the documentation for cutree(). You will have to decide how many clusters you want to use since agnes() provides results for everything from n clusters (where n is the number of observations) to 1 cluster. ?cutree ------------------------------------- David L Carlson...
Assuming you mean that the column is constant so that the sd is 0 test <- matrix(rnorm(50), nrow=10, ncol=5) test[,2] <- 1 test[,4] <- 2 # test[,which(apply(test, 2, sd) > 0)] could fail on rounding errors...
The xlabs= (rows) and ylabs= (columns) arguments handle the labels, but they do not recycle so you need to specify values for each row and each column: > set.seed(42) > x <- matrix(rnorm(500), 50, 10) > biplot(prcomp(x), xlabs...
Something like this? > image(x, y, outer(x, y, u), breaks=c(0, a), col=heat.colors(3)) > contour(x, y, outer(x, y, u),levels=a, col="blue", add=TRUE) ---------------------------------------------- David L Carlson Associate Professor of Anthropology Texas A...
The Wikipedia article gives a simple formula based on the number of discordant pairs. You can get that from the ConDisPairs() function in package DescTools. ------------------------------------- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352...
It is always hard to diagnose unspecified "problems", but it should not matter. You do need to use statistical methods specifically designed for circular data. Even simple descriptive statistics such as the mean, standard deviation, and variance require special functions...
It depends on what you are trying to do and what kind of data you are using. If you are using Euclidian distance and your variables have different means and standard deviations, the answer is probably yes. That will weight...
You asked this question before. I think you need to tell us what "modified ward method" you are talking about and what you are trying to accomplish. I did a quick Google Scholar search and turned up only a few...
Function principal() in psych takes a correlation matrix so use cov2cor() to convert: library(psych) iris.pca <- principal(cov2cor(cov(iris[,-5])), nfactors=4, rotate="none") print(iris.pca$Structure, cutoff=0) David -----Original Message----- From: R-help [mailto:r...
Alternatively use type="c" instead of "l" which will create line breaks where the points will go. plot(1:5,type="c", col="blue") points(1:5,col="black") David -----Original Message----- From: r-help-bounces at r-project.org...
This is chopped off. What happens next is important. EM can be used to compute covariance matrices and conducts the statistical analysis without imputing any missing values or it can be used to impute missing values to create one or...
Can't find what you're looking for? Try searching with Google .