Fully working - branch dcast based
delete rhistory
Merge pull request #1 from marcoscattolin/New-version-based-on-dcast

New version based on dcast