survData_join | R Documentation |
This function joins two data sets, one for exposure measurements, the other
for survival measurements, into a single dataframe that can be used
with the survData
function.
survData_join(x, y)
x |
a
|
y |
a
|
a dataframe suitable for 'survData'
# (1) Load the two survival data sets data(propiconazole_pulse_exposure) exposure <- propiconazole_pulse_exposure[,c("replicate", "time", "conc")] survival <- propiconazole_pulse_exposure[,c("replicate", "time", "Nsurv")] # (2) Create an objet of class 'survData' dat_join <- survData(survData_join(exposure, survival)) class(dat_join)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.