<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Convert Frequency to Character and Class Id</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="https://rpkg.net/assets/examples.css" />
</head><body>

<table width="100%" summary="page for get.class.id0"><tr><td>get.class.id0</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>Convert Frequency to Character and Class Id</h2>

<h3>Description</h3>

<p>This function returns the output of the as.character.ldtf and get.class.id functions.
</p>


<h3>Usage</h3>

<pre>
get.class.id0(frequency)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>frequency</code></td>
<td>
<p>The value of the frequency, which must be an <code>ldtf</code> object returned from the <code>f.?</code> functions.</p>
</td></tr>
</table>


<h3>Value</h3>

<p>A list with the following items:
</p>

<ul>
<li> <p><strong>value</strong>: The string representation of the frequency. If you only want this, use the <code>as.character()</code> function.
</p>
</li>
<li> <p><strong>day</strong>: The class Id of this frequency. If you only want this, use the <code>get.class.id</code> function.
</p>
</li>
<li> <p><strong>classType</strong>: The type of the class.
</p>
</li></ul>



<h3>See Also</h3>

<p><code>get.class.id</code>
</p>


<h3>Examples</h3>

<pre>

freq &lt;- f.x.times.a.day(f.daily(c(2023,5,16)),13, 12)
freq_class_id &lt;- get.class.id0(freq)

freq1 &lt;- f.monthly(2020,3)
freq1_class_id &lt;- get.class.id0(freq1)
</pre>


</body></html>
