如果我在R中导入了数据框,并且可以运行Asseciate()为什么ALL_CORRAINATION会给我一个错误?
我所拥有的只是一个简单的数据帧,其中有27列和100行
我继续遇到以下错误,尽管简单的代码行与其他类导入的数据的其他示例一起使用?
all_corlations(mdefault,sorted =“强度”) all_corlations中的错误(mdefault,sorted =“强度”): 此功能仅接受数据帧。 mdefault是spec_tbl_df 此功能仅接受数据帧。 mdefault是tbl_df 此功能仅接受数据帧。 Mdefault是TBL 此功能仅接受数据帧。 mdefault是一个data.frame
说明:DF [100 x 27]
All I have is a simple dataframe with 27 columns and 100 rows
I continue to get the following error although the simple line of code works with other example of imported data from class?
all_correlations(MDEFAULT,sorted="strength")
Error in all_correlations(MDEFAULT, sorted = "strength") :
This function only accepts data frames. MDEFAULT is a spec_tbl_df
This function only accepts data frames. MDEFAULT is a tbl_df
This function only accepts data frames. MDEFAULT is a tbl
This function only accepts data frames. MDEFAULT is a data.frame
Description:df [100 x 27]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在阅读了错误消息后,我猜测问题是您的数据是以TBL_DF格式,其相似但不相同的数据框架格式,该格式的功能是专门收到的。
尝试
像我所说的那样,请尝试在运行Associate()之前
,这是一个猜测。您的问题没有足够的信息。
After reading the error message im guessing the problem is your data are in tbl_df format, a tibble its similar but not identical a data frame format whose function are requering specifically.
Try to simply
Before runing associate()
Like i said, thats a guess. Your question hasnt enough information.