查看data这个矩阵的前5行的命令为?
A: head(data,n=-5L)
B: head(data,n=5L)
C: tail(data,n=5L)
D: view(data)
A: head(data,n=-5L)
B: head(data,n=5L)
C: tail(data,n=5L)
D: view(data)
举一反三
- 已知有n个数据进行排序,下面能实现排序的是 A: data=[34,5,-6,12,87,29]data.sort() B: data=[34,5,-6,12,87,29]n=len(data)od=[]whileiwhilejifdata[j]>data[j+1]:t=data[j]data[j]=data[j+1]data[j+1]=tj+=1i+=1 C: data=[34,5,-6,12,87,29]n=len(data)i=0j=0whileiwhilejifdata[j]>data[j+1]:t=data[j]data[j]=data[j+1]data[j+1]=tj+=1i+=1print(data) D: data=[34,5,-6,12,87,29]n=len(data)i=0j=0whileiwhilejifdata[i]>data[j]:t=data[i]data[i]=data[j]data[j]=tj+=1i+=1
- Suppose I have a data set called DATA and want to extract rows 1 to 10 and columns 5 to 7. What would be the relevant R command? A: DATA[1:10,5:7] B: DATA[5:7,1:10] C: DATA[10:1,7:5] D: DATA[7:5,10:1]
- head命令中表示输出文件前5行的参数是哪个?【】 A: -c 5 B: -n 5 C: -q 5 D: -l 5
- 请分析如下代码,N的取值=_____。 DATA SEGMENT ORG 10 VAR1 DW 100H,200H ORG $+5 VAR2 DB 1,2, $+1,$+2 N EQU $-VAR2 DATA ENDS
- 104.在head命令中,表示输出文件的前5行的参数是? A: -c 5 B: -n 5 C: -q 5 D: -l 5