Displaying 20 results from an estimated 188 matches for "setosa".
2017 Oct 27
4
Cannot Compute Box's M (Three Days Trying...)
...rong below with the coding equivalent.
The entire code snippet is below. The code fails below on the call to the boxM statistic call.
PLEASE HELP!!!
Thanks in advance,
-------------------------
rConnection.eval("library('biotools')");
String inputIris = "5.1,3.5,1.4,0.2,setosa\n" +
"4.9,3,1.4,0.2,setosa\n" +
"4.7,3.2,1.3,0.2,setosa\n" +
"4.6,3.1,1.5,0.2,setosa\n" +
"5,3.6,1.4,0.2,setosa\n" +
"5.4,3.9,1.7,0.4,setosa\n" +
"4.6,3.4,1.4,0.3,setosa\n" +
"5,3.4,1.5,0.2,setosa\n" +
"4.4,2.9,1.4,0.2,...
2017 Oct 29
3
Renjin?
...ic void main(String[] args)
{
// create a script engine manager:RenjinScriptEngineFactory factory = new RenjinScriptEngineFactory();
// create a Renjin engine:ScriptEngine engine = factory.getScriptEngine();
try{
engine.eval("require(biotools)");
String inputIris = "5.1,3.5,1.4,0.2,setosa\n" +
"4.9,3,1.4,0.2,setosa\n" +
"4.7,3.2,1.3,0.2,setosa\n" +
"4.6,3.1,1.5,0.2,setosa\n" +
"5,3.6,1.4,0.2,setosa\n" +
"5.4,3.9,1.7,0.4,setosa\n" +
"4.6,3.4,1.4,0.3,setosa\n" +
"5,3.4,1.5,0.2,setosa\n" +
"4.4,2.9,1.4,0.2,...
2005 Apr 27
4
How to add some of data in the first place dataset
....0 1.2 1.2 rose
4.4 3.2 1.9 0.5 rose
4.6 1.1 1.1 0.2 rose
For example,
> data(iris)
> iris[1:10,]
Sepal.Length Sepal.Width Petal.Length Petal.Width Species
1 5.1 3.5 1.4 0.2 setosa
2 4.9 3.0 1.4 0.2 setosa
3 4.7 3.2 1.3 0.2 setosa
4 4.6 3.1 1.5 0.2 setosa
5 5.0 3.6 1.4 0.2 setosa
6 5.4 3.9 1.7 0...
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...s below on the call to the boxM statistic call.
>> PLEASE HELP!!!
>> Thanks in advance,
>> ---------------------------------------------------------------
>>
>> rConnection.eval("library('biotools')");
>> String inputIris = "5.1,3.5,1.4,0.2,setosa\n" +
>> "4.9,3,1.4,0.2,setosa\n" +
>> "4.7,3.2,1.3,0.2,setosa\n" +
>> "4.6,3.1,1.5,0.2,setosa\n" +
>> "5,3.6,1.4,0.2,setosa\n" +
>> "5.4,3.9,1.7,0.4,setosa\n" +
>> "4.6,3.4,1.4,0.3,setosa\n" +
>&...
2017 Oct 27
0
Cannot Compute Box's M (Three Days Trying...)
...code snippet is below. The code fails below on the call to the boxM statistic call.
>
> PLEASE HELP!!!
>
> Thanks in advance,
>
> -------------------------
>
> rConnection.eval("library('biotools')");
>
> String inputIris = "5.1,3.5,1.4,0.2,setosa\n" +
> "4.9,3,1.4,0.2,setosa\n" +
> "4.7,3.2,1.3,0.2,setosa\n" +
> "4.6,3.1,1.5,0.2,setosa\n" +
> "5,3.6,1.4,0.2,setosa\n" +
> "5.4,3.9,1.7,0.4,setosa\n" +
> "4.6,3.4,1.4,0.3,setosa\n" +
> "5,3.4,1.5,0.2,seto...
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...tatistic call.
>>> PLEASE HELP!!!
>>> Thanks in advance,
>>> ------------------------------------------------------------------------
>>>
>>> rConnection.eval("library('biotools')");
>>> String inputIris = "5.1,3.5,1.4,0.2,setosa\n" +
>>> "4.9,3,1.4,0.2,setosa\n" +
>>> "4.7,3.2,1.3,0.2,setosa\n" +
>>> "4.6,3.1,1.5,0.2,setosa\n" +
>>> "5,3.6,1.4,0.2,setosa\n" +
>>> "5.4,3.9,1.7,0.4,setosa\n" +
>>> "4.6,3.4,1.4,0....
2017 Oct 27
0
Cannot Compute Box's M (Three Days Trying...)
...code snippet is below. The code fails below on the call to the
> boxM statistic call.
>
> PLEASE HELP!!!
>
> Thanks in advance,
>
> -------------------------
>
> rConnection.eval("library('biotools')");
>
> String inputIris = "5.1,3.5,1.4,0.2,setosa\n" +
> "4.9,3,1.4,0.2,setosa\n" +
> "4.7,3.2,1.3,0.2,setosa\n" +
> "4.6,3.1,1.5,0.2,setosa\n" +
> "5,3.6,1.4,0.2,setosa\n" +
> "5.4,3.9,1.7,0.4,setosa\n" +
> "4.6,3.4,1.4,0.3,setosa\n" +
> "5,3.4,1.5,0.2,seto...
2017 Oct 29
0
Renjin?
...factory
> > =
> > new RenjinScriptEngineFactory();
> > // create a Renjin engine:ScriptEngine engine =
> > factory.getScriptEngine();
> >
> > try{
> > engine.eval("require(biotools)");
> >
> > String inputIris = "5.1,3.5,1.4,0.2,setosa\n" +
> > "4.9,3,1.4,0.2,setosa\n" +
> > "4.7,3.2,1.3,0.2,setosa\n" +
> > "4.6,3.1,1.5,0.2,setosa\n" +
> > "5,3.6,1.4,0.2,setosa\n" +
> > "5.4,3.9,1.7,0.4,setosa\n" +
> > "4.6,3.4,1.4,0.3,setosa\n" +...
2009 Oct 17
1
Easy way to `iris[,-"Petal.Length"]' subsetting?
Dear all
What is the easy way to drop a variable by using its name (and not its
number)? Example:
> data(iris)
> head(iris)
Sepal.Length Sepal.Width Petal.Length Petal.Width Species
1 5.1 3.5 1.4 0.2 setosa
2 4.9 3.0 1.4 0.2 setosa
3 4.7 3.2 1.3 0.2 setosa
4 4.6 3.1 1.5 0.2 setosa
5 5.0 3.6 1.4 0.2 setosa
6 5.4 3.9 1.7 0.4 setosa...
2017 Oct 28
0
Cannot Compute Box's M (Three Days Trying...)
...xM statistic call.
>> PLEASE HELP!!!
>> Thanks in advance,
>> ------------------------------------------------------------------------
>>
>> rConnection.eval("library('biotools')");
>> String inputIris = "5.1,3.5,1.4,0.2,setosa\n" +
>> "4.9,3,1.4,0.2,setosa\n" +
>> "4.7,3.2,1.3,0.2,setosa\n" +
>> "4.6,3.1,1.5,0.2,setosa\n" +
>> "5,3.6,1.4,0.2,setosa\n" +
>> "5.4,3.9,1.7,0.4,setosa\n" +
>> "4.6,3.4,1.4,0....
2017 Oct 26
3
How to create a table structure in Java code?
...d-coded CSV, I read the CSV into a variable first, then it fails again with a parse error.
Code below.
So, if I read the CSV into a variable, do I need an additional wrapper method?
Seems like it should still work.
Thanks in advance for your reply.
-M
String inputIris = "5.1,3.5,1.4,0.2,setosa\n" +
"4.9,3,1.4,0.2,setosa\n" +
"4.7,3.2,1.3,0.2,setosa\n" +
"4.6,3.1,1.5,0.2,setosa\n" +
"5,3.6,1.4,0.2,setosa\n" +
"5.4,3.9,1.7,0.4,setosa\n" +
"4.6,3.4,1.4,0.3,setosa";
REXP irisData =rConnection.eval(
"read.csv(textConnectio...
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...int(typeof(boxMVariable[[i]]))
>>
>> etc.
>>
>> Make sure the values match what you see in a regular R session:
>>
>> boxMVariable <- iris
>> head(boxMVariable)
>> Sepal.Length Sepal.Width Petal.Length Petal.Width Species
>> 1 5.1 3.5 1.4 0.2 setosa
>> 2 4.9 3.0 1.4 0.2 setosa
>> 3 4.7 3.2 1.3 0.2 setosa
>> 4 4.6 3.1 1.5 0.2 setosa
>> 5 5.0 3.6 1.4 0.2 setosa
>> 6 5.4 3.9 1.7 0.4 setosa
>> class(boxMVariable)
>> [1] "data.frame"
>> names(boxMVariable)
>> [1] "Sepal.Length&quo...
2012 Dec 10
3
splitting dataset based on variable and re-combining
...edict. 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
data(iris)
iris <- iris[(iris$Species=="setosa" | iris$Species=="versicolor"),]
irisindex <- sample(1:nrow(iris), nrow(iris))
iris <- iris[irisindex,]
# Make predictions on setosa using the mySetosaModel model, and on versicolor using the m...
2017 Oct 28
0
Cannot Compute Box's M (Three Days Trying...)
...)
for (i in 1:5)
print(typeof(boxMVariable[[i]]))
etc.
Make sure the values match what you see in a regular R session:
> boxMVariable <- iris
>
> head(boxMVariable)
Sepal.Length Sepal.Width Petal.Length Petal.Width Species
1 5.1 3.5 1.4 0.2 setosa
2 4.9 3.0 1.4 0.2 setosa
3 4.7 3.2 1.3 0.2 setosa
4 4.6 3.1 1.5 0.2 setosa
5 5.0 3.6 1.4 0.2 setosa
6 5.4 3.9 1.7 0.4 setosa...
2006 Dec 18
5
Replacing values
Hi all,
I have to recode some values in a dataset. for example changing all zeros to
"." or 999 would be also ok. does anybody know how to do this? thanks in
advance. lars
--
View this message in context: http://www.nabble.com/-R--Replacing-values-tf2841687.html#a7934402
Sent from the R help mailing list archive at Nabble.com.
2017 Oct 25
2
How to create a table structure in Java code?
...ing that same (sample IRIS) data, say, in a web service possibly POSTED from a SQL command, that same data might look like this (portion of the included iris data set below). I'm thus not sure how to package the data so R likes it.
Example R-included IRIS data from SQL output:
5.1,3.5,1.4,0.2,setosa,
4.9,3,1.4,0.2,setosa,
4.7,3.2,1.3,0.2,setosa,
4.6,3.1,1.5,0.2,setosa,
5,3.6,1.4,0.2,setosa,
I've tried various combinations in code to achieve what's simple in RConsole, but I can't get R to accept my structure.
- I've tried just including the data in a string.
- I've tried w...
2010 Jul 29
1
where did the column names go to?
...mn name?
q2. when I merge, why does the new column 'y' have all values as 5.1?
Thanks in advance,
Mr. confused
> a <- iris[,]
> b <- iris[,1]
>
> head(a)
Sepal.Length Sepal.Width Petal.Length Petal.Width Species
1 5.1 3.5 1.4 0.2 setosa
2 4.9 3.0 1.4 0.2 setosa
3 4.7 3.2 1.3 0.2 setosa
4 4.6 3.1 1.5 0.2 setosa
5 5.0 3.6 1.4 0.2 setosa
6 5.4 3.9 1.7 0.4 setosa...
2005 Dec 31
2
Q about RSQLite
...dear listers,
I have a question about Rsqlite.
when I fetch the data out of sqlite database, there is something like '\r\n'
at the end of last column. Here is the example:
Sepal_Length Sepal_Width Petal_Length Petal_Width Species
1 5.1 3.5 1.4 0.2 setosa\r\n
2 4.9 3.0 1.4 0.2 setosa\r\n
3 4.7 3.2 1.3 0.2 setosa\r\n
4 4.6 3.1 1.5 0.2 setosa\r\n
5 5.0 3.6 1.4 0.2 setosa\r\n
6 5.4 3.9 1....
2017 Oct 28
0
Cannot Compute Box's M (Three Days Trying...)
...[i]]))
>>
>> etc.
>>
>> Make sure the values match what you see in a regular R session:
>>
>> boxMVariable <- iris
>> head(boxMVariable)
>> Sepal.Length Sepal.Width Petal.Length Petal.Width Species
>> 1 5.1 3.5 1.4 0.2 setosa
>> 2 4.9 3.0 1.4 0.2 setosa
>> 3 4.7 3.2 1.3 0.2 setosa
>> 4 4.6 3.1 1.5 0.2 setosa
>> 5 5.0 3.6 1.4 0.2 setosa
>> 6 5.4 3.9 1.7 0.4 setosa
>> class(boxMVariable)
>> [1] "data.frame"
>> names(boxMVariable)
>...
2017 Oct 29
2
Cannot Compute Box's M (Three Days Trying...)
...gt;>
>>> etc.
>>>
>>> Make sure the values match what you see in a regular R session:
>>>
>>> boxMVariable <- iris
>>> head(boxMVariable)
>>> Sepal.Length Sepal.Width Petal.Length Petal.Width Species
>>> 1 5.1 3.5 1.4 0.2 setosa
>>> 2 4.9 3.0 1.4 0.2 setosa
>>> 3 4.7 3.2 1.3 0.2 setosa
>>> 4 4.6 3.1 1.5 0.2 setosa
>>> 5 5.0 3.6 1.4 0.2 setosa
>>> 6 5.4 3.9 1.7 0.4 setosa
>>> class(boxMVariable)
>>> [1] "data.frame"
>>> names(boxMVariable)
>...