Editing CommunityData:Knitr
From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 58: | Line 58: | ||
Β @ | Β @ | ||
Note that there's a funny thing going on with the <code>align</code> parameter here. R includes some default rownames for dataframes (usually something like X1, X2 etc). Since we have a column that contains our rownames, we need to suppress the default rownames by specifying <code>include.rownames=FALSE</code>. However, even though the <code>summary.stats</code> dataframe contained only four columns, we still need to specify ''five'' column alignments in for the <code>align</code> parameter because | Note that there's a funny thing going on with the <code>align</code> parameter here. R includes some default rownames for dataframes (usually something like X1, X2 etc). Since we have a column that contains our rownames, we need to suppress the default rownames by specifying <code>include.rownames=FALSE</code>. However, even though the <code>summary.stats</code> dataframe contained only four columns, we still need to specify ''five''column alignments in for the <code>align</code> parameter because of how R dataframes have a . | ||
===Inserting S expressions=== | ===Inserting S expressions=== |