Exporting Results from R - HKBUPhonLab.Ep.47

Опубликовано: 08 Август 2026
на канале: HKBU Phonology Laboratory
27
0

HKBU Phonology Lab
http://arts.hkbu.edu.hk/phonlab/index...

Sample R code:

data1 = read.csv(file.choose(), header = TRUE, sep=",")
library(plyr)
count(data1, c("Gender", "Group"))

setwd("D:/DATA/")

data1result = count(data1, c("Gender", "Group"))

write.csv(data1result, "calculation.csv", row.names = TRUE)

Thanks to the HKBU Faculty of Arts for the support in the video making.
Lab director: Mingxing Li
Technical assistant: Vesper Liu
Director and camera: Kennix Chow
Copy editing: Tsui Ying Ho