
ex.
Code: Select all
datanavn <- read.table('C:/Documents and Settings/Thor/Desktop/puzzle.txt',header=T)
Code: Select all
datanavn <- read.table('C:/Documents and Settings/Thor/Desktop/puzzle.txt',header=T)
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Code: Select all
\verb=datanavn <- read.table('C:/Documents and Settings/Thor/Desktop/puzzle.txt',header=T)=
Code: Select all
\verb|datanavn <- read.table('C:/Documents and Settings/Thor/Desktop/puzzle.txt',header=T)|
Code: Select all
\begin{verbatim}
datanavn <- read.table('C:/Documents and Settings/Thor/Desktop/puzzle.txt',header=T)
\end{verbatim}
Code: Select all
\begin{tabularx}{\linewidth}{|p{3.5cm}|p{6cm}|p{6cm}|}
\hline
Anvendelse & Kode & kommentar\\
\hline
Indlæs table til R: &
\begin{verbatim} datanavn <- read.table('C:/Documents and Settings/Thor/Desktop/puzzle.txt',header=T) \end{verbatim} &
Et table gemmes fra stien(med omvendt skrå streger) i "datanavn", filen der indlæses har overskrifter for variablene og header sættes derfor til \verb="T" (true)=3\\
\hline%\bottomrule
\end{tabularx}
Code: Select all
\scriptsize\texttt{datanavn \textless- read.table(\textquotesingle C:/Documents and Settings/Thor/Desktop/puzzle.txt\textquotesingle ,header=T)}
Code: Select all
\verb|datanavn <-| \newline
\verb|read.table('C:/Documents and | \newline
\verb|Settings/Thor/Desktop/| \newline
\verb|puzzle.txt',header=T)|
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p