0

I have a dataset like this

fake data

the thing that I do is to read data in R.

setwd("~/GitHub/master/data")
library(readxl)
maindata <- read_excel("maindata.xlsx", sheet = "original")
View(maindata)

because I don't know how to handle it.

I have 3 person.

I want to build a life table in R

I want a table just like

efron book

how can I do it in R

jay.sf
  • 60,139
  • 8
  • 53
  • 110
陳寧寬
  • 33
  • 8
  • 2
    Welcolme to SO. When posting data don't use images. See [this page](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) and check how to post a good reproducible example. – patL Feb 20 '19 at 08:46
  • And do also learn to search before asking for referrals to packages. – IRTFM Feb 21 '19 at 16:41
  • Voting to close as essentially a package request (and no response to a reasonable request for a data example to support demonstration.) – IRTFM Mar 24 '19 at 05:00

0 Answers0