blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce32cc0da45f210233177859bc4bf210c9fec021 | 966ad13abda2543348f0b0a28fe6069d7c3e0609 | /Otros años/Laboratorio/PECL3 FCD/Parte 1/2_regresion.r | ca61dc88877c03cbc8b7e774026210ebbf1a3401 | [] | no_license | YoInterneto/FCDLaboratorio | 28ecae0b4428b9edb9efbddfd4a206713402aef6 | b85666d8ac9d38d140cc04bba954b23b92c820ff | refs/heads/master | 2023-02-14T20:20:57.329008 | 2021-01-12T19:41:00 | 2021-01-12T19:41:00 | 307,632,622 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 324 | r | 2_regresion.r | # Establecemos el directorio de trabajo como el directorio donde se encuentra el script de R
directorio <- dirname(parent.frame(2)$ofile)
setwd(directorio)
# Cargamos los datos
planetas <- read.table("./planetas.txt")
print(planetas)
# Hacemos el estudio de la regresion
regresion = lm(D~R, data=planetas)
print(regres... |
5e8f75e00d363ae1d4b06ea20845ab3bd6db588d | eb8922cb386fe3d5f73c199ab4c79a7b3b668f48 | /R/ICCbare.R | 164d73a715fd0ca1530fc2eb63526681929c7023 | [] | no_license | matthewwolak/ICC | 460163f31a4dfc70a64bb3ec3744b338e0a67946 | 6b19771940648e21ba9775b309a91e15259601bd | refs/heads/master | 2022-05-29T02:35:30.756411 | 2022-05-20T13:06:21 | 2022-05-20T13:06:21 | 37,179,987 | 7 | 4 | null | 2022-05-19T15:07:43 | 2015-06-10T06:38:22 | R | UTF-8 | R | false | false | 3,059 | r | ICCbare.R | #' @rdname ICCest
#' @export
#' @importFrom stats aggregate anova aov formula na.omit replications
ICCbare <- function(x, y, data = NULL){
icall <- list(y = substitute(y), x = substitute(x))
if(is.character(icall$y)){
warning("passing a character string to 'y' is deprecated since ICC vesion 2.3.0 and w... |
eceaa148afd50e097058b087dba4ba6a98fe8f02 | 6acb4a76ec6af83585d131571b0ea5afa12b79b5 | /utils/conversion.R | 132f2eabb80fd47edee72bdecbf64cd698ca66ee | [
"CC-BY-4.0"
] | permissive | anhnguyendepocen/StatCompLab | f59e400330e2b9734b769899e779caa9fe8cfb8e | 92e8b5afd3464782d1ca2e58af5799bf176d54cb | refs/heads/main | 2023-04-03T00:32:42.266266 | 2021-03-28T21:38:24 | 2021-03-28T21:38:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,304 | r | conversion.R | convert_rmd <- function(input_filename,
type = NULL,
solutions = FALSE,
output_filename = NULL) {
new_type <- match.arg(type, c("vignette", "tutorial"))
orig_name <- basename(input_filename)
orig_name <- gsub(pattern = "\\.Rmd",
... |
2b65a72d13dac9cb965633eb3e134be812b0df7e | 36d6419049d37f98ddd1bb567ecb7761c7a4183e | /R/Bayes_Ord_Design_PO.R | 57aa12230cac0a40fb592ddb1b318cd1d580a4f4 | [] | no_license | alicechen310/BayesOrdDesign | 9fc919854d47a05530fde7dc0aefe29c619c4d08 | 728b58471a472b069fc166154ab8427cea2485d5 | refs/heads/master | 2023-09-04T23:32:08.504393 | 2021-09-21T12:40:02 | 2021-09-21T12:40:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,126 | r | Bayes_Ord_Design_PO.R | #' Determine the sample size for Bayesian two-stage trial design
#' of ordinal endpoints with proportional odds assumption
#'
#' @description
#' Obtain estimated sample size based on user-specified type I
#' error, power and effect size defined by the odds ratio between
#' the treatment and control groups, under ... |
73423b0791a0e4f1c8f61144d12a16f857c74ffe | 3c38d8cbe00ffb6d1150682ea1f3c79acfc33d96 | /R/CG_inflator.R | 31e0202e7d63330fb155bc8a2d18dc079f2f659e | [] | no_license | HughParsonage/grattan | c0dddf3253fc91511d122870a65e65cc918db910 | cc3e37e1377ace729f73eb1c93df307a58c9f162 | refs/heads/master | 2023-08-28T00:12:35.729050 | 2023-08-25T08:02:25 | 2023-08-25T08:02:25 | 30,398,321 | 26 | 11 | null | 2022-06-26T15:44:27 | 2015-02-06T06:18:13 | R | UTF-8 | R | false | false | 3,012 | r | CG_inflator.R | #' Forecasting capital gains
#'
#' @name CG_population_inflator
#' @param x To be inflated.
#' @param from_fy,to_fy Financial years designating the inflation period.
#' @param forecast.series One of \code{"mean"}, \code{"lower"}, \code{"upper"}. What estimator to use in forecasts. \code{"lower"} and \code{"upper"} giv... |
60d9143b1adfcaafb96b5737738ba50b8a466b34 | 25db982bcae8baab147439622b38c5c882b21d38 | /man/base_regioes_saude.Rd | 9182c9ad2da1f34816be5017dbccb33715955726 | [] | no_license | Glauco1990/AnaliseCOVID19Brasil | f3eab5e29e5471face3c9d3e40ac80281b8d8fe6 | de31dc3cad0a5972284376961db9c6726ba4c675 | refs/heads/master | 2022-12-12T10:25:51.523173 | 2020-09-15T08:28:24 | 2020-09-15T08:28:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 685 | rd | base_regioes_saude.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subfuncoes.R
\name{base_regioes_saude}
\alias{base_regioes_saude}
\title{Gera a Base Derivada ao nivel de Regioes de Saude}
\usage{
base_regioes_saude()
}
\value{
Base Derivada ao nivel de Regioes de Saude.
}
\description{
Gera a Base Derivad... |
6be9f95b1f9761f95dad8ed9f7f477aa58f11317 | b64c3840bc62fb63c5455c4158254638b42ef139 | /PA1.R | 61eb2afc6977677c1638ca298fdaab7c343044d7 | [] | no_license | chtongueek/RepData_PeerAssessment1 | 4211901e0c9d9e33b88e5e00186a3a19c72465b5 | 97eef9583a0158d2d84140aa92395165d009f611 | refs/heads/master | 2020-12-03T09:28:59.764347 | 2015-06-11T18:19:34 | 2015-06-11T18:19:34 | 37,091,086 | 0 | 0 | null | 2015-06-08T20:30:41 | 2015-06-08T20:30:41 | null | UTF-8 | R | false | false | 2,710 | r | PA1.R | #### Loading and preprocessing ####
graphics.off()
# 1) Read in data
data = read.csv("./activity.csv", header = T, stringsAsFactors = F)
# 2) Pre-processing: making number of steps a numeric
data$steps = as.numeric(data$steps)
#### What is the mean total number of steps taken per day ####
# 1) Calculate total numbe... |
80c5e71385d86b98923251ed1a0a9de207c73f39 | a3864f60b8dc3a3b9af5a42547c25470e38f7bf6 | /man/PE.Rd | 2af31a001b75f31c80779a025853bf826c0079c3 | [] | no_license | cwmiller21/mvdalab | c29ffb52a41a969a1c2701ccab77901afed2fbd9 | e9f1bea960cdf7dd2d0472581f9fe97c30bd6d4f | refs/heads/master | 2021-01-18T05:24:46.133643 | 2016-02-29T10:54:45 | 2016-02-29T10:54:45 | 52,802,389 | 1 | 0 | null | 2016-02-29T15:38:22 | 2016-02-29T15:38:22 | null | UTF-8 | R | false | false | 724 | rd | PE.Rd | \name{PE}
\alias{PE}
\title{Percent Explained Variation of X}
\description{This function provides both the cumulative and individual percent explained for the X-block for an \code{mvdareg} and \code{mvdapca} objects.}
\usage{PE(object)}
\arguments{
\item{object}{ an object of class \code{mvdareg} or \code{mvdapca} obje... |
47a2ec3bbf8de660c0c945e72f4541d17bdaa057 | 77bbd565e1da3809dbc758dcf75d90ab9b31c855 | /man/group_by.fduper.Rd | 84cc63c63428db051a36cccc8ccbab2a2c8ab03a | [] | no_license | gmyrland/fduper | 21c285e7a7282e41854aafbd084e665c6cccf249 | 8faba6c9fca284a0016bcdc57f946286080772f7 | refs/heads/master | 2021-08-14T20:03:03.558646 | 2017-11-16T16:32:46 | 2017-11-16T16:32:46 | 110,996,016 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 370 | rd | group_by.fduper.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/methods-dplyr.R
\name{group_by.fduper}
\alias{group_by.fduper}
\title{fduper wrapper for dplyr group_by}
\usage{
\method{group_by}{fduper}(.data, ...)
}
\arguments{
\item{.data}{A fduper object}
}
\value{
The fduper object after processing
}
... |
e051c42a16fe2d95526d0f2b576f2f54b7acc5bd | af91bcce4d7fa8311f6319ae7e0f1644cc38ee0b | /R/05-mlr-project.R | 3a7c0bb25e16630fa5df2253bed15bad360036e9 | [
"MIT"
] | permissive | johnmorehouse/2019-feature-selection | c3d67a30dd01f6e51dce839914865ac267e98cb0 | 5f87df3c80c6cc94826699f15bf89427e7571369 | refs/heads/master | 2022-01-26T19:02:46.167275 | 2019-06-15T13:48:25 | 2019-06-15T13:48:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,264 | r | 05-mlr-project.R | tune_ctrl_wrapper = function(propose.points, iters, n, param_set) {
ctrl = makeMBOControl(propose.points = propose.points)
ctrl = setMBOControlTermination(ctrl, iters = iters)
ctrl = setMBOControlInfill(ctrl, crit = crit.ei)
tune.ctrl = makeTuneControlMBO(mbo.control = ctrl,
mbo... |
50b6590798f9e64d124e13284a1826deeedd54eb | 73fba0a3dd94cf4da335b3879a63e3c4f4300608 | /man/plot.oneway.Rd | 3b23f116f0a94c892df7bcd57555079afaa87c23 | [] | no_license | kostask84/npar | d5643ac00a4dfa84e10da912cfe53161e43dfdb5 | ea298b9a626da0402c577fdabf8a43566917d9ac | refs/heads/master | 2021-05-09T17:23:35.633064 | 2017-02-06T07:41:03 | 2017-02-06T07:41:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 923 | rd | plot.oneway.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{plot.oneway}
\alias{plot.oneway}
\title{Plot nonparametric group comparisons}
\usage{
\method{plot}{oneway}(x, ...)
}
\arguments{
\item{x}{an object of class \code{oneway}.}
\item{...}{additional arguments passed to the
\code{\... |
e5556cd5dc07e079807576b7639d4fb2fe656bcc | 6d707693f800b611e41b70e1fc42e63b135b566c | /tests/testthat/test-hello.R | f5712ccc540d8e3f82b5f7da02749c75d8b152f6 | [] | no_license | gergness/ttjtest | c3136f4b6a6ea10865a8809c93cdb3affa59db3f | 408981622846862ca1f8898998cf3a679fed0a11 | refs/heads/master | 2021-03-04T22:55:33.289240 | 2020-03-09T15:31:24 | 2020-03-09T15:31:24 | 246,073,464 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 51 | r | test-hello.R | test_that("hello", {
expect_equal(hello(), 0)
})
|
83a02ddf786bebea79623b0a60d0b827778448ea | 1ef7b4ff34df2633d699d60c0353969c187e5eeb | /clustering.R | 20e9de144aecf189ddeab41e8a940468fe1da467 | [] | no_license | estefsaenz/MSc_Foundations_of_DataAnalytics | c977b13ba8e4e32de96829425f909e128b3e409c | 62243309811afdfa70e39191868ba91f3ea50f44 | refs/heads/master | 2020-08-21T19:56:55.913183 | 2019-10-19T16:18:38 | 2019-10-19T16:18:38 | 216,234,805 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,903 | r | clustering.R | setwd("C:/Users/estef/OneDrive/Warwick - MSc in Data Analytics/CS910 Foundations of Data Analytics/Final Project")
library(ggplot2)
library(plyr)
library(gridExtra)
library(Hmisc)
library(factoextra)
tema <- theme_bw()
theme_set(tema)
data <- read.csv('london_wards.csv')
housing <- read.csv('london_housin... |
0eafc693600790598ccd3a5e23d11df6bfca1e43 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/IceCast/man/get_init_month.Rd | 5f5f9585b0390cf3bcbfc3bb484d3a57103bdaed | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 862 | rd | get_init_month.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc.R
\name{get_init_month}
\alias{get_init_month}
\title{Get initialization month}
\usage{
get_init_month(month, lag)
}
\arguments{
\item{month}{forecast month (integer from 1 to 12 corresponing to month of year)}
\item{lag}{months in adva... |
c805245d4331fabb23e5e92270d4df11f1b14a00 | 24415cd8d6f4d92af14d07e905cb11f007c0ebfd | /man/meta_ghap.Rd | 550190ccc80ac11993cb5685d48e73734940ff45 | [] | no_license | yonicd/shinyghap | 428d2edeccfbbee276d376d81dfed221fd76eded | e27cc1b42bb0d68ff0fe9f724151856ed17bcd58 | refs/heads/master | 2021-07-14T13:19:33.398017 | 2017-10-18T17:03:55 | 2017-10-18T17:03:55 | 107,418,933 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,865 | rd | meta_ghap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/meta_ghap-data.R
\docType{data}
\name{meta_ghap}
\alias{meta_ghap}
\title{Meta data that search_ghap is run against.}
\format{A data frame with 9209 rows and 23 variables:
\describe{
\item{\code{DOMAIN}}{character COLUMN_DESCRIPTION}
\ite... |
6547d4b7cb486c1e2e45678e5ebea3b53e600561 | d0039bdf133f9027a5fa06e5a5b82cbc16b62791 | /R/remove_model.R | 774d6e541615870c289f6d4ac206283b9ad7fad1 | [] | no_license | smaakage85/modelgrid | 1fca104d8ffa147e3708a03c42990cbfd26b3ec2 | c392d558e77f5526b6285e47c9a7222370a435d1 | refs/heads/master | 2021-07-23T11:02:39.940768 | 2018-11-04T07:47:41 | 2018-11-04T07:47:41 | 136,794,655 | 26 | 6 | null | 2018-07-05T19:45:37 | 2018-06-10T09:12:55 | R | UTF-8 | R | false | false | 1,656 | r | remove_model.R | #' Remove model from model grid
#'
#' Removes an individual model specification from a model grid. If the model has
#' been trained, the fitted model will also be deleted.
#'
#' @param model_grid \code{model_grid}
#' @param model_name \code{character}, the unique name (as set by the user) of
#' the model, which will be... |
c9fa5dd7df62eea9c4ef7ce76ec8acd09f244553 | e3d23d0a9087e89edf22e61f5d8de0a79b4d8ccb | /EU_Scandinavia_Demographics/Git_012_src_cd_densityEU.R | c04ec5e824fbda64abe939dc39fbf4d7e5b19940 | [] | no_license | benksam/Dashboard_Sample_Collection | cd4326fcee94e68b8aa93f4eedbc4c62371b3b3a | 78270851055012e5f6ebfec54cb00cd514ccab9b | refs/heads/master | 2020-08-28T22:32:52.518043 | 2019-10-28T09:41:39 | 2019-10-28T09:41:39 | 217,840,348 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,353 | r | Git_012_src_cd_densityEU.R |
demo_r_d3dens = read.csv("1_RawData/demo_r_d3dens.csv")
demo_r_d3dens_EU17 = demo_r_d3dens %>% filter(time == 2017) %>%
filter(geo %in% EU_all) %>% select(-time, unit)
demo_r_d3dens_EU17r = demo_r_d3dens_EU17 %>% filter(geo %in% EU_id)
rdensity_EU = nuts03g %>% right_join(demo_r_d3dens_EU17r, by = c("id" = "geo"... |
541122493d2f6f30abc387a4766192c769ad5efe | cc753024b88f646602a35732754cf8d41f71f4a5 | /man/score.prior.Rd | 6a6084abf1158a539962a92e35be8f5337a50766 | [] | no_license | jeeyoungmoon0115/QTLnet.prior | b930eb1654b91a1f63b184973558d4798e7e26fd | 490984dca16b78fb813b75f25ac251ee271953e2 | refs/heads/master | 2016-08-07T12:15:42.936211 | 2014-11-27T04:28:39 | 2014-11-27T04:28:39 | 27,209,158 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,975 | rd | score.prior.Rd | \name{score.prior}
\alias{score.prior}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Log of the numerator in prior probability of phenotype networks
}
\description{
The prior probablity of phenotype networks is defined to be \eqn{P(G_Y | B, beta) \propto exp(-\sum_j beta[j] * |B[[j]]-M|)}. T... |
4749b3e128eaac813407eb3f4002ec7eeb10be63 | 600c3810ffef12cdb2080dff2ef4449b11241202 | /run_analysis.R | 918e2dc7af8e236d381a48b148c535840cbf577e | [] | no_license | JPCarroll17/GetCleanDataProj | 3a7f2f7c21e5980d7a72e322cf471084e138922d | 41ea66976ff5a83e5bcbcf1ac2593285cb0c68d0 | refs/heads/master | 2021-01-22T11:12:01.909962 | 2017-05-28T18:33:19 | 2017-05-28T18:33:19 | 92,675,830 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,558 | r | run_analysis.R | ##JCarroll
##Assignment Coursera Getting and Cleaning Data
##Read in, merge, clean and aggregate data from multiple users of activity monitors.
##5/28/2017
##Set working directory to location of data downloaded from:
##https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
setwd("/Users/... |
51f85967ce548929080b2522015fbed7f665a273 | e3ce3ad557ebd51429ed7acfea936723149a8d4c | /man/snof.Rd | abdc7ae599c9795ef023ebfab07f614802c5591d | [] | permissive | jakobbossek/smoof | 87512da9d488acfe3a7cc62aa3539a99e82d52ba | d65247258fab57d08a5a76df858329a25c0bb1b8 | refs/heads/master | 2023-03-20T02:05:12.632661 | 2023-03-08T13:59:27 | 2023-03-08T13:59:27 | 22,465,741 | 32 | 27 | BSD-2-Clause | 2022-01-21T10:02:19 | 2014-07-31T10:39:43 | R | UTF-8 | R | false | true | 4,578 | rd | snof.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/snof.R
\name{snof}
\alias{snof}
\title{Helper function to create numeric single-objective optimization test function.}
\usage{
snof(
name = NULL,
id = NULL,
par.len = NULL,
par.id = "x",
par.lower = NULL,
par.upper = NULL,
descr... |
6a2cfaf8533c9c558f18e19cee126f2353d673ae | 0b55ce5f483e63126661e7d54f48912074ff62ca | /cap05/arrange03.R | ddf7dbbace4c2a44fba8c98d9a6d79987b412130 | [
"CC0-1.0"
] | permissive | vcwild/r4ds | 645233bbb4a366e6537184669d5e59841691992d | b916782637d5940d35b16e1dfa1eaf961cab34b0 | refs/heads/master | 2022-06-28T01:48:44.703215 | 2020-05-07T02:26:01 | 2020-05-07T02:26:01 | 255,899,071 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 30 | r | arrange03.R | (arrange(flights, dep_delay))
|
3a1ec653a7e4b9a17748520088e5aa2d85b20ed9 | bd934086a13e48de72fb819051537ba6e9ed3842 | /man/hybrid.Rd | 5c4543ae67ad1a41dff29ca0b181c8618b778002 | [] | no_license | cran/endogenous | 5a35f5fc443db36dd56dedb5f1988a0af0a70ea5 | bc4d32242ab79ef0a0e92d906210aaa9f902c1cd | refs/heads/master | 2021-06-06T10:07:19.044862 | 2016-10-29T10:48:20 | 2016-10-29T10:48:20 | 72,274,716 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,674 | rd | hybrid.Rd | \name{hybrid}
\alias{hybrid}
\alias{print.hybrid}
\alias{summary.hybrid}
\title{
Hybrid model with structural shift (permits covariate-specific treatment effects)
}
\description{
James Heckman's Hybrid Model with Structural Shift (also known as the Treatment Effects Model). Jointly models outcome regression mod... |
694fced135e0dc6ad65e95c1f89bebcc587dfc75 | 553992ae66d19695a240b2c8df4357b09f99bb69 | /Misc/R_RStudio_Workflow/R/ExampleScripts/5_VisualizeData.R | 0bc4ba31dfc7b7571cb4bcd080e365e61deb1589 | [] | no_license | Alfiew/Workshops | 839ec14d5c4b95cd39474044e9bdb2946d2dece9 | 4ac40823e13ed285bcabc44eb4449d4d1be4cd05 | refs/heads/master | 2023-04-19T05:48:15.096172 | 2021-04-27T01:12:07 | 2021-04-27T01:12:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,606 | r | 5_VisualizeData.R | # visualize three ways
## first a simple scatter plot in three ways
## second we'll do delays (x) by the categories
## third is a multivariate analysis of counts
## simple scatter plot
plot(ttc_streetcar_delays_Jan2019$Delay, ttc_streetcar_delays_Jan2019$Gap)
### this makes much more sense than just a correlat... |
f1c7427abd5afc1de846dce0f7f20c41dc409c6c | dd4cece7e7b3626c2c511acbfa21d64f15f9ae4f | /run_analysis.R | f37da4781f9ed183986a3b4c4b31bd107aeb0891 | [] | no_license | jo07/getting-and-cleaning-data-coursre-project | 13e42f382a3ae831ecf4cd5dcd5893f0fd91e443 | ed6bc3a44285ae7bd2ef1a89155e6032be45671c | refs/heads/master | 2021-01-19T22:28:51.241016 | 2014-10-26T04:00:33 | 2014-10-26T04:00:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,282 | r | run_analysis.R | # this program only invokes one function, run(), which in turn invokes other functions in order to complete a series of steps. Its end result is a tidy dataset called tidy_data.txt
# this function takes a set of file paths, using them to read a feature dataset (training or testing), gives the columns descriptive names ... |
0dbb689290934843ba1191ef17d0cccb002e6410 | fc24092b78fdea4c04058cd2618f74fc1ff8b107 | /man/diseases.Rd | d4247f9b6e4d6bd1ca9fefa08c771e94e599a123 | [] | no_license | viparc/viparc | b721459244c5af42a6b63bd707f86ac3a2d5aba0 | 0f39110e1140b2b41cb4ba6c9bf17f3024db82bd | refs/heads/master | 2021-10-10T13:04:54.888469 | 2019-01-11T07:57:18 | 2019-01-11T07:57:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,529 | rd | diseases.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{diseases}
\alias{diseases}
\title{Diseases data}
\format{A data frame with 4271 rows and 17 variables:
\describe{
\item{FarmID}{ID of farm.}
\item{FlockID}{ID of flock, combining ID of farm with ID of cycle.}
... |
80bb83b247545f2545e11a38ec049a860f80c3a4 | 84a16740225507247eee8a759444cfe4b61de3ae | /ideas.R | d9271f89160bd049383880d07f04db2099ea4a83 | [] | no_license | jean9208/Song-Separator | f85e67fe42f2767434c2e9abeb76ccf66f9f2e61 | f9dbfe9e21f87eabb9bfa9bedfe2ad3cc05bd980 | refs/heads/master | 2022-04-19T18:18:15.953492 | 2020-04-18T20:58:46 | 2020-04-18T20:58:46 | 114,084,821 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 740 | r | ideas.R | ## Initial ideas for separating music by instrument ##
# Author: Jean Michel Arreola Trapala
# Date: 13/12/2017
# Contact: jean.arreola@yahoo.com.mx
#Initial tests
#Load packages
library(tuneR)
library(fastICA)
library(seewave)
#load song
song <- readmp3("demo.mp3")
#Start with a small subset of the song
test ... |
24c133d6d3fbacb45eabd02c44b7821eccacc2a2 | cf8326cf2ffe34465a9519325ccea010f55ecd2c | /CWS/CW5.R | 03fb08a04851ce8c6af67302c74cb535f9bb186a | [] | no_license | flying-bear/R_2018 | 727a456d4e291140994df6f120f7265cd05ab7fa | c479bc097c75c623472f3231fc21ecd90587dff4 | refs/heads/master | 2020-03-30T12:34:42.859031 | 2018-11-21T18:30:41 | 2018-11-21T18:30:41 | 151,230,480 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,342 | r | CW5.R | # gutenbergr
install.packages('gutenbergr')
library(gutenbergr)
library(tidyverse)
gutenberg_metadata # data on contents of the project (book number, title, author etc)
gutenberg_works() # data on contents with text availible
gutenberg_authors %>% # data on authors
slice(grep('Austen', author))
gutenberg_works(author... |
6243817c8f642d29a541878ff142f944e2f99280 | 403bc5dce93f12ac5e148cd1c5abfae7ccfaaaf2 | /R_code/pe_interpolate_outdoor_values.R | 4e7d0affe9b9988cb7961171c280ef47a689bca2 | [
"NIST-PD"
] | permissive | usnistgov/SLP_data_code | 01d18a649ca5621bcce26becc6edd22c22d8d22e | 2d99e9d29c8cb0101a089124346a6d89c936b34a | refs/heads/master | 2020-05-16T11:38:03.091393 | 2019-08-12T19:36:34 | 2019-08-12T19:36:34 | 183,022,683 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,209 | r | pe_interpolate_outdoor_values.R | library(tidyverse)
library(readxl)
library(rstan)
library(lubridate)
library(stringr)
read_excel(path = '../data/PE_Florida_ambient_plus_panel_temps.xlsx',
skip = 1, col_names = FALSE) %>%
select(X__1, X__2, X__4, X__7, X__10) %>%
rename(date = X__1, time = X__2, intensity = X__4, ... |
3c73c1c46b4be6b25b5da6e606959a7954aae900 | 293786cd8c761df0cdb12357e64c730e8169efa7 | /inst/doc/fully-customed.R | aeca75c7aced3c14d8f7a858bf3b417c984b09a3 | [] | no_license | cran/ggVennDiagram | 91ef96d05cf95cca1d69a3457fe0b0f30da7c9c0 | cacf410b5a23b6b9e12c51d1798e8232d015bb65 | refs/heads/master | 2023-08-16T21:39:09.269120 | 2023-08-14T11:20:13 | 2023-08-14T12:45:03 | 236,605,754 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,748 | r | fully-customed.R | ## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----setup--------------------------------------------------------------------
library(ggVennDiagram)
## ------------------------------------------------------------... |
e9b55770213e571ebf8c9691ecc517980076eec5 | e09d229dd1ad18879fb051e4cb7d97c1475f49aa | /R/get_file_hash.R | f63f79858d875fd2417e39f14f096512c5dbf425 | [
"MIT"
] | permissive | hamishgibbs/rtrackr | 15bc922c8f8dfb765ee5b5da80df66b84eb16b16 | 2a353b73f8507e96c71c32c1ea557cfc04f9c0b2 | refs/heads/master | 2022-11-11T17:35:52.513669 | 2020-06-20T12:19:33 | 2020-06-20T12:19:33 | 271,510,902 | 1 | 0 | NOASSERTION | 2020-06-12T14:45:06 | 2020-06-11T09:54:51 | R | UTF-8 | R | false | false | 778 | r | get_file_hash.R | # get_file_hash
#
# @param hash_string data.frame, dataframe of old and new hashes with colnames hash and trackr_old_hash
#
# @importFrom digest sha1
#
# @return character, hash of current file row hashes
get_file_hash <- function(dataframe, tstamp){
if (!is.data.frame(dataframe)) stop("hash_string must be a data.f... |
94f0811e1396ec0906207ab94b887eb49bec1ca1 | cbce5e4314d1edadf7d5c4f153a87d70c642a9ea | /db/man/get.trait.data.Rd | 11046eecf1ae3a388d2a14bd45e1cd842f076b30 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kemball/pecan | 644662398835fe6d286d82d4494530f4a2bebd58 | 23074a812cdc50c86e2227a89a1cc1e685ec2747 | refs/heads/master | 2020-12-25T09:47:18.695082 | 2013-08-06T15:39:17 | 2013-08-06T15:39:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 210 | rd | get.trait.data.Rd | \name{get.trait.data}
\alias{get.trait.data}
\title{Gets trait data from the database}
\usage{
get.trait.data()
}
\description{
Gets trait data from the database
}
\author{
David LeBauer, Shawn Serbin
}
|
e4d3f521a309a78be0199ee3386ac009f9d9b726 | 9661290402c7023f91f3fd4638b2295ff2627bb9 | /ExampleTrainings/iRODS-User-training/exampleRules/conditionalhello.r | 4ec787f7456362b9f4e63675bbf6baa4edacc457 | [
"MIT"
] | permissive | stefan-wolfsheimer/B2SAFE-B2STAGE-Training | 36aaae7e14b0407bb0464c68893b7a2b8011d89c | db9e6a8b0adc42a789272bc6f024fe64e98d03ff | refs/heads/master | 2020-03-19T06:05:18.631884 | 2018-06-12T10:07:48 | 2018-06-12T10:07:48 | 135,989,466 | 0 | 0 | null | 2018-06-04T07:47:12 | 2018-06-04T07:47:12 | null | UTF-8 | R | false | false | 203 | r | conditionalhello.r | conditionalhello{
if(*name!="Your Name"){
writeLine("stdout", "Hello *name!");
}
else { writeLine("stdout", "Hello world!"); }
}
INPUT *name="Your Name"
OUTPUT ruleExecOut, *name
|
70ecabbdcab9e9ea6411c9a623d93c99aee5ac09 | 0ff5853af9fd557f6591979a834d9fe82708d234 | /R/vcov.drc.R | 8e573f44f13e2979d41ae7f9e19d680009449a27 | [] | no_license | csetraynor/drc | 4c6deed9b783802852cfd3ed60c87dec6afc0ce5 | 8719d43a09711250cd791d7d2bc965558d3e62a6 | refs/heads/master | 2023-04-11T03:15:00.881506 | 2021-05-04T02:42:06 | 2021-05-04T02:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,986 | r | vcov.drc.R | "vcov.drc" <-
function(object, ..., corr = FALSE, od = FALSE, pool = TRUE, unscaled = FALSE)
{
## Defining function for calculating variance-covariance matrix
contData <- identical(object$"type", "continuous") || identical(object$"type", "standard")
if (contData)
{
vcovfct <- vcCont
... |
c3ef2a28945481c46ab11f91353cd1a01b07e1f1 | 8893ba18785558773985e5dcf2049ddc01375e6b | /man/yoda_set.Rd | 6c991aa76fb909f314abc034dd5b7efd02991514 | [] | no_license | cran/Arothron | a122b82cdfc75dc2be94115917c24c228445c8cd | 79c614f1b17f54a72648fbcd4d924907a768f755 | refs/heads/master | 2023-02-07T17:29:56.204584 | 2023-02-01T11:40:08 | 2023-02-01T11:40:08 | 127,958,255 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 352 | rd | yoda_set.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/yoda_set.R
\docType{data}
\name{yoda_set}
\alias{yoda_set}
\title{example dataset}
\usage{
data(yoda_set)
}
\description{
Landmark set on Yoda
}
\author{
Antonio Profico, Costantino Buzi, Marina Melchionna, Paolo Piras, Pasquale Raia, Alessio... |
d1cc24be906539632d359ab701ed375209c57462 | 609ca5bd45edb5d1055b4a38efbcdfe2adfe7d63 | /man/summary.learnIQ1var.Rd | c40d0ab9de673e097a3f76aeae93494dca8ecacb | [] | no_license | kalinn/iqLearn | e2c7939aa7eb058c7e48dd98e9d6464d01b65a19 | 97bfba5f7dbe0a9f6d8ed333c5aac6422af28b5d | refs/heads/master | 2022-08-09T11:48:39.147582 | 2022-08-01T17:27:09 | 2022-08-01T17:27:09 | 30,946,670 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,502 | rd | summary.learnIQ1var.Rd | \name{summary.learnIQ1var}
\alias{summary.learnIQ1var}
\alias{print.summary.learnIQ1var}
\title{
IQ-learning: contrast variance modeling summary
}
\description{
Output from the contrast function variance modeling in IQ-learning.
}
\usage{
\method{summary}{learnIQ1var}(object, ...)
}
\arguments{
\item{object }{
object... |
811a102d4fc87b1c53addfa0890de3cb73354c31 | a17b617826c6be240732d257e944f596f96899a7 | /complex/timeseries.R | 799ff51818fbd28e40a3de1c2cd03996a5f7b820 | [] | no_license | mrquincle/crownstone-bash | 246b899adae37f77fdf4075724e4bef3b6a5e0bf | c65746401a7684e7e5449d7b5e4d410cb0168ef3 | refs/heads/master | 2023-02-20T11:08:49.419508 | 2023-02-09T13:13:57 | 2023-02-09T13:13:57 | 102,087,361 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 341 | r | timeseries.R | library(ggplot2)
x <- read.csv("../output/timeseries.log", sep="\t")
power <- x[,1]
time <- x[,2]
power_usage <- data.frame(y=power)
power_usage$x <- as.POSIXct(time, format="%Y-%m-%dT%H:%M:%OS")
#print(head(power_usage))
dev.new()
p <- ggplot(power_usage, aes(x,y) ) + geom_point() +
ggtitle("Time series of po... |
c675c2028626c33f190d46cea2df4865433be17b | c8b6f055acd3d2725c76174439532c9eb245e98e | /codes/L01(2020).R | 72ac0f06605371f5a7013fe77d639241e5b1730f | [
"CC0-1.0"
] | permissive | sumitrmishra/intro-r-workshop | 995dc9854dda65c9f1d4eca5b10f08083939dd2f | 2b04310c0daa8672b6e3b252d45e880b86aacd2c | refs/heads/master | 2022-12-26T14:02:00.325091 | 2020-10-11T14:32:40 | 2020-10-11T14:32:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,080 | r | L01(2020).R | #your very first code in R
# In this lecture, you learn how to:
# a) navigate through R Studio
# b) create an object in R
# c) do simple math operations in R
# R as a calculator
1 + 2
# I will write my favourite Beatles song and expect R to save it.
strawberry fields forever
# oops, i ran into trouble. i see the f... |
9205fa31bbdaa9b45fd275a5deb484c85bbd8bbf | 79ed53a11a7b7cb020030ce3c1e42e761cad3e9a | /transcription_profiling.R | ef471edac3153c19e58a64d58f6d32f15cd5ac19 | [] | no_license | dabrau/extract_tcga | 6a92a9ddb1a25c7d94ea4ea7269f3ee91988fb61 | ce143043fcb8b42234710394089dbf8c797df91f | refs/heads/master | 2021-05-11T08:29:59.986931 | 2018-01-25T00:46:56 | 2018-01-25T00:46:56 | 118,053,079 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 342 | r | transcription_profiling.R | library(tidyverse)
source("./utils.R")
GetTranscriptionProfileData <- function(proj, workflow.types = c("HTSeq - Counts", "HTSeq - FPKM")) {
results <- workflow.types %>%
map(function(workflow.type) QueryData(proj, "Transcriptome Profiling", workflow.type)) %>%
map(Prepare)
names(results) <- workflow.typ... |
866f4434f37afa39748f0b87827ef8d901bc2441 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RImpact/examples/GeometricMean.Rd.R | fc0e2147c2a4fbe6434300ab94c1c1a488a95882 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 150 | r | GeometricMean.Rd.R | library(RImpact)
### Name: GeometricMean
### Title: GeometricMean
### Aliases: GeometricMean
### ** Examples
GeometricMean(c(1, 3, 9, 27, 81))
|
d064b9834167ec8f7316531cae5ee684918bd240 | fe3b6cf5bf1fc041355fd5c4d0f2e94406255caf | /arima/exploratory.R | 1de3d525e2a0f6220007ec64ec81c42d6566437e | [] | no_license | ShabnamEzatzadeh/bigbrother | 50292693a1079b4366cb7488245bb914b3323f7a | 02c74d18dab33ba73d4e28ca293e72b0f7a93546 | refs/heads/master | 2021-01-18T21:04:10.088962 | 2014-12-05T04:22:51 | 2014-12-05T04:22:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,571 | r | exploratory.R | rm(list=ls())
setwd("~/Documents/bigbrother/data/traffic/counts/")
library(fda)
data=read.table(file="006G283P.txt")
dim(data)
day=factor(x=data[,2])
date=factor(x=data[,1])
day2 = factor(x=data[,2])
counts=matrix(0,nrow=24*dim(data)[1],ncol=1)
for(i in 1:dim(data)[1]){
counts[(i*24-23):(i*24)]=data[i,3:26]
day[(i... |
c0546d024c6fa6bc0383722b3193df512dbfbb53 | 602980a2b335336d9bac17d1a924ddc690449691 | /R/EpivizServer-class.R | fedad94fda4441cdf36dd97f50bdea461e5c03e6 | [] | no_license | epiviz/epivizr-release | 55211407cb8bf781ce8c5706479299d81ad3a5f8 | 798b350442b74334fdf3ac834c65a878e0d436e0 | refs/heads/master | 2021-01-13T01:40:53.888146 | 2015-06-09T17:08:33 | 2015-06-09T17:08:33 | 18,971,179 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,409 | r | EpivizServer-class.R | .dummyTestPage=function(req) {
wsUrl = paste(sep='',
'"',
"ws://",
ifelse(is.null(req$HTTP_HOST), req$SERVER_NAME, req$HTTP_HOST),
'"')
list(
status = 200L,
headers = list(
'Content-Type' = 'text/html'
),
body = paste(
sep = "\r\n",
"<!DOCTYPE html>",
"<htm... |
86c9555b75995e3ab2323d029e287e955c25acf3 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /mcga/inst/testfiles/ByteVectorToDoubles/libFuzzer_ByteVectorToDoubles/ByteVectorToDoubles_valgrind_files/1612761270-test.R | 3825dfb1467bc3539ef04333c2bf4af9534b1a7e | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 380 | r | 1612761270-test.R | testlist <- list(b = c(1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L, 1852730990L))
result... |
5097a543ad3aef9c8d147ad9a59136830a1b2c77 | da103fb81c35cf05c055d7692853d225b93ed181 | /man/Description.Rd | 9e2192bc841839caa15b483914960677151eb89a | [] | no_license | jundoll/jmisc | ba60fed0c91a4585e5772a22069d2ce9a9be8468 | 097056ed08c09eb5bbb97141fb7d94256a521f2e | refs/heads/master | 2021-01-01T05:40:02.181006 | 2017-01-15T08:58:41 | 2017-01-15T08:58:41 | 38,819,996 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 582 | rd | Description.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Description.R
\name{Description}
\alias{Description}
\title{Create the header templete of the file}
\usage{
Description(desc = "This is a test message.", symbol = "#", sym_len = 50,
...)
}
\arguments{
\item{desc}{A character that is the des... |
72ec19b6e5707ed36df92614b1c6dad4e047ff2b | bb04b62a93cbe2d18d4d5b85254a3b1106635f69 | /man/PlotFunctionStack.Rd | 23cadade79ddf82f6f96ab083b9833d7cceccf88 | [] | no_license | xia-lab/MicrobiomeAnalystR | 331725a764aa97099c0ca56668428bce63785bed | 97ced67a4ac04e4804d263ec3cde0fe10fd752aa | refs/heads/master | 2023-08-08T13:52:28.383786 | 2023-08-04T16:28:34 | 2023-08-04T16:28:34 | 184,415,141 | 97 | 36 | null | 2020-02-25T05:39:50 | 2019-05-01T12:48:01 | R | UTF-8 | R | false | true | 592 | rd | PlotFunctionStack.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sdp_utils.R
\name{PlotFunctionStack}
\alias{PlotFunctionStack}
\title{Function to plot stacked bar chart of functional data.}
\usage{
PlotFunctionStack(
mbSetObj,
summaryplot,
functionlvl,
abundcal,
geneidtype,
metadata,
colpalo... |
381fa477462a1748279bb3464207a2fd4c9c305a | 0bc66cf962bdab8d2e36db95cfcedd14f0f6f6b9 | /plot3.R | 8ad4b2aa03329335b922d512e29b81a6aaf2cd7f | [] | no_license | xnoamix/ExData_Plotting1 | ec4f074623bb6642c05e4b55bcda8d2a052ccba1 | 1a77d2cde4861fa7b7e57e353916957950e766f3 | refs/heads/master | 2021-01-20T16:41:20.739055 | 2014-12-03T18:34:31 | 2014-12-03T18:34:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 936 | r | plot3.R | ##preparing the data
unzip("exdata_data_household_power_consumption.zip")
data <- read.table("household_power_consumption.txt", header=F, sep=";", skip=66637, nrow=2880)
## attaching a header to the data, combining date and time to timestamp
header <- readLines("household_power_consumption.txt", n=1)
header2 <- unlist... |
db6c3fdf043dc321f4fb9bb7dd33241fa0b8a4e2 | b3bc093f56f7a211e54cda4a289688d2bb545500 | /R/sdefit.R | e4d140ad04c26d095b23c61a507d3d881e36381d | [] | no_license | ogarciav/resde | 730499e376a6a66a7f87e1047cc554324a70f50f | 776449729e833359250d13c83a1cb81b18a070e8 | refs/heads/master | 2023-06-10T13:28:04.436257 | 2023-05-20T01:27:59 | 2023-05-20T01:29:13 | 296,492,518 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,980 | r | sdefit.R | # File contents: trfuns, sdefit, str2fun_theta
# Environment for passing transformation functions:
trfuns <- new.env()
# The functions for computing phi and its derivative phiprime are generated and
# stored here by sdefit(). They are read from this environment inside uvector().
# A regular assignment within sdefit() ... |
8632fd29db459592a038afa9642c75135a087d68 | 42ac78fed8e8494cc54a533e6cb9b4c18ca51369 | /branches/Matrix-for-R-2.3.x/man/sparseLU-class.Rd | 1a54289e49ff827adc63af1bbd677ff46379e453 | [] | no_license | LTLA/Matrix | 8a79cac905cdb820f95190e99352cd9d8f267558 | 2b80087cfebc9f673e345000aeaf2170fc15b506 | refs/heads/master | 2020-08-07T20:22:12.075155 | 2019-09-28T21:21:10 | 2019-09-28T21:21:10 | 213,576,484 | 0 | 1 | null | 2019-10-13T00:56:38 | 2019-10-08T07:30:49 | C | UTF-8 | R | false | false | 1,732 | rd | sparseLU-class.Rd | \name{sparseLU-class}
\docType{class}
\alias{sparseLU-class}
\title{Sparse LU decomposition of a square sparse matrix}
\description{Objects of this class contain the components of the LU
decomposition of a sparse square matrix.}
\section{Objects from the Class}{
Objects can be created by calls of the form \code{new... |
92ffd9dbbbf830d904f53998d64b309d50a77c5d | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/drf/man/split_frequencies.Rd | 1d1af256e0845b050ae36c676f985be703f0b232 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 841 | rd | split_frequencies.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/analysis_tools.R
\name{split_frequencies}
\alias{split_frequencies}
\title{Calculate which features the forest split on at each depth.}
\usage{
split_frequencies(forest, max.depth = 4)
}
\arguments{
\item{forest}{The trained forest.}
\item{m... |
fe3e4099715c0e1b1beb58e476ddf3585858c482 | b9b114e93485d6a525a89a349a614f0cc7297250 | /app/Schinria/My_Shiny_ADS/Bar.R | 2da89783bb8acd957a7b590c8b06344430ed7e89 | [] | no_license | xiaoyu211/project2-cycle2-8 | aeabb9902a1f17fb77a77f3191aa1cc975104090 | eafa2954d0ad2b6897f4c661a8e92ac4a949afa8 | refs/heads/master | 2021-06-07T07:35:47.630927 | 2016-02-24T01:00:26 | 2016-02-24T01:00:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,404 | r | Bar.R | setwd("~/ADS PROJECT 2 - My stuff/My_Shiny_ADS")
library(datasets)
library(shiny)
library(data.table)
library(dplyr)
#####################
sub_orig <- readRDS("data_5.rds")
shinyvars <- c("Resolution.Description","Borough", "Date")
shiny1 <- sub_orig[shinyvars]
shiny1$Date <- as.Date(shiny1$Date, "%Y-%m-%d")
shiny1$Da... |
728e002d117db61c987bd41f11d2dc721510d7a4 | bc3bbd6c6e4878e27612b26bf51208b8537808d4 | /code/package-functions-vectorization.R | 7cb82f348bcefeda725644e9aab29528ff7b5e50 | [] | no_license | quinlan-lab/sllobs-biostats | e01d955c76a0be723bf43ec83de17bfd64aef088 | 212635f4ddb79c722df38d4697d438105bcd8230 | refs/heads/master | 2022-02-15T02:47:04.330973 | 2022-01-27T15:29:26 | 2022-01-27T15:29:26 | 177,178,442 | 78 | 16 | null | 2019-06-19T12:59:28 | 2019-03-22T16:55:02 | null | UTF-8 | R | false | false | 10,952 | r | package-functions-vectorization.R | ###Week 4 R
###Data types, Packages, Functions and Vectorization
##Example of Vectorization (slide 2)
x=c(1,2,3,4,5)
x
##Slow - using a for loop
x = 1
for (i in seq(2,5)){
x[i] = 1 + i-1
}
x
##DataFrame (Slide 8)
# Create the data frame.
emp.data <- data.frame(
emp_id = c (1:5),
emp_name =... |
5b3b349628be055d6f1a88ef2e886ac562b68d4d | d6f93471ac349c795b91f09850ae72266f790287 | /ParetoFunction.R | af320fe3f09b5a16c83c379c85aa29345245f374 | [] | no_license | Diversity-ParetoOptimal/ParetoR | e7d0c848423741c020ffcc6729400211df4ce813 | 492e9b8e3bed82ca59ab1f8f70e5583857989a1d | refs/heads/master | 2021-01-02T09:01:17.933522 | 2019-04-30T16:52:04 | 2019-04-30T16:52:04 | 78,620,598 | 9 | 5 | null | null | null | null | UTF-8 | R | false | false | 16,657 | r | ParetoFunction.R | # Pareto-Optimization via Normal Boundary Intersection
# Developer: Q. Chelsea Song
# Contact: qianqisong@gmail.com
# Last Update: 11/17/2016
####################################### NBI Main Function ####################################
#' NBI Main Function
#'
#' Main function for obtaining pareto-optimal solution vi... |
cc8039fc49ac07d54809f2933b17e7a569bf1d4f | 963b75306674956433ce16a562816de9bd4f9393 | /R/PlusMinus.PIimp.R | 9a30b57ec54cb412aac9cc637db752ce5aa493eb | [] | no_license | cran/LogicForest | cd68de6f2bfa89b6cfc9fe49410b0ce20fa94f29 | 0619287ba164198feec015682d110a1bcdce58da | refs/heads/master | 2021-01-20T04:32:33.071237 | 2014-09-18T00:00:00 | 2014-09-18T00:00:00 | 17,717,763 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,487 | r | PlusMinus.PIimp.R | PlusMinus.PIimp <-
function(resp, Xs, fullPIdata, mod, wts, ntrees)
{
All.PInms<-colnames(fullPIdata)
n.obs<-nrow(fullPIdata)
nCV<-length(mod)
test.ids<-CV.ids(n=n.obs, kfold=nCV)
loc.ids<-CV.ids(n=ntrees, kfold=nCV)
APIchange<-matrix(0, nrow=nCV, ncol=length(All.PInms))
SPIchange<-matrix(0, nrow=nCV, ... |
c27fe1bb3a43bfb00c911d87219ba6c7bc96b12f | e8bf9ee8cd6ff243f10ca6ad8f41d9b327e34155 | /R/to_plumber.R | 94fb42723bd0d06e842f4192d19f76aac5de59d1 | [
"MIT"
] | permissive | ColinFay/craneur | 3ef416ac64028b6557542e49bcf562c5aa102621 | 92e1573e4a5d944507da8e75869649e06e2fbaae | refs/heads/master | 2020-03-19T07:41:11.103266 | 2018-11-22T07:16:23 | 2018-11-22T07:16:23 | 136,139,398 | 33 | 5 | null | 2018-07-20T06:21:11 | 2018-06-05T07:43:02 | R | UTF-8 | R | false | false | 1,664 | r | to_plumber.R | #' Create a plumberfile that simulates a RAN
#'
#' @param from the `src/` folder
#' @param to where to write the plumber folder
#'
#' @return writes a folder with a plumber.R and the src
#' @export
#'
#' @examples
#' \dontrun{
#' to_plumber(from = "inst/src/", to = "inst/plumb")
#' }
to_plumber <- function(from, to){... |
0548d38fbc70eb564e104f570ccfd1b162429892 | 4cee6dec70875ca85f20dd738932be86f361a63e | /pkg/man/contaminate.Rd | b5f245fb6fe0ef5558a1b88b99ec87b4a3f8dcd7 | [] | no_license | dieterich-lab/pulseR | 9b7114769b48a305ba0a11357226e8f774b73a20 | 1323b378e95b483c8bda99d6c71befccd45c810f | refs/heads/master | 2021-01-18T20:40:00.474158 | 2018-10-26T10:45:32 | 2018-10-26T10:45:32 | 72,013,067 | 2 | 4 | null | null | null | null | UTF-8 | R | false | true | 1,096 | rd | contaminate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/formulas.R
\name{contaminate}
\alias{contaminate}
\title{Generate a new formula as a mixture of two}
\usage{
contaminate(formulas, target_condition, contaminant_condition, coef_name)
}
\arguments{
\item{formulas}{list, generated by \code{\lin... |
36a7a3f783eb80e42fd52215fdc3544ef84fe4c5 | e2fb32fa53018aa039dd34656f7150ffd9c640e6 | /Week 4/W4A22.R | 4cef5840d88fe534415ddae5071b66d1abedda37 | [] | no_license | PozzettiAndrea/15.071x-ONGOING- | a1b5301d31a658062b5d1c34a486f06b68a87cfa | 9d8307b95c4cbcac681a709f31667dfcac885f07 | refs/heads/master | 2021-05-25T21:24:48.893321 | 2020-04-15T21:57:07 | 2020-04-15T21:57:07 | 253,925,416 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,297 | r | W4A22.R | #1.1
LETTERS = read.csv("LETTERS_ABPR.csv")
str(LETTERS)
LETTERS$isB = as.factor(LETTERS$letter == "B")
set.seed(1000)
spl = sample.split(LETTERS$isB,SplitRatio=0.5)
train = subset(LETTERS,spl==TRUE)
test = subset(LETTERS,spl==FALSE)
table(test$isB)
#1.2
CARTb = rpart(isB ~ . - letter, data=train, method="class")
predi... |
7e6342d334f66e4fae0d12b8b0fb8c792ddac6d6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mice/examples/make.predictorMatrix.Rd.R | 0a3e473fc596408103e35230e65d3f36fc6ad904 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 249 | r | make.predictorMatrix.Rd.R | library(mice)
### Name: make.predictorMatrix
### Title: Creates a 'predictorMatrix' argument
### Aliases: make.predictorMatrix
### ** Examples
make.predictorMatrix(nhanes)
make.predictorMatrix(nhanes, blocks = make.blocks(nhanes, "collect"))
|
7f27c439e6cb35f8a009bfe47fa2872675e2193f | 54394dc51347bf0a034c1ece9cd751e2b7b4fa5d | /.Rprofile | d44cc362b55b72195d60c07f2b1ea9dae824b6fc | [] | no_license | jarfa/dotfiles | 7a0cb25efdfacd74cba9537064e2f03fd4505691 | ae7a943c2f55af9ae60d139a40e9b5b2a43396bf | refs/heads/master | 2021-01-20T12:13:20.314476 | 2017-02-28T03:33:25 | 2017-02-28T03:33:25 | 25,318,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 645 | rprofile | .Rprofile | .First = function() {
cat("Successfully loaded .Rprofile at", date(), "\n")
updatePrompt <- function(...) {options(prompt=format(Sys.time(), "%H:%M:%S> ")); return(TRUE)}
addTaskCallback(updatePrompt)
}
options(repos=c("http://cran.stat.ucla.edu"))
.startup <- new.env() #I'm creating a new env so that rm(list = ls... |
eaa8c87a3fd18c79ecf0c19b293c1e0251b63fd5 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/1893_0/rinput.R | 2528d10bc3fa239b750fe00cd30d9ab4687c420f | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("1893_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="1893_0_unrooted.txt") |
ec1745047d81532c7c0ad3acff7aea11abe8e11b | 25fb5a89d973ce5191272251fe8a30c36139887c | /R/plotqq.R | 5d331163980fbc055e16e7010cbf7bfcb8f1dafd | [] | no_license | cran/plotmo | a89b6d6e71583528642674b9a81b94ebb24d2c94 | e61d4f166dfb9b54dfc6c269ce2771d25518503e | refs/heads/master | 2022-07-17T04:53:09.281256 | 2022-05-21T18:30:02 | 2022-05-21T18:30:02 | 17,698,578 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 5,756 | r | plotqq.R | # plotqq.R
plotmo_qq <- function(rinfo, info, nfigs,
grid.col, smooth.col,
id.n, iresids, npoints,
force.auto.resids.ylim,
...)
{
old.pty <- par("pty")
par(pty="s") # square
on.exit(par(pty=old.pty))
# we... |
90e0faaf9f818f787f721fca6be5bc82424f78fd | f2f8779f5f49160746fea2be85f32fd9e1ea6b2c | /plot4.R | 6af36667a1ca5ae4da1db7e05100e5e56ba04ea1 | [] | no_license | HariSriraman/Exploratory_data_analysis | 0f24f9d39b7b6c4071c69f0c60e6cc31241add1e | 8371a59f0bc3024ad0d4a2e37f450d89f12a9ebb | refs/heads/master | 2021-01-02T08:49:27.526594 | 2017-08-02T15:16:29 | 2017-08-02T15:16:29 | 99,071,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,867 | r | plot4.R | ## Set the working directory
setwd("C:/Users/hsrirama/Documents/Personal/Coursera/Course 4 - Exploratory Data Analysis/Project")
## Unzip the file into 'data' folder if file doesn't exists
if (!file.exists("./data/household_power_consumption.txt")) {unzip("exdata%2Fdata%2Fhousehold_power_consumption.zip", exdir = "dat... |
40111db2445c8919bb51c0afc95c912fd053ef0c | 118d91758cfe209f5e477e23abfb04b91f0d0586 | /inst/DVHshiny/app_ui_tab_metrics.R | 58f960195d817e8d65aa3393ad670b06e53a7e55 | [] | no_license | cran/DVHmetrics | 5668244accbcf2ba712f5d318191f137cac4e930 | 1420f5f5bb683ee7c58a85ccd3763b0654eb8e66 | refs/heads/master | 2022-05-01T16:13:48.056003 | 2022-03-23T10:40:02 | 2022-03-23T10:40:02 | 30,032,803 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,436 | r | app_ui_tab_metrics.R | fluidPage(
fluidRow(
box(title="Define metrics",
width=4,
textInput("metrInput", "Metric(s):", value=c("DMEAN, D1cc, V10%")),
#tags$textarea(id="defMetricsMult", rows=2, cols=10, ""),
#actionButton('clearText_button','Clear metrics'),
#radio... |
2d6504721e993bc8de015a8960ee0910db5556f1 | 749827f781183063003f79362eb0e1e7157cabef | /R/getDF.R | 6a5aa606288d33251315c15582a6768ee613a844 | [] | no_license | OpenSILEX/opensilex-datavis-rapp-demo | 6bd4f8a5e0ef7fe2c00a1b4d0a63ba89ebc94a93 | 1101050290c12b4c828a78386e4556495b90e4c3 | refs/heads/master | 2021-06-12T00:18:20.068554 | 2021-04-20T07:20:16 | 2021-04-20T07:20:16 | 177,541,853 | 0 | 2 | null | 2019-07-03T15:10:49 | 2019-03-25T08:08:19 | JavaScript | UTF-8 | R | false | false | 3,536 | r | getDF.R | #-------------------------------------------------------------------------------
# Program: getDF.R
# Objective: functions to get the incertitude data related to environment measures
# Authors: Chourrout Elise
# Creation: 15/02/2019
# Update:
#----------------------------------------------------------------------------... |
0c9c8dfb7eedf32bc9baca022969d0a4b8fc09a2 | 8195e8b515ea2758a7bfc0bd435a4d9f9923f6e9 | /R/get_bozukyol.R | a78f97f7b0508765db28d3cc742041e33d14c134 | [] | no_license | atakzltn/MAKibb | 0526538416d7a63b357bd72077c955727a3e97e8 | f778c739ecbea959126c98054d22fbc81614bc24 | refs/heads/master | 2022-10-06T12:31:23.789902 | 2020-06-01T20:41:47 | 2020-06-01T20:41:47 | 267,534,917 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,147 | r | get_bozukyol.R | #' @title get_bozukyol Function
#'
#' @description You can reach instant bad road information. See \url{https://data.ibb.gov.tr/organization/iett-genel-mudurlugu} for more information.
#' @export
#'
#' @param busdoornumber This parameter is not mandatory. This information is the information that comes to the bus driver... |
7b45edd8b9ab9b11b5f5e103d425dcabfc463a03 | 05a79f6b42fb32cac5dd113d4b9e4e2b46bf726c | /R/erah.R | 9e1756580b61930a0edf0bfd5e9a6f7e8f3fac11 | [] | no_license | cran/erah | f7694555847f4d0077c95b4c2af6ad49bb89f5a5 | 1e64f83223ca1a744bfe73770593e673a3d46919 | refs/heads/master | 2021-07-04T19:31:22.570330 | 2021-05-11T03:20:17 | 2021-05-11T03:20:17 | 56,294,465 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 15,071 | r | erah.R |
globalVariables("mslib")
## MetaboSet Class Definition:
setClass(Class = "eRahSoftParameters", representation = representation(algorithm="character", min.peak.width = "numeric", min.peak.height = "numeric", noise.threshold = "numeric", avoid.processing.mz = "vector",compression.coef = "numeric", analysis.time="vecto... |
b7ba484a4236d69d91f83f04088a39e12e826693 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Rmixmod/examples/Mixmod-class.Rd.R | 66e34fd87f014d0f9b6481fa21e101de20085b4c | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 154 | r | Mixmod-class.Rd.R | library(Rmixmod)
### Name: Mixmod-class
### Title: Constructor of ['Mixmod'] class
### Aliases: Mixmod-class
### ** Examples
getSlots("Mixmod")
|
1b9af763a8daa157b6a239f539de12c93aceebaa | 66c35bb07d3aa3322cfcb69b0adbd4ef8ea59f4f | /Working_collection_of_scripts/Basic_plotting_ggplot2.R | 780f0abc5998eeed47a434c5c1dc0fedd59a731e | [] | no_license | jlhanson5/R_snippets | de42646e40033a57cb9f6b3699c25d09eda2c6fd | 782e6f4fc49c3872a26ad917af877467d70281f0 | refs/heads/master | 2021-01-01T06:51:37.902718 | 2017-07-17T23:36:31 | 2017-07-17T23:36:31 | 97,530,925 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 179 | r | Basic_plotting_ggplot2.R | library(ggplot2)
ggplot(df, aes(x=Independent_Variable, y=Dependent_Variable)) +geom_point(shape=16, size=3,color = 'black',alpha = 0.5) + geom_smooth(method=lm, color = 'red')
|
356a4751a2cb5609c27095c9391b6e9fb7187e81 | a0aa511780814e67695203dec46022eda1c75467 | /man/clearALL.Rd | 66ef0cb637417205db298a81788c91fb83a2a4d7 | [] | no_license | leonpheng/xptdefine | ab031216806bbb22e8fbf7b5b56ac5fcfba726a3 | 62388d9927436fac5df9a05305bf6bffc2124e56 | refs/heads/master | 2020-04-05T02:29:19.060784 | 2019-11-19T15:39:29 | 2019-11-19T15:39:29 | 114,052,833 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 235 | rd | clearALL.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\name{clearALL}
\alias{clearALL}
\title{clearALL}
\usage{
clearALL(...)
}
\description{
Internal use.
}
\examples{
clearALL()
}
\keyword{clearALL}
|
c6b113947f5717de1c4c2a0f24678f7accbbe40b | b27fd936626536a5bba6c99e395284c6c451d376 | /CountElements.R | f345cd2a81c3ad7ddccf54a3c948476e1ddfb967 | [
"MIT"
] | permissive | sckaiser/BlindDate | f3db4f38e80440028b49fb2d594006e2aa776388 | e8b9645ae838aad70fd1544f0928f66c9f84e230 | refs/heads/master | 2021-06-12T01:27:41.830690 | 2017-04-21T15:29:05 | 2017-04-21T15:29:05 | 33,501,969 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 507 | r | CountElements.R | CountElements <- function(x) {
# Counts the number of elements in a character string. An element is defined
# as a sequence of adjacent numbers or characters, exluduing punctuation and
# spaces.
# Args:
# x, a character vector
# Returns:
# y, an integer: the most frequent number of elements found.
... |
e56e9d046280886d6ff28d2ea00d934ade88b073 | 3b3b10d85d9eaba1b19e88cf63b97f5071f165e9 | /man/umccr_tidy.Rd | 6acb8f65d4e9af4478ac326a7ad587754dde7109 | [
"MIT"
] | permissive | pdiakumis/dracarys | e416dcb9c7cc597490872a4564c8a5ac1e466fba | 25fd7860440548d914a474a41017848a5fab40c8 | refs/heads/main | 2023-07-22T08:55:15.045965 | 2023-07-05T12:42:04 | 2023-07-05T12:42:04 | 237,552,776 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,601 | rd | umccr_tidy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tidy.R
\name{umccr_tidy}
\alias{umccr_tidy}
\title{Tidy UMCCR Results}
\usage{
umccr_tidy(
in_dir = NULL,
out_dir = NULL,
prefix = NULL,
gds_local_dir = NULL,
out_format = "tsv",
dryrun = FALSE,
token = Sys.getenv("ICA_ACCESS_TO... |
8c7bfee10b8eafacbc3da1bad967784dd5a34f5f | ef40ccc2ab54a5ba93fbea8f5910b8374bbd5dc3 | /R/taxonomic-coverage-element.R | fd4b3abfe46ee53b51f043102a02ef4a897fb95d | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ErinCain/EDIutils | 278899ef3e3f1d97ab04d28b1f0cee5c1a794145 | 2eca0760679cbedf86c0a90694986bd22e4f715b | refs/heads/v0.1 | 2023-03-22T22:18:32.546511 | 2021-02-26T16:37:11 | 2021-02-26T16:37:11 | 319,430,518 | 0 | 0 | CC0-1.0 | 2020-12-16T18:12:46 | 2020-12-07T20:01:58 | null | UTF-8 | R | false | false | 8,652 | r | taxonomic-coverage-element.R | #' @title Add Taxonomic Coverage
#' @description Adds the taxonomic coverage information of a dataset based off of
#' EML standards. The addition of taxonomic coverage is optional, however defaults
#' of chinook, sturgeon, smelt, and steelhead are provided. While single or
#' multiple taxonomies can be applied, the... |
c4216f668fcf508d3f3fc83d0bc711308b116389 | 26ad45b7c8da382a3153bdbf5a6c50160f7b7608 | /Data Mining/rxNaiveBayes.R | 9dae10af8b70dd427330f872f36b1c3fe43355da | [] | no_license | hjanime/RevoEnhancements | c884aa96bdae127d8d4c3a1b1fa4a48a24a5b664 | 2e60942ab6884d08c7f51e20bd461146b317f5f9 | refs/heads/master | 2021-01-15T19:50:00.574867 | 2013-04-09T21:08:10 | 2013-04-09T21:08:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,392 | r | rxNaiveBayes.R | # Function to create a Naive Bayes model on big data. It uses e1071.
rxNaiveBayes <- function (formula, data, laplace = 0, ...) {
require(e1071)
call <- match.call()
vars <- all.vars(formula)
Yname <- vars[1]
x <- vars[-1]
varInfo <- rxGetVarInfo(data)
if (x == ".") {
x <- names(varInfo)
x <- x[... |
89f5b5d4f1ae45e0811cfcffa8a293ecc80687f3 | e80ffb7bfb546b42354e29dd9d0c2633e3743ca9 | /man/writetessa.Rd | 79a1fc8942fb9d920777a9e6b6c92351ade3d61e | [] | no_license | shearwavesplitter/MFASTR | 5c417f2499dcbb1df8e56786106e8ebdaa7eeb5e | a533f527cd6a4d2472ff7305f63b7f7c85467ceb | refs/heads/master | 2021-01-21T06:55:13.317019 | 2020-02-17T14:43:59 | 2020-02-17T14:43:59 | 84,286,263 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 639 | rd | writetessa.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fn_writetessa.R
\name{writetessa}
\alias{writetessa}
\title{Write TESSA .summ file}
\usage{
writetessa(summ, name)
}
\arguments{
\item{summ}{Dataframe containing the summary file of measurements to be run in TESSA}
\item{name}{Name of the fi... |
c8bd6df04cb7a91e2aec879b8ac8c1436a0394c4 | 6074beaaa23e6dd8c2c2a1265da5562816f90ebc | /analysis/scripts/plotChrom.R | 6f0bf932560619d9377962946ba2083b5c8663ab | [
"BSD-3-Clause"
] | permissive | msproteomicstools/msproteomicstools | 935402d7984295785b36afb6a0f2fccfcba9dbe6 | 84e0eb00c2b4b0a26b99a916de554fdb46c4b108 | refs/heads/master | 2021-11-19T18:25:06.289924 | 2021-10-12T11:34:54 | 2021-10-12T11:34:54 | 32,137,230 | 47 | 51 | NOASSERTION | 2021-10-12T11:34:55 | 2015-03-13T07:03:21 | Python | UTF-8 | R | false | false | 2,920 | r | plotChrom.R | library(lattice)
extract_chrom <- function(t, thisdata, productmz, extraction_window=0.05)
{
this_spectrum = subset(thisdata, SEC == t)
return(sum(subset(this_spectrum, MZ > productmz-(extraction_window/2) & MZ < productmz+(extraction_window/2))$INT))
}
graphme <- function(xxp,allmx){
xxp <- xxp[length(xxp):1]
... |
4872fc1d1bcdd012d9c9f788f7f266786161b0f1 | 440ca1ee319392290b318dc28069b70f4d84213e | /sandbox/test_aggRviz_join.R | 050daef02fa637ab6c650ea9c5c255e0d2e8a42c | [
"MIT"
] | permissive | amygoldlist/aggRviz | 6a4f6cca2490d1df373d135760a3580eaf527126 | 08006d52ae1d1d4bb077534f2b170c3194e6f6bd | refs/heads/master | 2020-03-13T00:48:18.316031 | 2018-06-28T19:10:15 | 2018-06-28T19:10:15 | 130,893,468 | 0 | 1 | null | 2018-06-28T19:10:16 | 2018-04-24T17:53:37 | R | UTF-8 | R | false | false | 736 | r | test_aggRviz_join.R | context("testing aggRviz_join")
load("testdata/yummy.Rda")
df1 <- dat_1 %>%
dplyr::filter(Dessert == "") %>%
dplyr::select(-Dessert)
df2 <- dat_2 %>%
dplyr::filter(Sweet_or_Salty=="") %>%
dplyr::select(-Sweet_or_Salty)
df <- dplyr::inner_join(df1,df2)
test_that('AggRviz_join basic functionality', {
expe... |
1dda59846674c0f5f18cd7d6869c72ff16fede93 | 8e1f9c5b510459b3a89a62814990c5e8675ae541 | /OrdinalRecommenders_1.R | b5cf58f742b79877381d5e78c37fe1f85a5654bd | [] | no_license | harpreetSinghGuller/MDA | 2062b1c79cd184c8cf302757eee2a14420e448d0 | b686bc45e06dcc42e282df755fd17532b77bbf27 | refs/heads/master | 2021-10-02T05:05:46.134811 | 2018-11-29T07:33:45 | 2018-11-29T07:33:45 | 98,188,754 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,477 | r | OrdinalRecommenders_1.R |
### --------------------------------------------------
### --- Recommender Systems: Ordinal Logistic Regression hello
### --- Goran S. Milovanović, PhD
### --- Data Kolektiv, Belgrade, Serbia
### --- Developed for: SmartCat, Novi Sad, Serbia
### --- 25 February 2017.
### --- MovieLens 100K Data Set
### ---------------... |
d9c3ff76a9a0469205ac646b480d810b1f499583 | 401771109480da6da170bbbd0ecb2b4bad42ab30 | /man/fullMultiFit.Rd | 0a59897a2ae77e0974779fe935f83c74eb629f11 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | usnistgov/potMax | 8ab9612aeab1998ce304f0968ab81a29c50af733 | a7271d3a12f4053edea0ac2004e5efb1dc41382c | refs/heads/master | 2020-04-04T09:48:12.671567 | 2019-01-24T19:26:42 | 2019-01-24T19:26:42 | 52,827,981 | 1 | 0 | null | 2018-04-20T21:34:55 | 2016-02-29T22:00:25 | R | UTF-8 | R | false | true | 2,668 | rd | fullMultiFit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multi_threshold_fits.R
\name{fullMultiFit}
\alias{fullMultiFit}
\alias{fullMultiFit.declustered_series}
\alias{fullMultiFit.default}
\title{Maximum Likelihood Estimation of the Full Model for Many Thresholds}
\usage{
fullMultiFit(x, lt, n_min... |
6731c6ca000df89a681d1f9efc24e82abab00235 | 7db57346716cd9684617c7477c9268049af0f1f2 | /R/utils.R | d542e08db1d673cadbcad26b601fef316a6ffd11 | [] | no_license | trafficonese/hutilscpp | 6e9695056f9d7ac7a1b3343c8f2d714d558f1f47 | 2f57360a1dea10fc87688539f816e4e11d35ad3c | refs/heads/master | 2020-07-08T22:45:01.021156 | 2019-08-22T11:27:46 | 2019-08-22T11:27:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,299 | r | utils.R | check_TF <- function(x) {
if (is.logical(x) && length(x) == 1L) {
if (anyNA(x)) {
xc <- deparse(substitute(x))
stop("`", xc, " = NA` but must be TRUE or FALSE. ",
"Change `", xc, "` to be TRUE or FALSE.")
} else {
return(NULL)
}
} else {
xc <- deparse(substitute(x))
... |
246b9b7724d4a23433a877fc01286ae516f0df93 | b153a1175385e6c77771a21d44269ff6309af38f | /assignment regression2.R | 896e574e9c371495cb560dbf1d8433d6d1765b0d | [] | no_license | liuzanzan/The-Assignment-2-Liu-Zanzan | 034507117b50fd521dd3ba627a244071dd3e6345 | bcd757981acf464647a2604c120e4d3bc2bbf30f | refs/heads/master | 2021-08-23T06:33:33.425114 | 2017-12-03T22:50:45 | 2017-12-03T22:50:45 | 112,970,516 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,328 | r | assignment regression2.R | #########################
# backward regression #
#########################
library(psych) # for describe
library(car) # for residualPlots, vif, pairs.panels, ncvTest
library(ggplot2) # for ggplot
library(cAIC4) # for cAIC
library(r2glmm) # for r2beta
library(influence.ME) # for influence
library(lattice) # for qqma... |
05075e19bae9a52594671d9d46ce5b096d03f299 | 1e99edaf168955eff672209c33227d499fcc310a | /分拆.R | d19e8429024b4f21454438d389a229453fe67d7d | [] | no_license | GuitarHero-Eric/BOCCFC-supporting | d9ab0f2a33abc0fef97aefbd61a9b5de1c43f0cf | 65d6a9733e34d25982b1b9e8270d288906f318ab | refs/heads/master | 2021-03-30T21:28:09.951217 | 2018-03-09T09:36:39 | 2018-03-09T09:36:39 | 124,482,520 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 352 | r | 分拆.R | a<-read.csv("kaishu.csv")
q<-as.data.frame(table(a$区域中心))
# a<-subset(a,管理团队=="首逾团队")
dir.create(paste("kaishu",sep = ""), showWarnings = FALSE)
for (x in 1:nrow(q))
{
x1<-subset(a,区域中心==q[x,1])
wd<-as.character(q[x,1])
wd<-gsub(" ","",wd)
write.csv(x1,paste("E:/R路径/kaishu/",wd,".csv",sep=""))
}
|
6096dd9520fc56b6f6032c3b113ca48bd064812b | 119df04eb38038e570e7edbcf1d3ea3a233f99de | /task5-Text Analytics/Code/e10.r | 13416bf0a5253597f8d2b8e814962d5769c11fb7 | [] | no_license | AlexGithubbb/Data-Analysis-using-R | f751e8d59a08e222324c94b9f1cb4c8278b2f389 | 7048744fbf31bc908cdc99f5cadc560d2fbd1e8b | refs/heads/master | 2020-04-12T20:31:59.255144 | 2018-12-21T17:32:38 | 2018-12-21T17:32:38 | 162,739,098 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 529 | r | e10.r | #=========================================
# Task5 Exercise 10: use wordcloud library to visualize both training dtm and testing dtm
install.packages("wordcloud")
library("wordcloud")
#the training dtm visualization
wordcloud(corpus_train,
max.words=100, # look at the 100 most common words
scale... |
b7893c42f2a52eaf7397c8ffb522b8aefd66082c | d55710d4a1d5612c59a1558ce3e8edcbefcc0b54 | /man/GFQ.Rd | d8996b8d129a5a798fd2a6cc5017614f4cf37fa6 | [] | no_license | elamrireda/FunctQuant | 35fdb7315c09e9e42a6b12ca039eb64774040e45 | 45794620febfe0eb90d580f37d7006fbdd4c59fe | refs/heads/master | 2023-02-05T11:11:55.729805 | 2020-12-31T11:31:15 | 2020-12-31T11:31:15 | 324,865,397 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,429 | rd | GFQ.Rd | \name{GFQ}
\alias{GFQ}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Greedy Functional Quantization}
\description{Data-driven greedy functional quantization based on the distorsion error or the maximin (a space filling design criterion) }
\usage{GFQ(data,mKL,size,method,deepstart=TRUE)}... |
4839ff0a5d7e94425013564c77e29b31b874960c | 8002812bb637d2c37044fc4b9c81c472a71c18ff | /man/hello.Rd | 2ed11027028ceb8c3c2f2b6dad932dc9796d0524 | [] | no_license | 321k/GoogleTRends | d6e9da26df255195958f94db0eb9707585839e7a | c1603e0aa16152ac6e6c199154431ee3a0a38d6b | refs/heads/master | 2021-01-10T22:37:49.100205 | 2016-09-29T14:04:17 | 2016-09-29T14:04:17 | 69,573,156 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 170 | rd | hello.Rd | \name{GoogleTRends}
\alias{GoogleTRends}
\title{GoogleTRends}
\usage{
hello()
}
\description{Download and read Google Trends data from your browser}
\examples{
hello()
}
|
c3118cf6e45669f137d5fdd7a66d8705cef4c41c | 282937161c6f9e14877757c56dabc66d0621a413 | /load_1000/statistics_function.R | 8db3583e28a406d4aac9535b65e2b42787eb990c | [] | no_license | tarasevic-r/Vibro-acoustic | e292a6c1ebd1121d5640d9a17600466a8d9ba3f4 | 3eda43eed45d8eeef37c547ec479223b70589a71 | refs/heads/master | 2022-04-18T16:19:59.853574 | 2020-04-02T06:25:38 | 2020-04-02T06:25:38 | 247,627,489 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 748 | r | statistics_function.R |
# function for main statistics calculation
statistics <- function(sample_index, time, value, from, to) {
data.frame(
Sample_Index = sample_index
, Length = length(time)
, Sample_start = from
, Sample_end = to
, Mode_freq_t = as.integer(Mode_f(diff(time)))
, Period_from = min(time)
... |
cd03d1d982b4a3bb51ff6bf0236fc842f96d3558 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/AnalyzeFMRI/examples/N2G.Rd.R | 9542b87970578b98b3bc348ee36f558f30a37735 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 375 | r | N2G.Rd.R | library(AnalyzeFMRI)
### Name: N2G
### Title: Fits the N2G model
### Aliases: N2G
### Keywords: utilities
### ** Examples
par <- c(3, 2, 3, 2, .3, .4)
data <- c(rnorm(10000), rgamma(2000, 10, 1), -rgamma(1400, 10, 1))
hist(data, n = 100, freq = FALSE)
q <- N2G.Fit(data, par, maxit = 10000, method = "BFGS")
p <- se... |
24c21d3420bd96e1dd94c2add5c8c8e9c6414c92 | 0e040f6bfff65e8324e0f9f30d494deaf7c596d9 | /trackingMyself_huaweiConvertExportToGpx.R | 6510902949eda1d652e6eb5d63666d0b3cda31dd | [
"MIT"
] | permissive | Rubbert/QuantifiedScientist | 06deb2c97c20f2523bb4487f92af9974e20bca85 | 0d68c308286c3b18604a1f7f9206f4ebe689689a | refs/heads/master | 2023-08-16T01:58:27.773415 | 2021-10-08T20:08:20 | 2021-10-08T20:08:20 | 274,339,241 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,835 | r | trackingMyself_huaweiConvertExportToGpx.R | setwd('/Users/rterhorst/Research/src/')
library(caret)
library('rlang')
library("foreign")
library("R.utils")
library('zoo')
library(ggplot2)
#library(chron)
#library(lme4)
library("openxlsx")
#library(hash)
library(stringr)
library(data.table)
library('jsonlite')
library(lubridate)
source('trackingMyself_mainSetOfFxns... |
5caed60657c7405bcb3317fac7b1c2e35104a01b | abd0439e4334255e89858b6ba0298254b24e3f00 | /train資料處理.R | c6f33503e0ebcaafb11f2eecc965dbd18fc7a59a | [] | no_license | vvsy/DM_Project4 | c557eb12f6a4e5413b978762e85f5d791d1dc2eb | 67fceb221f8ef0e66a025478c9c1e0086e6eed58 | refs/heads/master | 2020-04-13T22:38:13.798498 | 2019-01-16T19:03:14 | 2019-01-16T19:03:14 | 163,484,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,522 | r | train資料處理.R | filepath <- "/Users/liguanzhi/Downloads/dmclass2018train.csv"
read.csv(filepath) -> df
# library
library(tidyverse)
library(kableExtra)
library(dplyr)
library(ggplot2)
library(reshape2)
library(VIM)
library(mice)
# explore data
str(df)
dim(df)
## look at those unique value
lapply(df, function(x) length(unique(x)))... |
af50defc8089148a67118c2ed9a582efd5840d8b | 7b8b5630a5cef2a21428f97b2c5b26b0f63e3269 | /man/lifetime.Rd | 48ec1a259496163b8a422dd5ef53bf4e4fe5f22f | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | cells2numbers/migrationminer | eb257733c4999f9af57ce10f2faf051d1e0b82fa | c25c692615953c33b3d73430117129fea980bcdb | refs/heads/master | 2021-01-23T07:34:53.509775 | 2019-04-29T17:45:18 | 2019-04-29T17:45:18 | 102,511,560 | 7 | 0 | NOASSERTION | 2019-04-09T16:13:56 | 2017-09-05T17:37:14 | R | UTF-8 | R | false | true | 739 | rd | lifetime.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/track.R
\name{lifetime}
\alias{lifetime}
\title{Lifetime of a track object.}
\usage{
lifetime(tracks, t_var = "Metadata_timePoint")
}
\arguments{
\item{tracks}{data frame with track objects}
\item{t_var}{variable name / columne name used for... |
ee586cb711c59bbd8ca92c6b6ac0f70fbbcfcdc6 | f3a260a55664bc9dedab32a5d6de5e2ca3301ac9 | /man/DescToolsAddIns.Rd | 522dc243e884473220c2b5553312fa443ace6ebd | [] | no_license | AndriSignorell/DescToolsAddIns | d8db57675ffe0fedd5ce393ea29bb7abccee5219 | caa509d6da75ffe58867354911f49ce5a432dcc5 | refs/heads/master | 2022-05-14T20:15:17.684361 | 2022-05-10T05:53:50 | 2022-05-10T05:53:50 | 190,240,128 | 2 | 1 | null | 2019-11-29T02:51:46 | 2019-06-04T16:27:49 | R | UTF-8 | R | false | false | 8,272 | rd | DescToolsAddIns.Rd | \name{RStudio AddIns}
\alias{Str}
\alias{Str1}
\alias{Summary}
\alias{Abstract}
\alias{Head}
\alias{Example}
\alias{Some}
\alias{Desc}
\alias{Select}
\alias{Plot}
\alias{PlotD}
\alias{FileSaveAs}
\alias{XLView}
\alias{IntView}
\alias{FileOpen}
\alias{FlipBackSlash}
\alias{SetArrow}
\alias{Enquote}
\alias{EnquoteS}
\ali... |
228c7f03a484e42bcdcc1c1b31e0ed56ae39958a | 41bbdd673bef8e9f1fdc724556591f4607b220e6 | /pascal/R/finite.only.R | efe6f1add769bdbeb9d5084997705a984627eca5 | [] | no_license | pascal-niklaus/pascal | bd42a5f00fd06d9b9f8b4e6227419943a817b409 | 88723458c71609a8971925d363671910a4fa421c | refs/heads/master | 2023-06-27T03:37:37.156306 | 2023-06-14T13:35:16 | 2023-06-14T13:35:16 | 27,164,003 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 829 | r | finite.only.R | #' Return finite elements of a list or vector
#'
#' Convenience function that removes non-finite elements (i.e. NA, NaN, Inf, -Inf) from a list or vector
#'
#' Character vectors are first converted to numeric values. Similarly, factors are first converted to
#' their character representation and then to numeric values... |
0ad4ad3bbf4d56b333380c3a8a74d6e9681d5dec | b12259b6d342fab1a65a54648f0830f097b2c5aa | /man/fback.Rd | fc6870fc2c530372a07f173bab17f36eb05634e7 | [] | no_license | cran/mapsRinteractive | 38e7156c3c180aaa0f1c603d329f9b61821de31d | 9a9b7538595fa0cb24eb74dd9df2061cadbbd658 | refs/heads/master | 2023-04-28T09:41:51.252478 | 2023-04-24T06:40:02 | 2023-04-24T06:40:02 | 145,896,378 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 307 | rd | fback.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/feedback.R
\name{fback}
\alias{fback}
\title{fback}
\usage{
fback(t)
}
\arguments{
\item{t}{Character string. Required.}
}
\value{
A Character vector.
}
\description{
Prints feedback and adds it to a vector.
}
\keyword{internal}
|
01bc849a126cae7d851c4f4f181a915a8e41b4b6 | ddc0b2dc15120912e44a5fc25d7f9316937c7c24 | /Decision Tree Regression/Decision Tree Regression.R | e1b6ea347b2d82beda25d6783c5fe81e5915ef8e | [] | no_license | dsilvadeepal/ML-model-implementations | 2c4fd36bc065d26204730b177983e32fcbc44a26 | 35b4f1d830c3dc12c71ce060e75157de29caf045 | refs/heads/master | 2020-03-23T01:28:16.469680 | 2019-10-04T01:21:05 | 2019-10-04T01:21:05 | 140,919,086 | 2 | 0 | null | 2019-10-04T01:21:06 | 2018-07-14T05:38:57 | HTML | UTF-8 | R | false | false | 743 | r | Decision Tree Regression.R |
library(rpart)
cars <- read.csv("cars.csv")
#Create training and test data
train <- cars[1:950, ] # training data
test <- cars[951:963, ] # test data
#Generating the decision tree model
regtree <- rpart(CarSales ~ ., method = "anova", data = train)
summary(regtree)
#Plotting the regression tree
plot(regtree, uni... |
4541d0817dd4fd567fa33769768dafe4a6f286bf | 5b30d84beb11b493c5cdcfab73112bd3de490f5d | /Zomato.R | b84e964738502c6bcdc8ecd0966e97d1a8ae25c9 | [] | no_license | mohit77bansal/zomato_data_extractor | 279bee0be67ab1c3761c8cda03e0608a2225a33b | 0c13318b8cc323a00b76581e32a8477e7b3f9681 | refs/heads/master | 2020-05-20T19:54:18.538094 | 2019-05-09T05:40:38 | 2019-05-09T05:40:38 | 185,733,345 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,112 | r | Zomato.R | #setwd("F:/R/cogxio")
#setwd("F:/R/cogxio/Zomato")
#setwd("E:/cogxio")
#install.packages("rvest")
library(rvest)
source("url_extraction.R")
data <- extract_data(1) #150 is the total page number for which restro url is collected.
write.csv(data,"restro_name_url.csv", row.names=T)
rm(data)
url_data <- read.csv("restro... |
7c601feddfd81e9bf6d12d1901c1e1cd782530d2 | f183fc8e84334298eebf70f6ab458560970fcb5e | /cachematrix.R | 748a317e02c137eac25ecdcc4abc98fe87fc70d9 | [] | no_license | jessegonzalez/ProgrammingAssignment2 | c0ec2f5149ca0c4a5d77ea33fc4e70e445eadbf6 | e1963ffaefbc216bc46b37cf9164024e34270a84 | refs/heads/master | 2020-12-25T23:27:03.699490 | 2015-07-22T01:42:38 | 2015-07-22T01:42:38 | 39,476,555 | 0 | 0 | null | 2015-07-22T00:24:12 | 2015-07-22T00:24:11 | null | UTF-8 | R | false | false | 1,821 | r | cachematrix.R | ## makeCacheMatrix and cacheSolve are used to cache the result of finding the inverse of a matrix
## which can be computationally intensive.
##
## Example Usage:
##
## tmp_matrix <- matrix(c(0,1,3,1,43,2,3,6,9), nrow=3, ncol=3)
## cache_matrix <- makeCacheMatrix(tmp_matrix)
## cacheSolve(cache_matrix)
## cacheSolve(cac... |
f0da278d602649290a050f7459514d7fc58cd505 | 64ccb80369da3130ce79e2cd6aab13758e82a1ab | /scripts/analysis.R | 7ffdc77d728255dab701f8fb43b64e8991f26327 | [] | no_license | tmonfre/qss82-covid-project | 140b9a6f22ca055c1992082dad9fa1ae708c6ea2 | 80b2e42dcc39ff686a540f0d88766d7ebbbec203 | refs/heads/master | 2023-03-21T06:34:43.885323 | 2021-03-17T00:32:04 | 2021-03-17T00:32:04 | 335,418,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 614 | r | analysis.R | load("~/Downloads/mediation RData/mediation-president.RData")
# load("~/Downloads/mediation RData/mediation-senate.RData")
ade_sum <- 0
signif_count <- 0
for (result in rslt) {
if (result[[3]][["z0.p"]] <= 0.05) {
ade_sum <- ade_sum + print(result[[3]][["z0"]])
signif_count <- signif_count + 1
}
}
ade_su... |
d94ba0e1259450733947381e0fb9750e6137d751 | 531ef52b0fe449e3ac5771b9350952019a282cfd | /code/output.R | 8f2ef5f417186695027da12a0f11f5d8385ee20d | [] | no_license | arielfuentes/Places | 2b5f831952a4ef0ca642d05b330dd30cd45646bb | e6a99861099dfcef0c165083a0fa3260e4a3608b | refs/heads/main | 2023-01-20T15:42:44.559775 | 2020-11-25T13:16:31 | 2020-11-25T13:16:31 | 308,146,643 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 537 | r | output.R | library(rmarkdown)
Region <- c("Región de Antofagasta", "Región del Bío-Bío", "Región de La Araucanía")
lapply(X = Region, FUN = function(x) tryCatch(render(input = "code/lugares.Rmd",
output_dir = "output",
output_file = past... |
0365d183227cdfcd0e4afd5612065a59fcd7f863 | 129408919e4fcde9818bef047f6e9b2a74d23c8a | /man/prepare_input_time_series_art.Rd | 612f0dc99a8855dc9adac36fc8b2e09a9b7c6a54 | [
"MIT"
] | permissive | mrc-ide/naomi | 93decfb73624de911f298aadcc0e0d02b8d7d5e5 | 94d34246144e4dfcb86161258faf213a7db03268 | refs/heads/master | 2023-06-14T06:37:36.343882 | 2023-05-05T11:08:33 | 2023-05-05T11:08:33 | 204,965,083 | 7 | 6 | NOASSERTION | 2023-09-12T12:54:48 | 2019-08-28T15:32:00 | R | UTF-8 | R | false | true | 728 | rd | prepare_input_time_series_art.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/input-time-series.R
\name{prepare_input_time_series_art}
\alias{prepare_input_time_series_art}
\title{Prepare data for ART input time series plots}
\usage{
prepare_input_time_series_art(art, shape)
}
\arguments{
\item{art}{Path to file contai... |
5217f29db3b791dd40d28910d6fca4b02a034efd | 53baf0c2392c0293ee6ece9b73c7e65082a95400 | /R_scripts/cibersort_plots.R | dad84f2db9b33065e6c9fc6b671e81ca8d3bd495 | [] | no_license | hancockinformatics/misc_R_scripts | fd215ba0e9eeaa60c4b1afcda1eee29fe55e3bee | 9682236f9b535e198f4dce81af10da434b5c7e29 | refs/heads/master | 2022-01-19T22:37:11.445065 | 2022-01-06T19:14:48 | 2022-01-06T19:14:48 | 169,137,794 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,328 | r | cibersort_plots.R |
# Load required libraries and sample info ---------------------------------
pkgs <- c("matrixStats", "pheatmap", "RColorBrewer", "tidyverse", "cowplot")
lapply(pkgs, library, character.only = T)
samples <- read_csv("samples_20190529.csv") %>%
mutate(Library_name = str_replace_all(Library_name, pattern = "-", repla... |
31a737c4325090cc6c66a57097623a5f31c92847 | 7e36b838cc40a513e8a26cdf08e2d535ca384b4e | /Prediction.R | f4a2ce72ac044be87007f026d619393304a27922 | [] | no_license | ShrutiMainkar1998/Supervised-ML | 44e123a6b9f6f77c40715cca5e76ba962cee9703 | 9540b18bbe7a1fe0ab45776df530dd7b19a5741c | refs/heads/main | 2023-01-06T13:35:55.612936 | 2020-11-06T14:22:31 | 2020-11-06T14:22:31 | 310,600,352 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 969 | r | Prediction.R |
# Reading data from remote link
data <- read.csv(url("http://bit.ly/w-data"))
View(data)
print("Data imported successfully")
#Plotting the distribution of scores
plot(data$Hours, data$Scores, main= "Scores vs Hours",
xlab = "Hours", ylab = "Scores", pch=19)
#Preparing data
set.seed(2)
id <- sample(2,nrow(data),... |
f5d67b2124e0a65369c1edc216a4dc07d733c882 | 86a282f2e03d0d8e64127bfe2aa4be6d968d24b4 | /man/reg.gprior.post.Rd | 4dff449f63f0f46f9ed02610fd944d3888d223ab | [] | no_license | u44027388/LearnBayes | fc57e5689c9619de966f4b9e0210bb3aa078ec8f | f7722076d01768bb845bfe9bed78c365fcf292df | refs/heads/master | 2021-09-14T19:23:22.283849 | 2018-05-17T21:04:10 | 2018-05-17T21:04:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 794 | rd | reg.gprior.post.Rd | \name{reg.gprior.post}
\alias{reg.gprior.post}
\title{Computes the log posterior of a normal regression model with a g prior.}
\description{
Computes the log posterior of (beta, log sigma) for a normal regression
model with a g prior with parameters beta0 and c0.
}
\usage{
reg.gprior.post(theta, dataprior)
}... |
56edd34e9934bcf347aabef400162b87edac9343 | db10b0336f082c09393a39ee5de99e7aaa05014d | /R/documentation.R | 0e8c2e839094f98beba15ff390b7b9c5445d50f7 | [] | no_license | leandroroser/dbR6 | 8709c4977f59ed8c22bbcb63e78db1119c7d19f1 | f722a08ab2930bd4be0bbd50cf5a08b117980fe1 | refs/heads/master | 2021-09-14T21:46:30.801292 | 2018-05-20T08:51:06 | 2018-05-20T08:51:06 | 112,393,261 | 1 | 0 | null | 2018-01-18T15:58:47 | 2017-11-28T21:50:04 | R | UTF-8 | R | false | false | 11,760 | r | documentation.R |
#' dbR6_data class
#' @name dbR6Parent
#' @docType class
#' @importFrom R6 R6Class
#' @importFrom methods setOldClass
#' @importFrom stats na.omit
#' @importFrom utils read.table
#' @return Object of \code{\link{R6Class}}
#' @format \code{\link{R6Class}} object.
#' @field where environment storing data & enclosing en... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.