[SOLVED] CS # to read crab.txt in R, place the file into your R working directory and

$25

File Name: CS_#_to_read_crab.txt_in_R,_place_the_file_into_your_R_working_directory_and.zip
File Size: 715.92 KB

5/5 - (1 vote)

# to read crab.txt in R, place the file into your R working directory and
# run the following
crabs <- read.table(“crab.txt”)names(crabs) <- c(“Obs”,”Colour”,”Spine”,”Weight”,”Width”,”Satellites”)Copyright By Assignmentchef assignmentchef

colour.map <- c(“lt.med”,”med”,”dk.med”,”dk”)crabs$Colour <- as.factor(colour.map[crabs$Colour])spine.map<- c(“both.gd”,”one.bad”,”both.bad”)crabs$Spine <- as.factor(spine.map[crabs$Spine])rm(colour.map,spine.map) CS: assignmentchef QQ: 1823890830 Email: [email protected]

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS # to read crab.txt in R, place the file into your R working directory and
$25