pmillet | 1 Sep 2008 11:53
Picon

Re: R texts

I have found the R Book very useful as it have the same general approach 
throughout the entire book. Most of the free articles do not share this 
property. Each have it's own approach. This may be fruitful (plenty of 
diffrent approaches) but is confusing for the beginner.(exemple = the 
choice and exclusion of variables int the different regression tools = 
linear, logistic, cox and so on.)
Friendly P Millet

Luis Orlindo Tedeschi a écrit :
> Vanesa, I concur with "The R Book". I probably have 90% of the R free
> literature printed in hard copy and I've read them twice at least. I
> find "The R Book" excellent; and I anxiously waiting for the next
> edition (hopefully with corrections and additions). Today, it is my
> first choice to find for something in R. If I do not find it there
> (which is not usual), then I look into other resources including R lists
> and publications. Hope this helps.
>
> On Wed, 2008-08-20 at 12:17 -0500, Laura Chihara wrote:
>   
>> "The R Book" by Crawley (Wiley) is comprehensive and very useful.
>> It got a nice review in the latest issue of "The American
>> Statistician"
>>
>> -Laura
>>
>> Vanesa Maribel Fernández wrote:
>>     
>>> Hallo! My
>>> name is Vanesa; I am a biology PhD student from Argentina. I am used to carry out
>>> statistical analysis of data from our experiments. And I would like to have a
(Continue reading)

pmillet | 25 Sep 2008 15:01
Picon

some tools for linking 2 text vectors

I used R somehow « strangely » for a rather common problem facing 
programmers confronted with heterogeneous databases (who may or not be 
statistician)=

How to link database B with Base A when both base's data are totally or 
partially un-standardized text ?

At first glance, R is NOT the ideal tool for that, however =

potent string tools are included in the base R (grep, agrep)

R is multi platform (Linux, Mac, Windows)

With R it is easy to read and write dbf ( Dbase) files , ans from Dbase 
to excel, access and so on

So I propose here a quite primitive tool, achieving this aim (where some 
tricks may be useful). Of course, programmers will make it more adapted 
to their specific aims. I hope it may be useful to some of you. Some 
functions were unexpectedly difficult (how to manage empty lists, how to 
import list data in a database row ) and I hope my solutions wille help.

The fist program links a Dbase file with structured and standardized 
fields = NIP= index number, name=NOM, surname=PRENOM, postal code=CP and 
a csv file with unstructured text (identity, adress, postal 
code).(yellow pages)

I use the grep (or agrep function) to find a pattern in a text.(agrep 
find approached links)

(Continue reading)


Gmane