summarise()創建一個新的 DataFrame 。它為分組變量的每個組合返回一行;如果沒有分組變量,輸出將有一行總結輸入中的所有觀察結果。它將包含每個分組變量的一列和您指定的每個匯總統計數據的一列。 summarise()和summarize()是同義詞。 用法 summarise(.data,..., .by =NULL, .groups =NULL) summarize(.data,.....
Takes the sensitivity data from a PharmacoSet, and summarises them into a drug vs cell line tablepSet