我试图在数组中使用itag值找到url值。 我想在itag值为18(itag = 18)的数组中找到url值。
PHP代码:
private async void OnDataRequested(DataTransferManager sender, DataRequestedEventArgs args)
{
var deferral = args.Request.GetDeferral();
var si = await StorageFile.CreateStreamedFileAsync("Document.pdf", stream =>
{
var writeStream = stream.AsStreamForWrite();
writeStream.Write(PdfBytes, 0, PdfBytes.Length);
stream.Dispose();
args.Request.Data.Properties.Title = "PDF Document";
args.Request.Data.Properties.Description = "Some description";
args.Request.Data.SetStorageItems(new IStorageItem[] { si });
deferral.Complete();
}, null);
}
答案 0 :(得分:0)
一个简单的“if”语句可以:
library(dplyr)
##rough-syntax is as follows
grouped_data = orginal_data %>% group_by(SIC, Date)
library(forecast)
pred <- lm(SALE ~ XOPR + PPEGT)
pred #should give you the output of coefficients