Permalink
Browse files

Corrected the assignment (i.e. chanced '=' to '<-') and fixed a

misspelling.
  • Loading branch information...
KlasJoensson committed Mar 5, 2012
1 parent 37f462e commit e4de178d439c2cda66218c3c8ad4afb66ab8a122
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/net.bioclipse.qsar.ui/cheatsheets/qsar-r.xml
@@ -25,7 +25,7 @@
Loading the dataset into R can be achieved by entering, in the R Console:<br/><br/>
- <b>dataset=read.delim(file="myQsarProject/dataset.csv", sep=",", header=TRUE, row.names=1, na.strings="NaN")</b>
+ <b>dataset &lt;- read.delim(file="myQsarProject/dataset.csv", sep=",", header=TRUE, row.names=1, na.strings="NaN")</b>
</description>
@@ -37,7 +37,7 @@
Here is a simple example to demonstrate how the read file can be analyzed in R:<br/><br/>
- <b>datasat=as.matrix(dataset)</b><br/><br/>
+ <b>dataset &lt;- as.matrix(dataset)</b><br/><br/>
<b>mod &lt;- lm(dataset[,1] ~ dataset[,2:ncol(dataset)], na.action=na.omit)</b><br/><br/>
<b>plot(mod)</b><br/><br/>

0 comments on commit e4de178

Please sign in to comment.