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.

69 results for “from:Chel Hee Lee”

Drawing a simplex
Chel Hee Lee · Aug 25, 2012 · r-help

I will very appreciate if anyone can provide some materials to draw a simplex plot of a Dirichlet distribution in R as shown in the page at http://en.wikipedia.org/wiki/File:Dirichlet_distributions.png .

Computing 'exp(1e3)*0' correctly....
Chel Hee Lee · Sep 1, 2012 · r-help

I have some trouble to deal the value of 'NaN'. For example, > exp(1e3) [1] Inf > exp(1e3)*0 [1] NaN The correct answer should be 0 rather than NaN. I will very appreciate if anyone can share some technique...

General question on the message with non zero exit status
Chel Hee Lee · Apr 18, 2012 · r-help

Oh... I see!!! I very appreciate for your clear explanation! Thank you, Uwe Ligges. -- View this message in context: http://r.789695.n4.nabble.com/General-question-on-the-message-with-non-zero-exit-status-tp4551438p4568839.html Sent from the...

Drawing a simplex
Chel Hee Lee · Aug 27, 2012 · r-help

Thank you, David. I found some good stuffs for which I have been looking. On Sun, 2012-08-26 at 09:01 -0700, David Winsemius wrote: > On Aug 25, 2012, at 9:00 PM, Chel Hee Lee wrote: > > > I will...

General question on the message with "non zero exit status"
Chel Hee Lee · Apr 12, 2012 · r-help

I have a general question how to understand the message with "non-zero exit status" when new package is installed. Based on my experience, this message implies a package dependence. Am I correct to understand this message? Are there anyone...

Counting Words
Chel Hee Lee · Jan 22, 2015 · r-help

> x <- c("hola mundo mundo"); > table(unlist(strsplit(x, " "))) hola mundo 1 2 > Is this what you are looking for? I hope this helps. Chel Hee Lee On 1/22/2015 8:25 AM, bgnumis bgnum wrote: > Hi all, > > I...

Subsetting R 3.1.2
Chel Hee Lee · Dec 5, 2014 · r-help

Your question is not clear to me. > x$alpha[1:2] [1] "a" "b" > x$alpha[2] [1] "b" > Is this what you are looking for? I hope this helps. Chel Hee Lee On 12/5/2014 11:12 AM...

Equivalent to matlab ".*" operator in R
Chel Hee Lee · Nov 19, 2014 · r-help

> y = matrix(cbind(c(0, 0.5, 1),c(0, 0.5, 1)),ncol=2) > z = matrix(c(12, -6),ncol=2) > t(apply(y, 1, function(x) x*z)) [,1] [,2] [1,] 0 0 [2,] 6 -3 [3,] 12...

Repeat elements of character vector
Chel Hee Lee · Jan 30, 2015 · r-help

> paste(rep(v1, each=3), 1:3, sep="_") [1] "a_1" "a_2" "a_3" "b_1" "b_2" "b_3" "c_1" "c_2" "c_3" > Is this what you are looking for? I hope this helps. Chel Hee...

Broken links (???) in rw-FAQ
Chel Hee Lee · Jun 24, 2015 · r-help

Could you also kindly check the following links in the rw-FAQ manual at <http://cran.r-project.org/bin/windows/base/rw-FAQ.html>?? The links list in the below seem to be broken. I hope these links are...

problem with conditional column sums
Chel Hee Lee · Jan 29, 2015 · r-help

Or, you can also do the same job using 'colSums()' as shown in the below: > colSums(status=="I") 2010 2011 2012 3 4 4 > I hope this helps. Chel Hee Lee On 1/28/2015 7:31 PM, JSHuang wrote...

get latest dates for different people in a dataset
Chel Hee Lee · Jan 23, 2015 · r-help

> do.call(rbind, lapply(split(data, data$Name), function(x) x[order(x$CheckInDate),][nrow(x),])) Name CheckInDate Temp John John 2014-04-01 99.0 Mary Mary 2014-03-01 98.1 Sam Sam 2014-04-01 97.5...

Rotate array by 90°
Chel Hee Lee · Feb 5, 2015 · r-help

> lapply(1:2, function(x) t(A[rev(1:3),,x])) [[1]] [,1] [,2] [,3] [1,] "g" "d" "a" [2,] "h" "e" "b" [3,] "i" "f" "c" [[2]] [,1] [,2] [,3] [1,] "p" "m" "j" [2,] "q" "n" "k" [3...

R problem
Chel Hee Lee · Jan 31, 2015 · r-help

> ex <- strptime(c("2014-01-30 15:39:46", "2012-04-20 14:49:02"), format="%Y-%m-%d %H:%M:%S") > ex [1] "2014-01-30 15:39:46 CST" "2012-04-20 14:49:02 CST" > format(ex...

Broken links (???) in R-FAQ
Chel Hee Lee · Jun 24, 2015 · r-help

Could you kindly check if the following links are working fine in the R-FAQ page at <http://cran.r-project.org/doc/FAQ/R-FAQ.html>? The links listed in the below seem to be broken. I hope these...

Extracting elements out of list in list in list
Chel Hee Lee · Jan 16, 2015 · r-help

This approach may not be fancy as what you are looking for. > xl <- unlist(x) > xl[grep("A", names(xl))] f1.x1.A f1.x2.A f2.x3.A f2.x4.A 11 12 13 14 > I hope this helps...

strange answer when using 'aggregate()' with a formula
Chel Hee Lee · Jan 20, 2016 · r-help

Could you kindly test the following codes? It is because I found strange answer when 'aggregate()' is used with a formula. I am trying to count how many missing data entries are in each group. For this exercise, I created...

quetion about matrix compute
Chel Hee Lee · Jan 31, 2015 · r-help

Here is another implementation: > b [1] 1 2 3 4 5 > c [1] 1 2 1 3 5 4 > outer(c,b, "==")*1 [,1] [,2] [,3] [,4] [,5] [1,] 1 0 0 0 0 [2,] 0 1 0 0 0...

Put 2 ablines in an "empty plot"
Chel Hee Lee · Dec 5, 2014 · r-help

The following example may give you an idea regarding your question. Please see what happens by typing the codes > x <- seq(from=-5, to=5, by=1) > y1 <- 0 + 0.5*x > y2 <- 0 - 0.5*x > > plot(x,y1...

Is it possible to define another kind of NA
Chel Hee Lee · Nov 9, 2014 · r-help

> LDL <- NA_real_ > is.LDL <- is.na > v <- c(0.2, 0.28, LDL, 0.9) > v [1] 0.20 0.28 NA 0.90 > is.LDL(v) [1] FALSE FALSE TRUE FALSE > Hope this helps. Chel Hee Lee On...

Can't find what you're looking for? Try searching with Google .