The Iris data set is very famous among statisticians as a demonstration set for statistical methods. It is often used to illustrate classification algorithms.
The data set gives the measurements in centimeters of the variables sepal length and width, and petal length and width, respectively, for 50 flowers from each of 3 species of iris. The species are Iris setosa, versicolor, and virginica.
The iris data set is one of the many example data that ship "out-of-the-box" with distributions of the statistical language R.
_netrc file in Windows or .netrc in Mac, Unix or Linux: Create a netrc fileHOME pointing to the directory containing the _netrc filelibrary(Rlabkey)
#
# Reset the database
#
mydata = labkey.selectRows( baseUrl="https://labkey-collab.scicore.unibas.ch",
folderPath="/Public datasets/Iris dataset",
schemaName="lists",
queryName="Iris",
viewName="",
colFilter=NULL,
containerFilter=NULL
)
labkey.deleteRows( baseUrl="https://labkey-collab.scicore.unibas.ch",
folderPath="/Public datasets/Iris dataset",
schemaName="lists",
queryName="Iris",
toDelete=mydata[,"Key",drop=FALSE]
)
labkey.insertRows( baseUrl="https://labkey-collab.scicore.unibas.ch",
folderPath="/Public datasets/Iris dataset",
schemaName="lists",
queryName="Iris",
toInsert=iris
)
|
Showing: all messages
|
||
| No messages |