Displaying 20 results from an estimated 400 matches similar to: "Pattern names matching"
2010 Aug 24
2
Comparing/diffing strings
Hi all,
all.equal is generally very useful when you want to find the
differences between two objects. It breaks down however, when you
have two long strings to compare:
> all.equal(a, b)
[1] "1 string mismatch"
Does any one know of any good text diffing tools implemented in R?
Thanks,
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice
2009 Dec 09
1
partial match for two datasets
Hi all,
I have two sets:
dig<-c("DAVID ADAMS","PIERS AKERMAN","SHERYLE BAGWELL","JULIAN BAJKOWSKI","CANDIDA BAKER")
import<-c("by DAVID ADAMS","piersAKERMAN","SHERYLE BagWEL","JULIAN BAJKOWSKI with ","Cand BAKER","smith green")
I want to get the following result from
2009 Jan 22
4
text vector clustering
Hi,
I am a new user of R using R 2.8.1 in windows 2003. I have a csv file with
single column which contain the 30,000 students names. There were typo
errors while entering this student names. The actual list of names is <
1000. However we dont have that list for keyword search.
I am interested in grouping/cluster these names as those which are
similar letter to letter. Are there any
2009 Oct 10
7
SPSS long variable names
Hello guys I am new to this list and for R too.
I am wondering if there is a patch for the SPSS reading code on the
foreign package, in order to be able to read long variable names.
Right now read.spss() just trunc the names to 8 characters.
Or if someone could help me on other way:
I have to process everyday a lot of SPSS Syntax Files and Dat files
that come from one system that can only export
2010 Feb 13
4
Labels on a pyramide
I am using pyramid.plot() from the plotrix package.
I have something like this
############################################
xy.pop<-dados$masfr
xx.pop<-dados$femfr
#agelabels<-dados$femlab
xycol<-color.gradient(c(0,0,0.5,1),c(0,0,0.5,1),c(1,1,0.5,1),11)
xxcol<-color.gradient(c(1,1,0.5,1),c(0.5,0.5,0.5,1),c(0.5,0.5,0.5,1),11)
xylab<-dados$maslab
xxlab<-dados$femlab
2011 Mar 15
2
Table multiple answers variables
I have a dataset like this:
q25_1 q25_2 q25_3 q25_4 q25_5 q25_6 q25_7 q25_8 q25_9 q25_10 q25_11 q25_12
1 2 2 1 1 2 1 2 1 1 2 1 3
2 2 2 2 1 2 1 2 1 1 2 1 2
3 2 1 1 1 2 1 2 1 2 2 1 2
4 2 2 1 1 2 2 2 1 1
2010 Aug 10
2
Replacing characters
Hello guys! May be I am lazy but
I need to replace a character like \ or ' or to escape them in a character
vector to write a SQL statement.
How can I do that?
Caveman
[[alternative HTML version deleted]]
2011 Jun 25
2
Access R functions from web
I need a way to send R objects and call R functions from web. Is there any
project close or similar to that?
I want to be able to send an HTTP rquest from an existing application with
some data. And obtain a plot from R.
Thanks in advance
Caveman
[[alternative HTML version deleted]]
2011 Jun 26
1
RJDBC and multiple classpaths
Corect me if this is not the right place to post this.
I have a mdbdriver.jar (to access an MSAccess file) under Linux. I bought
the license from http://www.csv-jdbc.com/ guys. The driver work fine when
tested with DBVisualizer or another JDBC thing.
The problem is that driver needs 3 other more jar files to work. Under R I
have tried this and does not work:
> library(RJDBC)
Loading required
2018 Jan 11
0
Information installation package sjPlot
That is very strange.
I am using Ubuntu 16.04 and managed to install it in less than 5 minutes.
OA
On Wed, Jan 10, 2018 at 12:00 PM, Luca Danieli <mr.lucedan at hotmail.it>
wrote:
> Hi all,
>
> I am new. I am installing the library sjPlot on Ubunto 16.10 and I guess
> it is installing some dependencies. But it is taking more than 1.5 hours,
> is it possible?
>
> It
2018 Jan 10
2
Information installation package sjPlot
Hi all,
I am new. I am installing the library sjPlot on Ubunto 16.10 and I guess it is installing some dependencies. But it is taking more than 1.5 hours, is it possible?
It has right now halted (hope momentarily) in installing the package 'rstan', particularly the file lang__grammars__statement_grammar_inst.o
Other packages installed include: dygraphs, colourpicker, raster.
Is it good
2007 Sep 19
2
recommended package/docs for analyzing multiple choice tests
Hi,
What package would you recommend for analyzing the
validity/reliability of multiple choice tests. Doing things such as
classical test analysis, factor analysis, item response theory.
I've used psychometric (item.exam), MiscPsycho (alpha.Summary), and ltm
(rcor.test). MiscPsycho reported the numbers most similar to what I get
in SPSS: corrected point biserial correlations,
2004 Feb 11
6
AGREP
Hi all, I have two questions
1 - I have the version 1.4.1 of R, and it doesn't have the 'agrep'
function in the base library. Is there a way to make this funcion
avaliable in R 1.4.1? I mean, how to 'copy' it from R 1.8.1 and 'paste'
it in R 1.4.1?
2 - The AGREP function doesn't give me the Levenshtein distance (edit
distance). Is there a function in R that does
2008 Jan 21
1
Adding an Sweave Vignette to a package
I'm finalizing development of a package that will include a vignette.
Without the vignette, the package builds fine with no warnings and is
ready for distribution. Now, I am following the directions for
developing vignettes "Sweave, Part II: Package Vignettes" by Friedrich
Leisch.
I am using a windows XP machine (other session info below). Here is what
I have done.
1) I add the
2008 Oct 01
0
MiscPsycho 1.3 posted to CRAN
An updated version of the Miscellaneous Psychometrics package has been
updated to CRAN. The following updates are included in the package:
1) An implementation of the Stocking-Lord procedure for linking test
scales.
2) An implementation of the Levenshtein algorithm for comparing
character strings
3) stringProbs, a function for computing the probability of a given
Levenshtein Distance
4) Three
2011 Oct 21
2
Change column/row-name
Hi,
I am very happy. My problems are solved without one little thing:
(Iske <- matrix(c(1, 1, 1, 2, 2, 2, 1, 1, 1, 5, 1, 2, 2, 2, 1, 1, 1,
4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 4, 4, 4, 4, 4, 4, 2,
2, 2, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 2), ncol = 5)) #My Matrix
Iske<- Iske+33 #I want see the letters
(Iske.char<-apply(Iske, 1, function(x) rawToChar(as.raw(x)))) #Numbers to
2008 Aug 26
2
String search: Return "closest" match
Hi,
I have to match names where names can be recorded with errors or additions.
Now I am searching for a string search function which returns always the "closest" match. E.g. searching for "Washington" it should return only Washington but not Washington, D.C. But it also could be that the list contains only "Hamburg" but the record I am searching for is
2010 Jan 07
2
Find by looping thru array
Hello all,
I''m in my third month of Ruby on Rails. I think it''s coming along
fairly well.
My current issue is this.
I''m do a search based on string data some of which is very long. So I''m
doing a similar match using "amatch" gem.
When I have a 50% or greater match I store the id to an array.
How can I do a find looping thru the array then send the
2010 Mar 18
2
R and getting a file through https
Dears!
I have a system that generates links on a https webserver.
I have to be logged on with a username and password; Then follow at
least fife links to get into the link where I can download the file.
The question is: How can I accomplish that with R?
Caveman
2006 Jun 19
2
fuzzy search
This may be offtopic to Rails, but what are people doing to find records
based on fuzzy string matches? For example, if you wanted to find a
Person with name "David Heinemeier Hansson" but searched using the
string "Dave Hansson".
Currently I am find_by_sql that calls the PostgreSQL function
"levenshtein(string1, string2)" which returns results with a score