Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : rdataset details
Please login or create an account

rdataset

a collection of 761 datasets that were originally distributed alongside R
(1591 downloads for this version - 4621 downloads for all versions)
Details
Version
0.4
Author
Holger Nahrstaedt
Owner Organization
TU Berlin
Maintainers
Samuel Gougeon
Holger Nahrstaedt
Administrator Atoms
License
Dependency
Creation Date
July 12, 2018
Source created on
Scilab 6.0.x
Binaries available on
Scilab 5.5.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit MacOSX
Scilab 6.0.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit MacOSX
Scilab 6.1.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit MacOSX
Install command
--> atomsInstall("rdataset")
Description
            
rdataset is a collection of 761 datasets that were originally distributed
alongside the statistical software environment 'R' and some of its add-on
packages. The exported csv-files are taken from http://vincentarelbundock.github.io/Rdatasets/.

This toolbox needs around 64 MBytes.

FUNCTIONS
---------
rdataset_listgroups — Returns all available datagroups
rdataset_listsets   — Returns all available datasets of a group
rdataset_read       — Reads a dataset from R

USAGE
-----
In R:
> library(MASS)
>print(mean(survey$Wr.Hnd,na.rm=TRUE),digits=17)                             
                                          
 [1] 18.669067796610168

The same can be done in Scilab:

[data,desc] = rdataset_read("MASS","survey");
mean_hand = mean(thrownan(data.Wr_Hnd))
mean_hand  =
    18.669068

disp(18.669067796610168 - mean_hand)
  - 1.066D-14


CHANGE 0.3 => 0.4
-----------------
 - README.txt updated (597 => 761 sets)
 - builder.sce can now build for both Scilab 5 and 6
 - readall.tst is updated and passes: 
   - readall.dia.ref was unused => removed
   - "<-- CLI SHELL MODE -->" flag added
   - stacksize("max") now used only with Scilab 5
 - Binaries released for Scilab 5.5 and Scilab 6.0
            
Files (4)
[14.62 MB]
Source code archive

[14.63 MB]
OS-independent binary for Scilab 5.5.x

[14.67 MB]
OS-independent binary for Scilab 6.0.x

[14.67 MB]
OS-independent binary for Scilab 6.1.x

News (0)
Comments (0)
Leave a comment
You must register and log in before leaving a comment.
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.