Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Package ‘ISDA.R’ February 19, 2015 Type Package Title interval symbolic data analysis for R Version 1.0 Date 2011-06-04 Author Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> Maintainer Ricardo Jorge de Almeida Queiroz Filho <[email protected]> Depends R(>= 2.7.0), scatterplot3d Description describes a set of operations for symbolic data type based on interval-valued. The operations are processing of punctuals variables to interval variables, construction of a 3D graphic interval, linear regression interval and interval descriptive statistics such as mean, median, variance, standard deviation and mode. License GPL-2 LazyLoad yes Repository CRAN Date/Publication 2012-10-29 08:57:10 NeedsCompilation no R topics documented: ISDA.R-package histInterval . . . interval . . . . . intervalGraph3D meanInterval . . modeInterval . . mushroom . . . . percentileInterval regInterval . . . . sdInterval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 . 3 . 4 . 5 . 6 . 6 . 7 . 8 . 9 . 10 2 ISDA.R-package summary.interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 tableMulti . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 varianceInterval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Index ISDA.R-package 14 Intervaled Symbolic Data Analysis for R Description Describes a set of operations for symbolic data type based on interval-valued. The operations are processing of punctuals variables to interval variables, construction of a 3D graphic interval, linear regression interval and interval descriptive statistics such as mean, median, variance, standard deviation and mode. Details Package: Type: Version: Date: License: LazyLoad: ISDA-R Package 1.0 2011-06-04 GPL-2 yes It’s important to read the interval() function documentation because this function serves as the base for almost all the other functions. Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> Maintainer: Ricardo Jorge de Almeida Queiroz Filho <[email protected]> References Billard, L., Diday, E. Symbolic Data Analysis: Conceptual Statistics and Data Mining, Wiley, West Sussex, England (2006). E. Diday and M. Noirhomme-Fraiture, Symbolic Data Analysis and the SODAS Software, John Wesley Sons, ltd, (2008). Examples ##defining a interval data set note: intervals [1.3;2.5],[2.4;5.2]...[2.1,5.6] xmin = c(1.3,2.4,3.5,2.5,2.1) xmax = c(2.5,5.2,6.3,5.2,5.6) intervalTemp =interval(xmin,xmax) histInterval 3 ##get some information about these intervals summary(intervalTemp) histInterval Histogram for Intervaled data set Description Builds a histogram for intervaled data sets Usage histInterval(intervals, type = "T") Arguments intervals An interval data set type Kind of calculation for the number of classes ("T" = defines a class for every element of vetorMin,vetorMax."SC" = Scott formula."ST" = Sturges)t Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> See Also interval Examples #mushroom is an data set in this package data(mushroom) intervals = interval(mushroom$xmin,mushroom$xmax) histInterval(intervals,type ="SC") 4 interval interval Interval set data Description An structure of interval set Usage interval(min, max) Arguments min One vector with the inferior bounds for all the intervals in the set max One vector with the superior bounds for all the intervals in the set Details It’s important that the min and max bound is in the same order in those vectors to describe the desired intervals Value An interval set data Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> Examples xmin = c(1.3,2.4,3.5,2.5,2.1) xmax = c(2.5,5.2,6.3,5.2,5.6) interval(xmin,xmax) intervalGraph3D 5 intervalGraph3D IntervalGraph3D Description Constructs a 3D graph of the domain of an intervaled data Usage intervalGraph3D(xIntervals, yIntervals, zIntervals, yScale) Arguments xIntervals An intervaled data set is passed as parameter representing the x values yIntervals An intervaled data set is passed as parameter representing the y values~ zIntervals An intervaled data set is passed as parameter representing the z values yScale The adjustment scale value for the x axis Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> See Also scatterplot3d,interval Examples data(mushroom) zinf= zsup= yinf= ysup= xinf= xsup= mushroom$zmin mushroom$zmax mushroom$ymin mushroom$ymax mushroom$xmin mushroom$xmax z= interval(zinf,zsup) y= interval(yinf,ysup) x= interval(xinf,xsup) intervalGraph3D(x,y,z,0.5) 6 modeInterval meanInterval Intervals mean Description Gives the mean of an interval set Usage meanInterval(interval) Arguments interval An inteval set data Value The mean of an interval set Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> See Also interval Examples xmin = c(1.3,2.4,3.5,2.5,2.1) xmax = c(2.5,5.2,6.3,5.2,5.6) xinterval = interval(xmin,xmax) meanInterval(xinterval) modeInterval Mode for intervals Description Calculates the mode of an intervaled data set Usage modeInterval(intervals, type = "T") mushroom 7 Arguments intervals An intervaled data set type Kind of calculation for the number of classes ("T" = defines a class for every element of vetorMin,vetorMax."SC" = Scott formula."ST" = Sturges) Value The mode of the intervaled data set Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> See Also interval Examples data(mushroom) xmi= mushroom$xmin xma= mushroom$xmax a = interval(xmi,xma) modeInterval(intervals=a) mushroom Mushroom data set Description consists of a set of 23 species described by 3 interval variables. In this application, (x) is the stipe length, (y) is the stipe thickness and z is the pileus cap width. These mushroom species are members of the genus Agaricies. The specific variables and their values were extracted from the Fungi of California Species Usage data(mushroom) Format A data frame with 23 observations on the following 7 variables. xmin a numeric vector xmax a numeric vector ymin a numeric vector 8 percentileInterval ymax a numeric vector zmin a numeric vector zmax a numeric vector h a factor with levels T U Y Source Billard, L., Diday, E. Symbolic Data Analysis: Conceptual Statistics and Data Mining, Wiley, West Sussex, England (2006). References http://www.mykoweb.com/CAF/species_index.html Examples data(mushroom) ## maybe str(mushroom) ; plot(mushroom) ... percentileInterval Percentile for intervaled data sets Description Calculates the percentile for one intervaled data set, based on the histogram Usage percentileInterval(intervals, percentil, type = "T") Arguments intervals An interval data set percentil The percentile that you want to calculate type Kind of calculation for the number of classes ("T" = defines a class for every element of vetorMin,vetorMax."SC" = Scott formula."ST" = Sturges) Value The percentile value Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> regInterval 9 See Also interval Examples data(mushroom) xmi= mushroom$xmin xma= mushroom$xmax a = interval(xmi,xma) b=percentileInterval(intervals=a,percentil = 0.5) regInterval Regression for Interval Description Builds a regression of a set of interval based on the centroids of each interval Usage regInterval(dados, headersMin, headersMax) Arguments dados It’s an table data that contains the information which the regression will be used headersMin Header of the columns associated with the inferior boundaries of intervals that will be used in regression headersMax Header of the columns associated with the superior boundaries of intervals that will be used in regression Details The header of which interval must be in the same order in headerMin and headerMax Value The regression of the interval Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> See Also table 10 sdInterval Examples Dados =data(mushroom) vetormin = c("xmin","ymin","zmin") vetormax = c("xmax","ymax","zmax") a= regInterval (mushroom,vetormin,vetormax) sdInterval Standart deviation for interval Description Standart Deviation for intervaled data sets Usage sdInterval(interval) Arguments interval An intervaled data set type Value Standart deviantion of inteval data set passed as parameter Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> See Also interval Examples ##defining a interval data set note: intervals [1.3;2.5],[2.4;5.2]...[2.1,5.6] xmin = c(1.3,2.4,3.5,2.5,2.1) xmax = c(2.5,5.2,6.3,5.2,5.6) intervalTemp =interval(xmin,xmax) sdInterval(intervalTemp) ## The function is currently defined as function(interval) { varianceInterval(interval)^(1/2) } summary.interval summary.interval 11 Summary.Interval Description Gives a summary information about statistical information from a intervaled data set Usage #s3 method definition ## S3 method for class 'interval' summary(object, ...) Arguments object An interval object ... summary args Value mean The mean of the interval data set variance The variance of the interval data set standard_deviance The standart deviance of the interval data set median The median of the interval data set Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> See Also interval Examples ##defining a interval data set note: intervals [1.3;2.5],[2.4;5.2]...[2.1,5.6] xmin = c(1.3,2.4,3.5,2.5,2.1) xmax = c(2.5,5.2,6.3,5.2,5.6) intervalTemp =interval(xmin,xmax) summary(intervalTemp) 12 tableMulti tableMulti Point to interval conversion Description Converts an pontual data set to an intervaled data set by grouping variables Usage tableMulti(variableVector, groupedVar, Data) Arguments variableVector An String vector containing the headers of columns which contains the variables used to group groupedVar An String vector containing the headers of columns which contains the grouped variables Data An table Value An matrice containing the values used to group and the grouped values Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> See Also table Examples cars_data = datasets::mtcars tableMulti(c("cyl"), c("mpg"),cars_data) varianceInterval varianceInterval 13 Variance for interval Description Calculate the variance from one intevaled data set Usage varianceInterval(interval) Arguments interval An intervaled data set type Value Variance of an intervaled data set Author(s) Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]> See Also interval Examples xmin = c(1.3,2.4,3.5,2.5,2.1) xmax = c(2.5,5.2,6.3,5.2,5.6) intervalTemp =interval(xmin,xmax) varianceInterval(intervalTemp) Index interval, 3, 4, 5–7, 9–11, 13 intervalGraph3D, 5 ISDA.R (ISDA.R-package), 2 ISDA.R-package, 2 ∗Topic \textasciitildeSDA histInterval, 3 intervalGraph3D, 5 meanInterval, 6 modeInterval, 6 percentileInterval, 8 regInterval, 9 summary.interval, 11 tableMulti, 12 varianceInterval, 13 ∗Topic \textasciitildehistogram histInterval, 3 ∗Topic \textasciitildeinterval histInterval, 3 interval, 4 intervalGraph3D, 5 meanInterval, 6 regInterval, 9 sdInterval, 10 summary.interval, 11 ∗Topic \textasciitildemean meanInterval, 6 ∗Topic \textasciitildepercentile modeInterval, 6 percentileInterval, 8 ∗Topic \textasciitilderegression regInterval, 9 ∗Topic \textasciitildesda interval, 4 ∗Topic \textasciitildesd sdInterval, 10 ∗Topic \textasciitildevariance varianceInterval, 13 ∗Topic datasets mushroom, 7 ∗Topic package ISDA.R-package, 2 meanInterval, 6 modeInterval, 6 mushroom, 7 percentileInterval, 8 regInterval, 9 scatterplot3d, 5 sdInterval, 10 summary.interval, 11 table, 9, 12 tableMulti, 12 varianceInterval, 13 histInterval, 3 14