[R] How to integrate UMLS to opennlp or NLP package in R

2016-09-29 Thread SH.Chou
Hi, I am trying to use R's opennlp package with UMLS (Unified Medical Language System, https://www.nlm.nih.gov/research/umls/) to analyze physician's notes, but I couldn't find any hint from Google. Any idea how I can achieve this goal or any tutorials/books/websites I missed? Thanks! [[al

[R] question about "mean"

2010-06-09 Thread SH.Chou
Hi there: I have a question about generating mean value of a data.frame. Take iris data for example, if I have a data.frame looking like the following: - Sepal.Length Sepal.Width Petal.Length Petal.WidthSpecies 15.1 3.5

[R] select one function from two of them in another function

2009-08-27 Thread SH.Chou
Hi all, I have two functions called test1() and test2(). Now how do I select one of them in test3()?? Say test3<-function(func="test1"){ if (func=="test1"){ now.func<-test1() } else now.func<-test2() } I know this function I wrote does not right. Do an

[R] select one function from two of them

2009-08-27 Thread SH.Chou
Hi all, I have two functions called test1() and test2(). Now how do I select one of them in test3()?? Say test3<-function(func="test1"){ if (func=="test1"){ now.func<-test1() } else now.func<-test2() } I know this function I wrote does not right. Do an

[R] function "eigen" AND Minitab

2008-07-18 Thread SH.Chou
Hi all. I got a question about eigenvector. I've tried input a symmetric matrix to both R (using eigen function) and minitab, but the result is really different. Can anyone tell me what's wrong with that? Thanks. [[alternative HTML version deleted]] __