Monday, June 23, 2014

Data analysis using R - R programming Tutorial ( Part 6 )

Package Documentation

To get an overview of an installed package and its contents,
help(package=package name)
Some packages include a vignette, a file with additional documentation and
examples. To get a list of all vignettes from all installed packages,
vignette()

Sunday, June 22, 2014

C++ Programming Tutorial ( Part 4 )

Variables. Data Types.

The usefulness of the "Hello World" programs shown in the previous section is quite questionable. We had to write
several lines of code, compile them, and then execute the resulting program just to obtain a simple sentence
written on the screen as result. It certainly would have been much faster to type the output sentence by ourselves.
However, programming is not limited only to printing simple texts on the screen. In order to go a little further on
and to become able to write programs that perform useful tasks that really save us work we need to introduce the
concept of variable. 
Let us think that I ask you to retain the number 5 in your mental memory, and then I ask you to memorize also
the number 2 at the same time. You have just stored two different values in your memory. Now, if I ask you to add
1 to the first number I said, you should be retaining the numbers 6 (that is 5+1) and 2 in your memory. Values
that we could now for example subtract and obtain 4 as result. 
The whole process that you have just done with your mental memory is a simile of what a computer can do with
two variables. The same process can be expressed in C++ with the following instruction set:

Friday, June 20, 2014

Data analysis using R - R programming Tutorial ( Part 5 )

Documentation

R function documentation contains:
- A general description of the function
- A list and description of the function’s formal arguments and default
settings
- Details about the function
- A list and description of values returned by the function
- References
- An executable example





Sometimes the documentation is very complete and other times it is vague.
It is more of a quick reference and not intended for instruction.
Better educational resources are the R manuals, contributed manuals, and
FAQs available on the R website.
There are also mailing lists. You can search archived posts or post new
questions. Posting is not for the faint of heart. If you post, be sure to have
a thoughtful question and read the posting guide.

Thursday, June 19, 2014

Tai Chi with the Five Integrity ( Part 4 ) - Five Integrity

  1. PERSONAL
  2. PHYSICAL
  3. MARTIAL
  4. MORAL
  5. SPRITUAL
 These are the Five Integrity


Relating to efficiency and reality in doing Tai Chi form and Push hands, personally, physically, morally, martially, and spiritually.
Integrity n 1:State or quality of being complete,
undivided or unbroken, unimpaired, unmarred, sound, pure. 2: Free from corrupting influence, strict in the fulfillment of contracts, soundness, honesty.