Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

RevoScaleR 公式支援兩個公式的函式轉換分類的變數︰

N() 會將視為連續的分類的變數。
F () 會將連續的變數,視為分類。
F () 會包含額外的引數低、 高],並排除,可包含指定的值最低的分類、 最高的類別,以及如何處理指定的範圍以外的值。

這個範例中,使用與 RevoScaleR 的出貨普查資料的範例,只要使用 f () '時代' 變數視為摘要公式的因素︰

sampleDataDir <- rxGetOption("sampleDataDir") censusWorkers <- file.path(sampleDataDir, "CensusWorkers.xdf") 
rxSummary(~ F(age) + sex, data = censusWorkers)



如需有關 RevoScaleR 公式語法的詳細資訊,請鍵入? rxFormula 在革命 R 企業主控台。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×