Skip to content

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.

1,178 results for “from:David L Carlson”

Looking for help - demo() hangs R.app on 10.15.6
David L Carlson · Sep 5, 2020 · r-sig-mac

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...

Error in running Maxent within biomod2
David L Carlson · Mar 14, 2019 · r-sig-ecology

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...

Error in running Maxent within biomod2
David L Carlson · Mar 14, 2019 · r-sig-geo

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...

Extracting data from a file containing data
David L Carlson · Jun 25, 2015 · r-help

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...

A question on vector
David L Carlson · Jun 25, 2013 · r-help

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...

help in R programming
David L Carlson · Jul 6, 2012 · r-help

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...

quantile of a discrete random variable
David L Carlson · Jun 25, 2015 · r-help

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...

inverse of which()
David L Carlson · Feb 27, 2019 · r-help

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...

Scientific Notation
David L Carlson · Oct 14, 2018 · r-help

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...

Cluster -- Agnes function
David L Carlson · Sep 24, 2014 · r-help

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...

Exclude when sd=0
David L Carlson · May 24, 2012 · r-help

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...

biplot
David L Carlson · Jun 22, 2016 · r-help

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...

Heat Maps
David L Carlson · Jul 2, 2012 · r-help

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...

kendall tau distance
David L Carlson · Sep 11, 2015 · r-help

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...

Circular Statistic in R
David L Carlson · Mar 16, 2016 · r-help

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...

KNN
David L Carlson · Jun 21, 2018 · r-help

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...

modified Ward method
David L Carlson · Oct 1, 2012 · r-help

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...

Extracting Factor Pattern Matrix Similar to Proc Factor
David L Carlson · Feb 23, 2015 · r-help

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...

Having a plot with points and line with different colors
David L Carlson · Mar 5, 2014 · r-help

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...

EM for missing data
David L Carlson · Jul 23, 2012 · r-help

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 .