如何解决为什么我在尝试绘制 PCA 时会收到“plow.new 尚未被调用”?
This is the end goal 但是当尝试绘制下面的代码时
plot(PCAloadings[,1:2],arrows(0,PCAloadings[,1],2]),text(PCAloadings[,labels=rownames(PCAloadings))
我收到以下错误:
in text.default(PCAloadings[,labels = rownames(PCAloadings)) : plot.new has not been called yet
我不确定如何解决这个问题或它与什么有关,欢迎任何帮助。
编辑:尝试逐行运行时,仅第一行运行。尝试运行箭头或文本行时,我遇到了同样的错误
plot(PCAloadings[,2])
This is the output from the first line alone
解决方法
好像是语法问题。试试
<?php
$blocks = parse_blocks( get_the_content() );
foreach ( $blocks as $block ) {
if ( 'wpdatatables/wpdatatables-gutenberg-block' === $block['blockName'] ) {
echo do_shortcode( $block['innerHTML'] );
break;
}
}
?>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。