Displaying 5 results from an estimated 5 matches for "iris4".
Did you mean:
iris
2011 Aug 02
1
Using Function
Hi,
I have some simple statistics to calculate for a large
number of variables.
I created a simple function to apply to variables.
I would like the variable name to be placed automatically.
I tried the following function but is not working.
desc = function(x){
media = mean(x, na.rm=T)
desvio = sd(x, na.rm=T)
cv = desvio/media*100
2004 May 13
2
xtable without rownames
When I tried to read all the entries (after searching the FAQ) for "row
names xtable", I get
START-INFO-DIR-ENTRY * R FAQ: (R-FAQ). The R statistical system ...
... xtable* Export data to LaTeX and HTML tables. ... For dropping the row
names of a matrix
`x', it may be easier to use `rownames(x) <- NULL', similarly for column ...
2009 Feb 25
0
RE : multiple regressions on columns
...uot;opposite", i.e. instead of having the same
>> independent variable and testing it against multiple dependent
>> variables, my goal is to test multiple independent variables against
>> the same dependent variable.
>>
>> Using the iris dataset:
>>
>> iris4 <- as.matrix(iris[,-c(1,5)])
>> summary(lm(iris4 ~ Sepal.Length, iris))
>>
>> what I would have liked is to do the following :
>>
>> summary(lm(Sepal.Length ~ iris4, iris))
>>
>> and obtain the results from 3 separate regressions, as above, instead
>&...
2007 Feb 02
1
Access to column names stored in a vector in lm procedure
Hello everybody
I have to run many statistical tests that are identical, with the
exception of the dependent variable. Is there a possibility to store the
dependent variable names e.g. in a vector (in the below mentioned example
called “variable”) and to use the content of this vector in a simple
statistical test (e.g. a regression). I would like to write the
statistical procedure only once…
2012 Dec 10
3
splitting dataset based on variable and re-combining
I have a dataset and I wish to use two different models to predict. Both models are SVM. The reason for two different models is based
on the sex of the observation. I wish to be able to make predictions and have the results be in the same order as my original dataset. To
illustrate I will use iris:
# Take Iris and create a dataframe of just two Species, setosa and versicolor, shuffle them