hop_rename: Change SimulationNames in a hop object

Description Usage Arguments Value See Also Examples

Description

Changes SimulationNames in a hop object.

Usage

1
hop_rename(hop, old.names, new.names)

Arguments

hop

An object of class "hop".

old.names

A character vector of the old SimulationNames to change.

new.names

A character vector of the new SimulationNames, in the same order as they apply to old.names.

Value

Returns the provided hop object with names changed.

See Also

Other hisafe helper functions: copy_hisafe_template(), get_pheno_dates(), get_pruning_dates(), hip_params(), hisafe_info(), hisafe_profiles(), hop_filter(), hop_merge(), hop_params(), is_face(), is_hip(), is_hop(), join_profiles(), make_rel_years(), profile_check(), variable_check(), which_profiles()

Examples

1
2
3
4
## Not run: 
hop_rename(myhop, old.names = c("Sim_1", "Sim_2"), new.names = c("Lat30", "Lat60"))

## End(Not run)

kevinwolz/hisafer documentation built on Oct. 19, 2020, 4:43 p.m.