There are problems with the package metadata that are preventing it from building, probably because the author hasn't finished developing the package yet.
Probably the easiest way to use the zdepth
function is to download the repository source code. Open the repository in github ( https://github.com/musto101/wilcox_R ) then click Clone or Download
and Download Zip
.
Unzip the archive and the zdepth
function looks like it's in R/zdepth.R
. Copy this file to your own project then load the function with source()
, eg: source("R/zdepth.R")
.
This is not the 'best' way to use this function, particularly if you want to use other functions in the package, but short of fixing the metadata yourself it's the most straightforward.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.