Re: [R] extract values from summary of function indval of the package labdsv

2012-07-24 Thread Rui Barradas
Hello, There's a general purpose way to get the members of the object returned by summary functions. What you have tried unsuccessfully is a particular case of that method: assign summary to a variable and see what's int it. si <- summary(indication3) class(si) # see the class of summary ob

[R] extract values from summary of function indval of the package labdsv

2012-07-23 Thread katse
Hi everybody, I am doing Indicator species analysis using the function "indval" from the package "labdsv". For further analysis I need the values "Number of Significant Indicators" and "Sum of Indicator Values" that is calculated from the summary on my indval object. indication3<-indval(Veg,cav

Re: [R] extract values from summary

2009-04-07 Thread Dieter Menne
Felipe Carrillo yahoo.com> writes: > > # How can I extract the 'Forecasts' from the 'summary(predicted)' from the example below? .. > # I would like to extract the three predicted values and > # make a line plot with the 'Point Forecast' values only. > # I tried str(predicted) and names(pred

[R] extract values from summary

2009-04-06 Thread Felipe Carrillo
Hi: # How can I extract the 'Forecasts' from the 'summary(predicted)' from the example below? library(forecast) weightData <- data.frame(weight = c(2.1,2.4,2.8,3.6,4.1,5.2,6.3),week= 1:7) weight <- as.numeric(weightData$weight) predicted <- forecast(weight,h=3,level=95) # see the predicted sum