要下载我正在使用的n <- 20
# matrix to store the simulations
x <- matrix(NA_integer_, nrow=n, ncol=4)
# generate all the x1+x2's
x1_plus_x2 <- sample.int(79, n, replace=TRUE) + 20
# loop
for(j in 1:n){
# generate x1 and x2
x1x2 <- rmultinom(1, x1_plus_x2[j], c(1,1))
# generate x3 and x4
x3x4 <- rmultinom(1, 100-x1_plus_x2[j], c(1,1))
#
x[j,] <- c(x1x2,x3x4)
}
> rowSums(x)
[1] 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100
Axios
}
要解压缩我正在使用的async getLegendaZip(url) {
try {
const response = await axios.get(url, { responseType: 'arraybuffer' });
this.unzipLegenda(response.data);
} catch (error) {
console.log(error);
}
邮编
要对JSzip
进行解析,我正在使用lib Array
Subtitle
}
我在日志中收到此警告