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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3fd1064ee14eb4ed618a2801ef34741c891a93b9 | 4b9b5ad086aaa3f8a904e4d4a6d780650c2720c4 | /R/estimateSeqDepth.R | fa58e0569ae3b0061984f16ecbf09b1a8d3ec538 | [] | no_license | sunhaifeng123/exomePeak2 | f73cb398c8ae3562218ec9116acc410eadadaada | 791e74286a9dcba947a3e7a832641f0b621f6c3c | refs/heads/master | 2020-05-31T05:13:36.001059 | 2019-06-04T04:27:14 | 2019-06-04T04:27:14 | 190,114,784 | 0 | 0 | null | 2019-06-04T02:27:41 | 2019-06-04T02:27:40 | null | UTF-8 | R | false | false | 3,300 | r | estimateSeqDepth.R | #' @title Estimate the Sequencing Depth Size Factors for Peak Statistics Quantification.
#'
#' @description \code{estimateSeqDepth} estimate sequencing depth size factors for each MeRIP-seq samples.
#' Under default setting, the sequencing depth are estimated by the robust estimator defined in package DESeq2.
#' i.e. t... |
3181af9d5aff255ce365ba9cdc815f528a515e40 | 2fe4c16e0377a99e198ab04d5c378ca247ae4329 | /Rscript/R/mzkit/R/precursor_type.R | 60e84622b6b01474f3c48de6cfef6e48246ff171 | [
"MIT"
] | permissive | xieguigang/mzkit | 1964d28b0fad5f6d44950fdccdd4a70877f75c29 | 6391304b550f7e4b8bb6097a6fb1c0d3b6785ef1 | refs/heads/master | 2023-08-31T06:51:55.354166 | 2023-08-30T08:56:32 | 2023-08-30T08:56:32 | 86,005,665 | 37 | 11 | MIT | 2023-03-14T14:18:44 | 2017-03-23T23:03:07 | Visual Basic .NET | UTF-8 | R | false | false | 3,525 | r | precursor_type.R | #Region "Microsoft.ROpen::9d6946b34200dec0b29bee369766ffa4, R\precursor_type.R"
# Summaries:
# PrecursorType <- function() {...
# adduct.mz <- function(mass, adduct, charge) {...
# adduct.mz.general <- function(mass, adduct, charge) {# Evaluate the formula expression to weightsif (!is.numeric(adducts)... |
5fab472043256899b4ca21ebe64151d52d28bb61 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/detrendeR/examples/detrendeR-package.Rd.R | 703835332ce660abd3039c20202bf133d4351e39 | [] | 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 | detrendeR-package.Rd.R | library(detrendeR)
### Name: detrendeR-package
### Title: detrendeR - A Graphical User Interface to process and visualize
### tree-ring data using R
### Aliases: detrendeR-package detrendeR
### Keywords: package
### ** Examples
detrender()
|
bf62e5fc39c50c68a88a3cd08f83668664bebebb | fc406111d61c870776c2ffc1ce050ea0c59244fb | /R/UKBB_formatting_cancer.r | 1681480c4a6d650f0bc2daf8292daa421abf779f | [
"MIT"
] | permissive | mightyphil2000/UkbCancerMortality | 1628e0df24dfe15a778dcbdc82106ce369f00ea1 | 2aeed302eb530ad11a0d0c95c0957652a660f058 | refs/heads/main | 2023-08-22T01:16:42.217612 | 2021-10-20T13:47:10 | 2021-10-20T13:47:10 | 351,126,217 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 106,658 | r | UKBB_formatting_cancer.r | #' @importFrom magrittr %>%
lung_cancer_function<-function(){
#lung cancer
require(tidyr)
require(dplyr)
allICD10 <- unlist(bd %>% select(starts_with("f.40006.")), use.names=F)
allICD10<-allICD10[!is.na(allICD10)]
allICD10<-allICD10[!duplicated(allICD10)]
# subet for only C codes (D and O codes will be in "oth... |
49a248716bbf713fc078bf432a23a1733c37bf61 | b44b55d4c9326d2808a6bd207ffe6efdf2098e03 | /working-script.R | cb121ec8f0bad56a1c080003d5c435c341a13d5b | [
"MIT"
] | permissive | WL-Biol185-ShinyProjects/General-Election-Project | 574ece93b768929618ecf6f166f481138164b623 | d5f206d95518c54d23afca7b8938557448d9d778 | refs/heads/master | 2020-08-15T13:59:23.059791 | 2019-12-12T18:56:55 | 2019-12-12T18:56:55 | 215,354,244 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,715 | r | working-script.R | # Data Manipulation; Thursday 10-24-2019
#From Matt's Push at 12:34PM:
library(ggplot2)
library(dplyr)
library(leaflet)
# Pull in raw data and name i
# Delete unwanted columns & rename dataset
countyData <- select(countypres_2000_2016, -c(office, version))
# Add columns
countyData[is.na(countyData)] <- "other"
V... |
1fd54aa7c113fe9dc6cc06dcee1c39af7e2fb65f | c023b43276dd1f2092b443394d94453e4dbc1493 | /man/BSSprep.Rd | adf4c425dd0855dfd1b38bb569b8b145866551f1 | [] | no_license | cran/BSSprep | d69f49cbe88e6bd79371783eb6decaa602bef0ce | c280051ff82c7934640d194bbe2b67ae83d3f2cd | refs/heads/master | 2023-03-25T01:48:42.328824 | 2021-03-29T08:32:16 | 2021-03-29T08:32:16 | 352,696,913 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,434 | rd | BSSprep.Rd | \name{BSSprep}
\alias{BSSprep}
\title{
Whitening of Multivariate Data
}
\description{
A function for data whitening.
}
\usage{
BSSprep(X)
}
\arguments{
\item{X}{A numeric matrix. Missing values are not allowed.}
}
\details{
A \eqn{p}-variate \eqn{{\bf Y}}{Y} with \eqn{T} observations is whi... |
2720fdaa3c2b0144d4ffa100aa35db601a92889d | fa795a12f18341e713d9142893f62a0625a9838a | /2-create-set-list-template.R | 45cc7280d93d91fcf1823c9faa25225997318f2c | [] | no_license | loosely-covered/set_list_ty_caton_2018_06 | 3030eb3d6ba8f8cd1105174b6d01ecbcdca182de | 7fec26b2f7c246f792f1f4cfe14e618ed81fdafc | refs/heads/master | 2022-11-08T06:24:04.990359 | 2020-03-02T22:14:30 | 2020-03-02T22:14:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,682 | r | 2-create-set-list-template.R | library(googlesheets)
library(httr)
library(rvest)
library(stringr)
library(tidyverse)
# connect to Google Sheets
(my_sheets <- gs_ls())
# connect to Loosely Covered Set Lists workbook
set_lists <- gs_title("LC Gigs Set Lists")
# connect to gig-specific tab in that workbook
gig_name <- "Master"
set_list <- set_lists ... |
a35764212ad18dcf417402383b0d4debf300f32e | 4fd86d6cbff5c05e5edddd137208755d03bb8f26 | /Analyses/BEST - Derivation Opportunitions Mean RT.r | 203f2c406b94cff0c329eaa9502fcc6a6a4f69c8 | [] | no_license | Sean-Hughes/Relational_Complexity_Derivation | df94a74f7f5b0397bcd7b4a6fa3ce46388d39ab5 | 28538c896db7e3943317508d1ec8c74ea15c7782 | refs/heads/master | 2020-09-15T10:34:41.531672 | 2016-09-30T08:04:45 | 2016-09-30T08:04:45 | 65,979,157 | 2 | 1 | null | 2016-09-29T21:01:53 | 2016-08-18T08:22:34 | R | UTF-8 | R | false | false | 11,554 | r | BEST - Derivation Opportunitions Mean RT.r | ########################################################################
# Automated reporting of Bayesian Estimation Superceeds the T test
# (BEST: Krushke, 2013), a bayesian t test alternative.
# Author: Ian Hussey (ian.hussey@ugent.be)
# see github.com/ianhussey/automatedreporting
# Thanks to John Kruschke for f... |
69e6f656750f4acba8d42a43f52128fa701df43c | 61bf1ab8d9bad7c74f0f73bddb34b787449684a3 | /scripts/functions.R | 695f4baf1782329ef04d6050e346462c0b763bd4 | [] | no_license | mhkhan27/AFG_2020_Surge | cdcd9784c323a2066fd5361e27f5e230249233f1 | 9caa9b974204ee1ea5f6232650679a4b8cb82027 | refs/heads/master | 2022-11-10T19:04:05.431137 | 2020-06-30T06:21:17 | 2020-06-30T06:21:17 | 272,364,231 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 818 | r | functions.R | survey_weight <- function(df,pop,df_strata,sf_strata,sf_pop){
sf_with_weights<- df %>%
group_by(!!sym(df_strata)) %>%
summarise(sample_strata_num=n()) %>%
inner_join(pop, by=c("list_displacement"= "strata"))%>% mutate(
sample_global = sum(sample_strata_num),
pop_global=sum(!!sym(sf_pop)),
... |
9f63ca5879e04d7c23c59675cfa7b015d0209330 | 12030eac89a13f1cb31549addb14eda03593d3b9 | /Donations Under 1k & NonIndividuals.R | 2dc9adb2a0ebf29643ac379012346daa1a98204a | [] | no_license | SethuO/Sethu-Odayappan | b76ff7de40bff860b564affc64677d08416e85ce | f8a727ee53310f2a23f3c989fbde1d81af6e3c98 | refs/heads/master | 2022-04-18T13:26:46.673454 | 2020-04-17T16:39:23 | 2020-04-17T16:39:23 | 256,570,389 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,911 | r | Donations Under 1k & NonIndividuals.R | library(tidyverse)
library(mosaic)
library(ggformula)
library(openintro)
library(clipr)
library(data1135)
Senate_Full_Contribution_Data <- read_excel("Campaign Donations Project/Senate Full Contribution Data.xlsx")
names(Senate_Full_Contribution_Data)
newdata <-filter(Senate_Full_Contribution_Data, Amount<... |
bbc17a6f3cc44205f7d9d994db324ea2acd31e91 | 337b492630de294eba762f728dc2b506af2c43bd | /R/sumSpeciesList.R | adda1df510d11fa8bffc89aed0ac6821f8726e7b | [
"MIT"
] | permissive | KateMMiller/forestMIDN | 316caa5381d257bcdfe401074d9f99b0cb8ea6f9 | 729a6b2bbffd8c6c532a6eb3a874a59eceefe698 | refs/heads/main | 2023-07-26T05:40:31.545355 | 2023-07-14T13:30:21 | 2023-07-14T13:30:21 | 157,909,348 | 0 | 0 | NOASSERTION | 2023-02-09T18:09:32 | 2018-11-16T18:58:18 | HTML | UTF-8 | R | false | false | 8,378 | r | sumSpeciesList.R | #' @include joinLocEvent.R
#' @include joinAdditionalSpecies.R
#' @include joinMicroShrubData.R
#' @include joinQuadSpecies.R
#' @include joinRegenData.R
#' @include joinTreeData.R
#' @include joinTreeVineSpecies.R
#' @include prepTaxa.R
#'
#' @title sumSpeciesList: summarize a species list for each plot visit
#'
#' @i... |
4483e5aa2f63635701438fa9119928b8e3a2d0fb | 93248e00dd1111b8638cf7824ba97625819fe9d5 | /s_outlook_ghg.R | d71250666249b279cf36786ea08db2021140240d | [] | no_license | EBukin/GHGoutlook | 779e1dfa7baa72a0db5cd80ecb26035bac1d8c2e | d4c5a82b262718a6f3d91dc9aa113ff1ca6c70bd | refs/heads/master | 2021-01-24T18:46:41.281043 | 2017-10-02T20:26:43 | 2017-10-02T20:49:57 | 84,472,377 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,593 | r | s_outlook_ghg.R | #' ---
#' title: "Estimating GHG emission based on the OECD-FAO Outlook projections"
#' author: Eduard Bukin
#' date: 14 March 2017
#' output:
#' prettydoc::html_pretty:
#' toc: yes
#' theme: architect
#' ---
#' *****
#' # Process
#'
#' The purpose of this document is to explain the proces of repro... |
dd329e6eb773d07ba352e8b339d278f90da44f92 | 098841409c03478ddae35c4cdf6367cfd65fa3bf | /diff/code/sc_10x_5cl/01_all.R | 95d2bde30ac6f282477488a97f020f3b0de0e471 | [] | no_license | wangdi2016/imputationBenchmark | 0281746b482788c347faf9d96e8288639ba388a6 | 0881121444975cd0a3ee2ce69aaec46c3acd7791 | refs/heads/master | 2023-07-29T10:16:14.004610 | 2021-09-09T20:00:43 | 2021-09-09T20:00:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,558 | r | 01_all.R | library(data.table)
source('/home-4/whou10@jhu.edu/scratch/Wenpin/resource/function.R')
method = commandArgs(trailingOnly = T)[1]
# method='magic'
bulk = readRDS('/home-4/whou10@jhu.edu/scratch/Wenpin/rna_imputation/data/bulkrna/cellbench/GSE86337_processed_count.rds')
g = fread('/home-4/whou10@jhu.edu/scratch/Wenpin/r... |
bfef32a21433a3453bbc4839c4d668242d85806a | 9f269bd0f27e52e915ce43784ae84bd7cb698493 | /R/plotFunctions.R | 99406a415fcdc1eb6121a40e3b3e2f748b2581b5 | [] | no_license | andykrause/hpiR | f229296480dd36e446bc940639d28518ba08938f | faf67c70b82dd51ca5b056b074404312db49de15 | refs/heads/master | 2022-10-05T12:46:31.373709 | 2021-12-20T17:54:36 | 2021-12-20T17:54:36 | 111,461,682 | 16 | 8 | null | 2022-09-27T03:15:35 | 2017-11-20T20:53:53 | R | UTF-8 | R | false | false | 17,216 | r | plotFunctions.R | #'
#' Plot method for `hpiindex` object
#'
#' Specific plotting method for hpiindex objects
#'
#' @param x Object to plot of class `hpiindex``
#' @param show_imputed default = FALSE; highlight the imputed points
#' @param smooth default = FALSE; plot the smoothed index
#' @param ... Additional Arguments
#' @import ggpl... |
5efcdea0dd0d673386e7bf446f54fa5008c6d6d1 | f8ef4b37c45195001a543cd9f498d43d34c5f784 | /man/sdr_list_tables.Rd | 54238c49fcfb74af1970bc410c8b173b4b550984 | [
"MIT"
] | permissive | thomascrines/sdrUpload | cb1a751ec70844e2704e3e2b06b1f9dc23322d93 | 24a4b1034253070e4b6c54e92225b8c07dc20361 | refs/heads/master | 2020-07-11T04:58:58.064063 | 2019-10-21T14:45:32 | 2019-10-21T14:45:32 | 204,450,762 | 1 | 0 | MIT | 2019-10-21T14:43:35 | 2019-08-26T10:18:23 | R | UTF-8 | R | false | true | 595 | rd | sdr_list_tables.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sdr_list_tables.R
\name{sdr_list_tables}
\alias{sdr_list_tables}
\title{List tables in a SQL Server database}
\usage{
sdr_list_tables(database, server)
}
\arguments{
\item{database}{\code{string}. A SQL Server database name.}
\item{server}{\... |
b82c1096dc60106e2779ecf26bb3b58677394f9f | 6c7f767493c3716844b44deee8460000646a463f | /man/track_distribution.Rd | 4ea084c2584a9652da6a00d65c7323c6b57dfca3 | [] | no_license | TylerGrantSmith/heimdallr | 709ff4277c87ca3dc8a5baa945043584a5286db7 | 4656486a93fb2996389961f173bafaeb9231d4e6 | refs/heads/master | 2020-04-06T17:21:53.601814 | 2018-11-21T21:28:32 | 2018-11-21T21:28:32 | 157,656,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 420 | rd | track_distribution.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tracker.R
\name{track_distribution}
\alias{track_distribution}
\title{Title}
\usage{
track_distribution(m, ..., distance_method = "jensen-shannon",
method = "fix", options = list(), focus = m$watch_vars, role = NULL,
initialized = FALSE, ... |
476043a49c65ba6f9e9addb6f2aa4dee0dbf5f99 | 5f7cc5800d5ab0a867ca84a4e5b007622ed4eefd | /Plot4.R | 6c5c5fc3b3efd4067f38cf8445236b8a8a4f89fb | [] | no_license | nmouquet/ExData_Plotting1 | e6ac7e7cf88331c33119790e1057473ac817e2ec | 123e21dfce00f50c3ee954c6c2f93d911bf50ee9 | refs/heads/master | 2020-06-02T18:34:33.258712 | 2017-06-12T17:32:42 | 2017-06-12T17:32:42 | 94,102,510 | 0 | 0 | null | 2017-06-12T14:00:58 | 2017-06-12T14:00:57 | null | UTF-8 | R | false | false | 2,275 | r | Plot4.R | #Exploratory Data Analysis Course 1 : PLOT4
rm(list=ls(all=TRUE))
library(lubridate)
library(parallel)
library(dplyr)
# Create a new column "exact_time" with time/date in POSIXlt
data_hpc <- read.table("household_power_consumption.txt",sep=";",header=TRUE)
data_hpc <- mutate(data_hpc,exact_time=paste(as.character(D... |
fe939a604860955144d8cbf237347bb0d801d825 | 8f789aa5b5e5c0054f8d501dbb00f22a70c7a22a | /man/getOrthologFromMatrix.Rd | 62ab25f156b98b8538fe08822a5b3f67f68d0ba9 | [] | no_license | ddiez/rTRM | 3458ea89798a374736f19df59e8be64ddc480e9b | 8603c339ee67a94958d2be6f8cd8b7c6bb55f7f2 | refs/heads/master | 2021-01-10T20:30:21.929922 | 2015-10-09T03:14:59 | 2015-10-09T03:14:59 | 37,570,884 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 625 | rd | getOrthologFromMatrix.Rd | \name{getOrthologFromMatrix}
\alias{getOrthologFromMatrix}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Obtain gene identifiers for a target organism associated with a list of PWMs.
}
\description{
Obtain gene identifiers for a target organism associated with a list of PWMs.
}
\usage{
getOrtho... |
d873c5ed8171363d66d78abf30ca523a3672bd53 | c24367bb6cf9cc60f07e8a8c8430d6b54c36e53b | /man/az_role_definition.Rd | 2ff88325bd7cd41b5d5055e007a4666f3d132fa8 | [] | no_license | cran/AzureRMR | 794ed550c5a4c90d2b9e60459f62dffc6bbc1375 | 1b3163abef8d3c0374239a1a19cc00fde732c140 | refs/heads/master | 2021-10-24T12:44:42.805161 | 2021-10-23T04:30:02 | 2021-10-23T04:30:02 | 160,071,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,482 | rd | az_role_definition.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/az_role.R
\docType{class}
\name{az_role_definition}
\alias{az_role_definition}
\title{Azure role definition class}
\format{
An R6 object of class \code{az_role_definition}.
}
\description{
Azure role definition class
}
\section{Fi... |
1dd96eefd731380fe58b89931c59bff5ed8d4f02 | fd570307c637f9101ab25a223356ec32dacbff0a | /src-local/specpr/src.specpr/gould/tocent.r | 1248cd4d51facef240e77ae2583c0fd2e8b3e580 | [] | no_license | ns-bak/tetracorder-tutorial | 3ab4dd14950eff0d63429291c648820fb14bb4cb | fd07c008100f6021c293ce3c1f69584cc35de98a | refs/heads/master | 2022-07-30T06:04:07.138507 | 2021-01-03T22:19:09 | 2021-01-03T22:49:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 282 | r | tocent.r | subroutine tocent(down,across,dncm,accm,isyst)
#
# converts coordinates to centimeters
#
integer*4 isyst
include "../common/plot02"
if (isyst<=0) {
isyst=-isyst
dncm=down
accm=across
} else {
dncm=(down-dmin)*dscale
accm=(across-amin)*ascale
}
return
end
|
9b65288c1f1085fc414a6afb5d541683420e0879 | ec9243d22d65142081fc6a79ee60542482e33f03 | /PA1_template.R | 711f62d6175f2704fb31fb1f09420268a7ccb23e | [] | no_license | mrogman/RepData_PeerAssessment1 | d499f8177fb159999e0846054517b51f4a495e37 | bf8ef160ca0d06405da2b858b4aecd2e1dc5264f | refs/heads/master | 2016-09-06T16:56:55.433777 | 2016-02-22T03:51:57 | 2016-02-22T03:51:57 | 40,827,328 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,279 | r | PA1_template.R | library(ggplot2)
## load data
if(!file.exists('activity.csv')) unzip('activity.zip')
monitorData <- read.csv('activity.csv')
## plot and get mean and median of total steps
totalSteps <- tapply(monitorData$steps, monitorData$date, sum, na.rm=TRUE)
plot <- qplot(totalSteps, xlab='Total number of steps per day', binwidt... |
f6e8f73b7c70b8b2becc4afad89cc1a75e0fd8f2 | 05b091c00769c0db9190e1de3dc5d39ccd5d04a5 | /man/txx_text_to_xml.Rd | 038efe3ef1f52e628037e9fb72438091a2a5f516 | [
"MIT"
] | permissive | michael-ccccc/textured | 3feb7ee788eecac70b5aee9272165c0107259f59 | 35631cd95bb780926080f5213c710848f99fc4af | refs/heads/main | 2023-07-15T17:29:52.623753 | 2021-08-27T14:24:41 | 2021-08-27T14:24:41 | 312,844,984 | 0 | 0 | NOASSERTION | 2021-04-13T16:04:41 | 2020-11-14T15:32:10 | R | UTF-8 | R | false | true | 1,612 | rd | txx_text_to_xml.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/txx_text_to_xml.R
\name{txx_text_to_xml}
\alias{txx_text_to_xml}
\title{Transform semi-structured text into an XML structure}
\usage{
txx_text_to_xml(strings, tags)
}
\arguments{
\item{strings}{A vector of character strings containing the sem... |
a87fdcdb539d5687e7faad2cd942638e8838224b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/lgarch/examples/mlgarch.Rd.R | 9ba4d5654ced8c7128d880169a159a4bca12dbcd | [] | 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 | 922 | r | mlgarch.Rd.R | library(lgarch)
### Name: mlgarch
### Title: Estimate a multivariate CCC-log-GARCH(1,1) model
### Aliases: mlgarch
### Keywords: Statistical Models Time Series Financial Econometrics
### ** Examples
##simulate 1000 observations from a 2-dimensional
##ccc-log-garch(1,1) w/default parameter values:
set.seed(123)
y <-... |
2517b685ef1c2b7d5c98f7ea70ae80720cb30239 | c091056e779a3ea6686fbf9200a9e1ba1edef1e9 | /R/vortex.R | 2e5fd714646790cc262311eefbd963b47600d49c | [] | no_license | AnthonyTedde/vortex | 7b2c75575b2fd1c9cbaad933897b75e6c4bf0a84 | 4c4e8e37bcf15aacba6638a2c9f7e420f65c1b8f | refs/heads/master | 2020-07-15T13:57:19.914012 | 2019-09-05T13:16:12 | 2019-09-05T13:16:12 | 205,578,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 64 | r | vortex.R | #' @keywords internal
"_PACKAGE"
#' @importFrom purrr %>%
NULL
|
7594efb9a6c3c5ad8a37dbe4d4b11969185e16b1 | 5e62d24701b872e0ba10efc19aa3a0452e932765 | /man/readsToStartOrEnd.Rd | 79a7e3453c81719720f98ffd2e8dd063e53c835f | [] | no_license | alenzhao/RiboProfiling | 76d8d08868199b0eda562c167acd41919e5b3323 | 94b63319204230e92083e01fd5967cde27fddb1d | refs/heads/master | 2021-01-11T21:36:41.826469 | 2017-01-11T07:49:26 | 2017-01-11T07:49:26 | 78,817,285 | 1 | 0 | null | 2017-01-13T05:09:08 | 2017-01-13T05:09:08 | null | UTF-8 | R | false | true | 969 | rd | readsToStartOrEnd.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/readsToStartOrEnd.R
\name{readsToStartOrEnd}
\alias{readsToStartOrEnd}
\title{Reads in GAlignments converted to either Read Start (5') or End (3') Positions}
\usage{
readsToStartOrEnd(aln, what)
}
\arguments{
\item{aln}{A GAlignments object o... |
da7f90c458342034b66e6228048baa7480541fc9 | 2bd58ca05fce7e7fd7013872e7d15f9ffd3da25f | /ui.R | 7d66a7a066d368b55c14480216f617681385d021 | [] | no_license | Yihuiz/BMI-Calculator | 22e19885e7d3ed67eb5f5417f99eaaeb28624195 | 4e31daa67c5882f028fe2b0ff8a5c52a367acaf8 | refs/heads/master | 2021-01-24T09:04:40.494584 | 2016-10-06T15:40:14 | 2016-10-06T15:40:14 | 69,820,891 | 0 | 0 | null | 2016-10-06T15:44:34 | 2016-10-02T20:41:18 | HTML | UTF-8 | R | false | false | 1,056 | r | ui.R | #
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define UI for application that calculates your Body Mass Ind... |
f4f8caced44dadeb75caf4d1e326d90abdcba040 | eb8c51814e306ea1f8a0c10bc86dc2112e83360c | /analysis/R/extract.date.sub.R | 408d3676d0f2c4b3be6a9d656ea6328abd343051 | [] | no_license | gilmore-lab/moco-psychophysics-child-adult | e1f437cfc18f04160632846b7eceb34c750637e7 | 829e8472d17158e76eea667ea14e5326eb5d70bd | refs/heads/master | 2021-06-07T13:38:33.281338 | 2021-04-09T15:21:45 | 2021-04-09T15:21:45 | 154,509,872 | 0 | 0 | null | 2020-07-01T17:48:08 | 2018-10-24T13:53:16 | HTML | UTF-8 | R | false | false | 246 | r | extract.date.sub.R | extract.date.sub <- function(fn="160402105932.csv"){
fn = basename(fn)
test.date <- substr(fn, 1, 6)
sub.num <- substr(fn, 7, 10)
block <- substr(fn, 11, 11)
speed <- substr(fn, 12, 12)
return(list(test.date, sub.num, block, speed))
} |
75cf8c90285c3b5370673bb0ac6ba30ff0bccd22 | ffb2418b096271c5b29821344e47269d6fe4d192 | /R/method-from-call.r | cbd463b4874a85f514ddcb3c47304d3b13920d12 | [] | no_license | hadley/pryr | ed001475a186a0125136d40fd2ecaace230ae194 | 860500b7ff9951441822bf046b2b8665113f2276 | refs/heads/master | 2023-04-05T06:00:42.153084 | 2023-01-18T13:54:12 | 2023-01-18T13:54:12 | 7,491,765 | 188 | 35 | null | 2023-03-18T16:58:03 | 2013-01-07T23:19:25 | R | UTF-8 | R | false | false | 1,093 | r | method-from-call.r | #' Given a function class, find correspoding S4 method
#'
#' @param call unquoted function call
#' @param env environment in which to look for function definition
#' @export
#' @examples
#' library(stats4)
#'
#' # From example(mle)
#' y <- c(26, 17, 13, 12, 20, 5, 9, 8, 5, 4, 8)
#' nLL <- function(lambda) -sum(dpois(... |
79366ebf9e4d7b42b2f56c884d3ce88b622159fd | 9fc708f1637c232f41d35ee6331985b205194c28 | /funNewsQ_no_reest.R | 5834de0641409111ff6923cb4194cc54707ada35 | [] | no_license | guilbran/EM-transcription | 0c00923abd62ec20958049e0cfe3eca4c57bd113 | 867c9f96192fb550bf51c29a89307864ceb3fcca | refs/heads/master | 2021-03-19T11:26:26.041648 | 2017-10-16T18:10:41 | 2017-10-16T18:10:41 | 106,282,455 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,232 | r | funNewsQ_no_reest.R | library(R.matlab)
library(matlab)
library(readxl)
library(zoo)
P <- readMat("arquivos pra fç EMstep/P.mat")
P <- P$P[,,1]
P$DataFile <- "C:\\Users\\daiane.mattos\\Desktop\\NowCastingOxfordReplicationWeb\\Data\\Data 2010-01-21 Back oil15.xls"
P$BlockFile <- "C:\\Users\\daiane.mattos\\Desktop\\NowCastingOxfordReplication... |
027d7880714ad627137265eef79cc201d5ff06fe | d8cdb87d2ccefc0db15239edba9a15fbb509f51c | /plot2.R | da1b5bdf9d93884f76ea5ead971568386980f375 | [] | no_license | Nalpin/ExData_Plotting1 | d187c4755cefec6d2bf3263b93af8306b3ff96fe | c9ef1ec2fbfca8fb43a7d21a88702f91738b1ef0 | refs/heads/master | 2021-01-18T05:42:45.284154 | 2015-03-08T22:58:05 | 2015-03-08T22:58:05 | 31,752,891 | 0 | 0 | null | 2015-03-06T04:43:18 | 2015-03-06T04:43:16 | null | UTF-8 | R | false | false | 698 | r | plot2.R | require(sqldf)
require(lubridate)
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
fzip <- "household_power_consumption.zip"
file <- "household_power_consumption.txt"
if (!file.exists(fzip)) {
download.file(url, fzip)
unzip(fzip)
}
ds <- read.csv.sql(file,
"sel... |
797a487392dd5fa53830605c32ae514993cec3a5 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /diceR/inst/testfiles/indicator_matrix/libFuzzer_indicator_matrix/indicator_matrix_valgrind_files/1609959746-test.R | ade1c07aedb8292c855e74db77caeb7c17149bd9 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 524 | r | 1609959746-test.R | testlist <- list(x = c(4.44380721892337e+252, 8.0930792450553e+175, 1.75261887579858e+243, 6.22211717938606e-109, 3.62473289151349e+228, 1.62618103126837e-260, 2.11451614301046e-314, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0... |
96220cb58b8460176f11adee35c86abc313da266 | b1a584edd3b74bdff1eed9dda86adb5a214c47e0 | /chap3.R | 49c868874149ac4f4d535e246ed7465a5d03277b | [] | no_license | sakura2014/PisaDataAnalysisManual | 94ad1a8266c742592a2f37993dfb9e373172ef59 | 79e857794780a91b26d28565f97f44fc1f1ce4db | refs/heads/master | 2020-08-03T12:11:43.076228 | 2019-10-14T13:35:15 | 2019-10-14T13:35:15 | 211,748,889 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 308 | r | chap3.R | # table 3.2
x <- seq(160, 178, 2)
w <- rep(10, 10)
# p.50
sd(x)
sqrt(sum(w * (x - weighted.mean(x))^2) / length(x)) # (i)
sqrt(sum(w * (x - weighted.mean(x))^2) / (length(x) - 1)) # (ii)
sqrt(sum(w * (x - weighted.mean(x))^2) / sum(w)) # (iii)
sqrt(sum(w * (x - weighted.mean(x))^2) / (sum(w) - 1)) # (iv)
|
322d21c9d0a1149150f2afe7982d90a1640e2dc5 | 0a88827f7304d4a3e9e8624cd1f15d3f18d9d000 | /R/search_any_match_paged.R | 82baa6353c5c8319bac8e7ff84b4c92a43dbf44d | [
"MIT"
] | permissive | ropensci/ritis | 51b7dd2afb9cedb434f9c024daacab96f7c85da0 | 95f190cd328c80e75aa9619f04db7cd1016f7e9c | refs/heads/master | 2023-05-23T19:49:34.994109 | 2022-09-28T05:31:44 | 2022-09-28T05:31:44 | 2,693,028 | 14 | 3 | null | 2018-05-20T15:34:10 | 2011-11-02T04:52:30 | R | UTF-8 | R | false | false | 1,244 | r | search_any_match_paged.R | #' Search for any matched page
#'
#' @export
#' @inheritParams accepted_names
#' @inheritParams any_match_count
#' @return a data.frame
#' @param pagesize An integer containing the page size (numeric)
#' @param pagenum An integer containing the page number (numeric)
#' @param ascend A boolean containing true for ascend... |
7282e65b3f1a35efbe3b2f0623f02bfb21531d35 | d229a05252283ef814cf87c04cff054022c25293 | /ScrapingScripts/Scraping99Acres.R | f85e15b06b4bda635b811bc13fb2e8ffcfeb0120 | [] | no_license | thecomeonman/HouseLeadsAutomation | 462fbaeb0e1d2abcb56207b3b31b99807283f55a | d0ee03277a579a4be000f29cdf3db1ce45371746 | refs/heads/master | 2020-12-30T13:38:49.681696 | 2018-09-01T07:27:38 | 2018-09-01T07:27:38 | 91,234,533 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,566 | r | Scraping99Acres.R | # rm(list = ls())
library(googlesheets)
library(data.table)
library(dplyr)
library(rjson)
cFileName = 'Automated House Leads 2018'
cResultsSheetName = '99Acres'
cSearchURLPattern = '99acres'
# Getting details from the Google sheet
# Code is same across websites
# ====================================================... |
b046e013f6371a70b6757d989bc945cde6ce4584 | 29598a51ee27ff9713ec3ee0745c3fb266d383e7 | /app/modals.R | db3e381dbf98d0808b6b431ea6492d1f8ee965e0 | [] | no_license | alemenze/magic-firetool | ecc6d9526c7061ccf3905e4cce1522d37848246d | 55c27bffd0218bcd0efe48cb23bd3b59f25042f1 | refs/heads/main | 2023-04-03T12:28:30.153363 | 2021-04-15T12:49:48 | 2021-04-15T12:49:48 | 341,429,589 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,053 | r | modals.R | # Input data
########################################################################################################
observeEvent(input$hitcount_example, {
showModal(modalDialog(
column(12,tags$img(src='feature_count_img.png'), align='center', hr()),
easyClose = TRUE,
footer = modalButton("... |
ed035ca7b3b3e22c291119aced2028bc3caad120 | 74b64ba7ef0800cb858dfa17ca6641514d0de7cc | /MobileInsurancePrediction.R | 4a9a3142d2d9e6813cc9edc58918c871d4ffd530 | [] | no_license | abhi117a/R | 7ad877cd9354129f946ed2f5c42f5355a48f7191 | 9f193c9b7ad4abb9cc669e3849ab91a323d2c54e | refs/heads/master | 2020-04-09T11:14:03.265723 | 2018-01-11T15:20:44 | 2018-01-11T15:20:44 | 68,149,562 | 2 | 2 | null | 2017-12-08T18:39:06 | 2016-09-13T21:36:28 | R | UTF-8 | R | false | false | 8,889 | r | MobileInsurancePrediction.R | setwd("C:/Users/admin/Documents")
mobileInsurance <- read.csv("mobileInsuranceTrain.csv", sep = "\t")
ncol(mobileInsurance)
colnames(mobileInsurance) <- c("X0","X1","X2","X3","X4","X5","X6","X7","X8",
"X9","X10","X11","X12","X13","X14","X15","X16","X17",
"X... |
ecd1ef69ec51749232306602ebccf8bc92ac914e | ca4106f2732e98c5cd7c23f07c1e3086bced8c03 | /man/blomar.Rd | ecd662b0300bac7ab202f197c807f1020b52a2bc | [] | no_license | cran/timsac | e1c8e170e55de5d065bc6b36842d6ed1902c5c68 | 160f1c2693f6c1e19dfd143ce0bf769b0d4f9f4b | refs/heads/master | 2023-07-19T17:52:59.522078 | 2023-07-12T22:50:02 | 2023-07-13T03:38:55 | 17,700,506 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,169 | rd | blomar.Rd | \name{blomar}
\alias{blomar}
\alias{print.blomar}
\title{Bayesian Method of Locally Stationary Multivariate AR Model Fitting}
\description{
Locally fit multivariate autoregressive models to non-stationary time series
by a Bayesian procedure.
}
\usage{
blomar(y, max.order = NULL, span)
}
\arguments{
... |
e6539013e14a308d9e06df9955b8c15711b4909c | 8ee9e15003aa31d0533d708e3faf3235bc2922ee | /AnaliseDeRiscoDeCredito.r | 199d11b1256e466f7abe3bca4cebdc9b08ce6cf4 | [] | no_license | gabrielalvesfortunato/ProjetoAnaliseDeRiscoDeCredito | 53049ac2172fb69e0fe5c23212cef440f54867a5 | 72b06dbfb29e6b5f025b162c985366a31981f590 | refs/heads/master | 2021-03-28T13:04:38.907677 | 2020-03-17T02:57:19 | 2020-03-17T02:57:19 | 247,865,337 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,442 | r | AnaliseDeRiscoDeCredito.r | ####### PROJETO DE ANALISE DE RISCO DE CREDITO #########
# Carregando pacotes
library(ggplot2)
library(readr)
# Obtendo os dados
dadosCredito <- read_csv("credit_dataset.csv")
View(dadosCredito)
str(dadosCredito)
# Convertendo as variaveis para fatores
toFactors <- function(dataframe, variaveis) {
f... |
065fd39818de002ded53609e78b90cccd91d74cd | f2778192f431b0c3dfcd070cd12033c4831ac485 | /InnovaAnalyserSelection.R | 4104bb1cd42730f2d7b006fec8571db56a89bad9 | [] | no_license | MathotM/ValidationCode | 4e7c9b7d50ecb69107ad35a85e6b772e3bcbd55f | d0033ddebd40a8be3ac76f2f18b9c0e1863850b5 | refs/heads/master | 2020-03-20T00:41:57.498111 | 2018-06-14T14:37:52 | 2018-06-14T14:37:52 | 137,053,044 | 0 | 1 | null | 2018-06-14T14:37:53 | 2018-06-12T10:02:38 | R | UTF-8 | R | false | false | 1,634 | r | InnovaAnalyserSelection.R | # # function for selection in Manure Data and selection on time basis
InnovaAnalyserSelectionFct<-function(
PathRawDataInnovaAnalyser=PathRawDataInnovaAnalyser,
InnovaAnalyserCompiledDataName=InnovaAnalyserCompiledDataName, # c("InnovaAnalyserCompiled.csv")
... |
4e45986d54f6f9a5a61d68bdc59615745d69f2e4 | d03e45ed3bbe167143c6919120cb30a7361c1645 | /tests/testthat/test-names.R | 7514ce337714b79ea7cb9ef186c25292d7ed0922 | [
"MIT"
] | permissive | thomasp85/farver | 5a56d7937a295b1b10ef756f4f589e02e8001c1f | 9bc85a6fd839dc6d2d919c772feee40740afe53d | refs/heads/main | 2022-11-13T13:24:58.345474 | 2022-07-06T17:48:32 | 2022-07-06T17:48:32 | 125,286,884 | 106 | 13 | NOASSERTION | 2022-09-20T06:00:02 | 2018-03-14T23:32:11 | R | UTF-8 | R | false | false | 757 | r | test-names.R | names <- c("#404040", "#8FBC8F", "#FFFFE0", "#7AC5CD", "#66CDAA", "#1E90FF",
"#CDC0B0", "#CD0000", "#7A67EE", "#FFFACD")
cols <- decode_colour(names)
cols_named <- cols
rownames(cols_named) <- names
codes_named <- names
names(codes_named) <- names
test_that("names gets transfered", {
expect_equal(names(... |
562b3df2d298a2b248229e0b0650bc4799d6a442 | d53ad1327c7481e52f9cfc4644b836a6754f89a0 | /R/forest_rfe.R | 45533ba27b02d7b3d2866d7443c860b07a95b2a1 | [] | no_license | talegari/forager | 5aa152f65c4596c7d1161694a8aab40225950973 | f3963444886afac85d252d6c0b5455426361a7f3 | refs/heads/master | 2020-03-19T20:40:45.641914 | 2019-03-09T19:25:26 | 2019-03-09T19:25:26 | 136,911,591 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,519 | r | forest_rfe.R | #' @name forest_rfe
#' @title lightweight implementation of RFE using ranger
#' @description For datasets with large number of predictors, this
#' implementation has these modifications to regular recursive feature
#' elimination procedure:
#'
#' \itemize{
#'
#' \item Use oob prediction error as a proxy to mode... |
dffec282eec7993544a6128eeee9f27a2930d7e7 | b57fd22ab01e94b1d5b95b236b79812320da2eca | /R/loglik_R.R | 8b571acc99bfcbe3f9ac32b6c60863c6d6b6075e | [] | no_license | linogaliana/gravity | 3da73fdd69101a1f65199c8ae8cc945316025a6e | a51bfee1d5f5d1eab83b929bb474604581af9e38 | refs/heads/master | 2021-05-23T12:06:01.968282 | 2020-04-13T21:05:26 | 2020-04-13T21:05:26 | 253,277,885 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,109 | r | loglik_R.R | loglik_ZIP_R <- function(params, X, Z, Y,
weights = NULL,
offsetx = NULL,
offsetz = NULL,
link = c("probit","logit")) {
link <- match.arg(link)
if (missing(weights)) weights <- rep(1,nrow(X))
if (missing(offs... |
fd6afbf970b4a2780bb6fdda5870bb8929f93f9d | d6f8b486ca99ed3c4a9bfe52acf11b56ee08774f | /final/log_fold_change_DESeq.R | 69dfff66d4c06e4e81ace85a98ba21019dcdf64e | [] | no_license | je-yang/crispr-deeplearning | 1c4686b8372f42a3dc7b663b5cc6bca16e4b7fc9 | 1d3534478d419acc2019535eaaec24c141ed762c | refs/heads/master | 2020-03-22T22:38:24.738209 | 2018-09-10T18:32:49 | 2018-09-10T18:32:49 | 140,762,561 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,125 | r | log_fold_change_DESeq.R | source("https://bioconductor.org/biocLite.R")
biocLite("DESeq2")
library(DESeq2)
############################
#computing log2 fold changes with DESeq2
file = "/Users/JYang/Desktop/Stanford/20140519_ricintilingFinal_readcounts.csv"
data = read.csv(file, header = TRUE, stringsAsFactors=FALSE, row.names = "name")
#get... |
8944af21bcc9c04e4bdd2bc7de3e47c98d4fc13e | 1934db2e5de7bb67e2b461ab577b8d523a58d384 | /inst/scripts/Cap3.R | d2bb2ea101c8970f2bd91fe6db73638980413b9f | [] | no_license | cran/labstatR | 5cc96f139886925fd3ebcda5a5885462ca6b484e | 3477e6221a091a393f094c0252287e947da330ba | refs/heads/master | 2022-08-27T16:50:32.935156 | 2022-08-08T17:30:06 | 2022-08-08T17:30:06 | 17,696,966 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,115 | r | Cap3.R | #-*- R -*-
##########################################################
### ###
### Script tratti da `Laboratorio di statistica con R' ###
### ###
### Stefano M. Iacus & Guido Masaratto ###
### ... |
689870d851c98a37084eb8bec5650b9bc017e185 | a8d513835f48f0b339a764b94b3f9cde7b8f178a | /model.R | cf9cfe22443a1864a522fcd55727fdbaf71cc678 | [] | no_license | rasyidstat/har | ebd1c76f0320f396aee7cd4d896008243e30babc | b296a94cf5ec9a286f6620074e26a733ed2c1bc4 | refs/heads/master | 2021-07-06T10:29:08.022630 | 2018-09-26T14:39:00 | 2018-09-26T14:39:00 | 149,958,300 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,431 | r | model.R | library(tidymodels)
library(tidyverse)
library(data.table)
library(e1071)
library(glue)
# read data
har <- fread("data/extracted_vals.csv")
har <- har %>%
mutate(V271 = as.factor(V271))
# preprocess (Z normalization)
har_rec <- recipe(V271 ~ ., data = har) %>%
step_center(all_predictors()) %>%
step_scale(all_pr... |
c9ff003ce01cc7d1a009ef6202bd4dad2e5bb832 | 8516967f77aa4437daa77f038444e6929e4dfd35 | /R/triplepara.R | aadabd1fc645a49ba0e2198e168b9ef81052aec7 | [] | no_license | bomeara/phybase | 52a7c5872809f7dff283f4e8c8a0d3693cfe2d85 | 05949f49b2bac58de81113e81d6515c20340142d | refs/heads/master | 2016-08-11T20:09:33.013441 | 2016-02-02T21:29:32 | 2016-02-02T21:29:32 | 50,945,737 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 551 | r | triplepara.R | triplepara<-function(inode,jnode,nodematrix,nspecies)
{
par<-rep(0,4)
height1<-node.height(inode, nodematrix, nspecies)
height2<-node.height(jnode, nodematrix, nspecies)
if(height1 < height2)
{
par[1] <- height2-height1
par[2] <- height1
par[3] <- nodematrix[jnode,5]
par[4] <- nodematrix[inode,... |
342bf7f8b143d8118e6046c35f5db9320ead0d6a | 5f6e952a9855d68d3381e6d65958bb9737660def | /Probability_distribution_practice.R | f1e17e208ebd4ddddfd885fac65bb1cdb5300384 | [] | no_license | bsteuerman832/R_Programs | ebd221a454f2beedfcbeefcf2d95ab6b93a5fdad | 67ba9b160109ac24948445dc5a57d0dfd5913760 | refs/heads/main | 2023-07-08T05:20:32.550276 | 2021-08-10T17:07:12 | 2021-08-10T17:07:12 | 388,488,618 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,565 | r | Probability_distribution_practice.R | library(dplyr)
library(ggplot2)
set.seed(595)
dice <- data.frame(n =
c(2,3,3,4,4,4,5,5,5,5,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,9,9,9,9,10,10,10,11,11,12))
rolls_100 <- dice %>% sample_n(100, replace = TRUE)
barplot(table(rolls_100), main = "Rolling a dice 100 times",
ylab = "Frequency",
xlab =... |
4049b379969e5139120cde6c9e4fa284e8a64ade | 6711d1ffe24e21bb5e9f56826e834323531e904b | /ManuscriptScripts/AOP-Net-Script 8-Topological Sorting.R | 3df421a4bdcc433e6671e7cbf2c102fc69564670 | [] | no_license | npollesch/AOPNet | 1659c7288a5d296f2c2101ca9736d94b34d44dbb | b214a3c2acf5c50458933900b16f409a6aa2e08b | refs/heads/master | 2021-06-21T00:14:50.860745 | 2021-01-08T16:36:12 | 2021-01-08T16:36:12 | 161,541,713 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,212 | r | AOP-Net-Script 8-Topological Sorting.R | #libraries
library(igraph)
library(prodlim)
library(RColorBrewer)
library(autoimage)
#Directories
workingDir<-"C:\\Users\\obrienja\\Documents\\GitHub\\AOPWiki\\R_files_Jason\\"
#load source of functions
source(paste(workingDir,"AOP-Net-Functions.R",sep="")) #imports custom functions
### IMPORTANT: this script rel... |
13af4f5728cc909a4a5c9237d9346e7a12f7063f | 7280a7a89922c54fb582a78cb72a50bef1450945 | /stdVarCompIxJxK.R | a43a974172c3bc1acd126272f1b71163739aa03c | [] | no_license | edwardmurphy/R-scripts | 1f139218e5a7a828551fb5c734fa07812fcfe273 | 6afb6513f3c7e38f1112ededb239510c14dfecd2 | refs/heads/master | 2021-01-13T08:05:38.558126 | 2016-10-24T22:02:39 | 2016-10-24T22:02:39 | 71,745,617 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,308 | r | stdVarCompIxJxK.R | library(lattice)
#############################################################################
##### Script to perform ANOVA and lme modeling (id.) for qual/validation data
##### from DOE using i assays/j levels/k injections
#############################################################################
########... |
0a83aac4e2ced60510e0c42966fd5611dcf6dda7 | 811e464b5e76dd2b4cb489c185671337c6671937 | /02_Getting_and_Cleaning_Data/week3/q1.R | 1ca3219976d38f1e6b46df221b413e95cd8bd096 | [] | no_license | fhyme/Coursera_Data_Science | 7966427d64870cd3a95fdcd2cdc42a9cad7a990d | 37aa27d717a16959a1e3f760ee1748e71305ffa5 | refs/heads/master | 2021-01-01T18:49:27.249860 | 2015-04-12T14:02:51 | 2015-04-12T14:02:51 | 33,064,716 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 110 | r | q1.R | dt<-read.csv("getdata-data-ss06hid.csv")
agricultureLogical<-(dt$ACR==3 & dt$AGS==6)
which(agricultureLogical) |
fc7aa8ef04778b5263aedb14fcb5a2dc44260249 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Introductory_Statistics_by_Douglas_S_Shafer_And_Zhiyi_Zhang/CH9/EX9.2/Ex9_2.R | 6e7353d57c325a0538a4b442ca3800299331cb14 | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 507 | r | Ex9_2.R | #Page 450
n1<-174
n2<-355
x1<-3.51
x2<-3.24
s1<-0.51
s2<-0.52
alpha<-0.01
m<-(((s1**2)/n1)+((s2**2)/n2))
z<-((x1-x2)/sqrt(m))
print(z)
z0<-qnorm(alpha,lower.tail = FALSE)
print(z0)
x=seq(-6,6,length=500)
y=dnorm(x,mean=0,sd=1)
plot(x,y,type="l",lwd=2,col="black")
x=seq(z0,6,length=500)
y=dnorm(x,m... |
56414e09327efa9400a31b38582fcf88cf359a9f | 2a3fcd5b705d1703ba2bdf2a22b65e7ed6090d4e | /cachematrix.R | ceee5809cac7fb565b5960dbc3ef630171d80911 | [] | no_license | SeaRhythms/ProgrammingAssignment2 | 045f65b2617421e067a1a282a08b91126f82839f | ba29fb965e1010ff017dd850bfd28f5d435c6452 | refs/heads/master | 2020-04-06T04:36:38.039536 | 2014-04-26T20:49:43 | 2014-04-26T20:49:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 894 | r | cachematrix.R | ## Fnctions for cacheing results of potentially time-consuming
## matrix computations.
## Create a special "matrix" object that caches its inverse
## Return a list that contains the names of 4 functions
## that operate on that object
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) {
... |
8a93476b6899ea1c6562bc777d76aa72cc4e91e9 | f96eb44b1e125d937564f481f51c420a1c088496 | /_src/plots_nowcasting.R | 8a6dc8f3c33a2e211856d2753975e7d3dd478fba | [] | no_license | andrebida/covid19br.github.io | 51d206fd22eae29dec4fdb150119356eec441158 | 1fbe60c696a621053f0d1ddd1a3fc7c7627fab19 | refs/heads/master | 2022-10-09T15:31:45.680608 | 2020-05-22T17:23:36 | 2020-05-22T17:23:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,029 | r | plots_nowcasting.R | # libraries
library(ggplot2)
library(dplyr)
library(tidyr)
# Parametros de formatacao comum aos plots
source("funcoes.R") # plot.formatos vem junto aqui
# teste local definindo vars
# adm <- "municipio"
# sigla.adm <- "SP"
# dir para os ler os dados
data.dir <- paste0("../dados/", adm, "_", sigla.adm, "/", "tabelas_... |
ecd2e3bcce689eea63f914c71c97cf5fdab58d86 | de340ab665b7e8b673bfae9ec26c570b6d412717 | /man/chromoR-package.Rd | d441a808f8a2c6326fc76d6b585ad26e13210c82 | [] | no_license | cran/chromoR | f23937255b3eb4b9d8e83a0075dc5a0b4bf62944 | 202b4fc1f036eeb299b4ba946d64d585969bbf79 | refs/heads/master | 2021-03-12T20:24:51.312408 | 2014-02-06T00:00:00 | 2014-02-06T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 936 | rd | chromoR-package.Rd | \name{chromoR-package}
\alias{chromoR-package}
\alias{chromoR}
\docType{package}
\title{
Analysis of chromosomal interactions data (Hi-C data)
}
\description{
ChromoR combines wavelet change point with Bayes Factor, for useful correction,
segmentation and comparison of Hi-C contact maps.
It provides a user ... |
4b98f910396d0b9a6cb9415065d00d80543a1a48 | bacba0d49109344c7f303269a9d991be2840297f | /src/burn_glass_validation/openjobs_profile/openjobs_profiling.R | 0ad87b75b986bd6cf62d6b55a3744c628f23e1db | [] | no_license | uva-bi-sdad/stem_edu | 6dbf0d814fec5d5fcf6234f0533ae5db63322307 | 24d56f420d254379a729fb7c73847f19f21e5930 | refs/heads/master | 2020-05-23T09:22:56.901163 | 2019-08-08T19:10:35 | 2019-08-08T19:10:35 | 186,703,989 | 4 | 1 | null | 2019-09-30T19:14:39 | 2019-05-14T21:36:30 | R | UTF-8 | R | false | false | 161 | r | openjobs_profiling.R | #script for open jobs data profiling
library(DataExplorer)
library(data.table)
ojobs <- fread('./data/stem_edu/working/allOpenjobsParsed.csv')
introduce(ojobs)
|
024d5f8806f60d664e500cb12a0e1219d9583516 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fastR/examples/utilities.Rd.R | d7f17c022a6c4ba1f314d3c10863b5d3d45a4d86 | [] | 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 | 261 | r | utilities.Rd.R | library(fastR)
### Name: utilities
### Title: Utilities bills
### Aliases: utilities utilities2
### Keywords: datasets
### ** Examples
data(utilities); data(utilities2)
xyplot(gasbill ~ temp, data=utilities)
xyplot(gasbillpday ~ temp, data=utilities2)
|
56dfd2a7f554e5251079a9ca4c5ccf19cc9d607b | b5f3a9bdc6a63b03bac5cda027efc7457bba2789 | /code/homoscedastic_model_holdout/functions_AR.R | 5a21f8120457c9bb7dff5276b57e453172a2fe7f | [] | no_license | philawhite/Pollution_state_modeling_code | 367ad452a08354b622ba26febe6c7d7a14c43626 | 2cb5242e7f13f97766bfdee68a187358bc1fc076 | refs/heads/master | 2020-04-02T18:55:32.320379 | 2019-03-08T16:19:24 | 2019-03-08T16:19:24 | 154,717,599 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,008 | r | functions_AR.R | ################################################
################ coverage Function ###########
################################################
in_function = function(x,val,alp=0.1){
CI = quantile(x,c(alp/2,1 - alp/2))
1*(val <= CI[2] & val >= CI[1])
}
is.stationary = function(coef,lags){
n_poly = max(lags) ... |
7d7bb4aa0c9fe06e74f1852782c3936408065259 | 2ba98fc0f29719fbb49b1dcf698011a29ed6cb30 | /Daman.R | c804b1b7ccd05ad80e6037d5d3bdc35be6039848 | [] | no_license | cstawitz/uw_tutorial | 7e7de17cd8a9c578ebac9e67318738e0cf9ef8b5 | 2f730483a08e92bb205f99ec31dded8cfaac6aa0 | refs/heads/master | 2023-03-19T02:53:48.624501 | 2023-03-13T18:27:40 | 2023-03-13T18:27:40 | 61,586,127 | 0 | 0 | null | 2017-01-19T00:47:17 | 2016-06-20T23:01:01 | R | UTF-8 | R | false | false | 11 | r | Daman.R | x <- 2 + 2 |
cbf651145a3bae84229a1ba257295dfcd46d3770 | 1cfed2d6b645f5e4f9593473616cde41af48bffe | /01 Data/Load_Data.R | 528fd908fa958a990d9eafcfc0943f9f89474e18 | [] | no_license | ryudkin0/DV_RProject3 | 4341565e67aaf9eec163e6f5086427c533aebaed | 8af763b8a54ed016c363d2b141c803c64af83bac | refs/heads/master | 2016-09-06T09:21:17.143827 | 2015-03-05T02:40:44 | 2015-03-05T02:40:44 | 31,520,240 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 996 | r | Load_Data.R | MBSDF <- data.frame(fromJSON(getURL(URLencode('129.152.144.84:5001/rest/native/?query="select * from MBS order by id"'),httpheader=c(DB='jdbc:oracle:thin:@129.152.144.84:1521:ORCL', USER='C##cs329e_ry2634', PASS='orcl_ry2634', MODE='native_mode', MODEL='model', returnDimensions = 'False', returnFor = 'JSON'), verbose =... |
1c4b5dcba62edd98376a774af77c2d49c2c81dd3 | b8e469c65a43a79f299a628a37444006769fda7f | /explore_data.R | ca961c1a72d21354ca3b524aaf67d4956e251b46 | [] | no_license | sachiwije/AFL_fitzRoy | 05cdea778cf022b9d94aa829062401e1fe6b01f8 | ced051088b943c96f9bead84a6e41283dd72fb1e | refs/heads/main | 2023-04-01T15:01:23.119734 | 2021-03-25T09:39:31 | 2021-03-25T09:39:31 | 351,365,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,751 | r | explore_data.R |
## Challenge to scrape AFLW stats from web and do data viz
## 26 March 2021
## Burnet Coding and Software Club 2021
#setwd("/Users/sachintha/projects/AFL_fitzRoy/")
#install.packages("fitzRoy")
# https://jimmyday12.github.io/fitzRoy/articles/womens-stats.html
#---------------
library(fitzRoy)
library(tidyverse)
#--... |
b3633822b2351d26107a7d51f516b7e39fa9e5d8 | ce68a85c4a6c5d474a6a574c612df3a8eb6685f7 | /book/packt/R.Object-oriented.Programming/6682OS_03_Codes/chapter3/chapter_3_ex4.R | f6ae06bc3e6aa550fe2d2999529f4a3575249835 | [] | no_license | xenron/sandbox-da-r | c325b63114a1bf17d8849f076bfba22b6bdb34a3 | c217fdddc26ed523b3860e2000afc699afac55a2 | refs/heads/master | 2020-04-06T06:58:17.049181 | 2016-08-24T06:16:32 | 2016-08-24T06:16:32 | 60,466,314 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 63 | r | chapter_3_ex4.R | getwd()
d <- getwd()
d
setwd('/tmp/examples/csv')
getwd()
|
65b9a043ca045eb5c0ba545a64c5f7c440bce264 | 5b44b2990fa14d92e35ac6f53cf0a3e323433e58 | /R/Ontario_PC_MappeR.R | e0b7167fe1169375f2e3c7bd74a63c77febe2fe7 | [] | no_license | benyamindsmith/PostalCodeLocaleMappeR | fe9254a5beabe664d2a3f701d1ddf588100d0815 | 84148fb7fa7de4c5c2bd746fc56c570a255ce56a | refs/heads/master | 2020-11-26T16:10:32.854514 | 2019-12-25T18:18:44 | 2019-12-25T18:18:44 | 229,134,905 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 842 | r | Ontario_PC_MappeR.R |
Ontario_PC_MappeR<-function(addresses){
require(readr)
require(stringr)
##First lets attach the Ontario Postal Codes Data set##
Ontario_ds<-read.csv(url("https://raw.githubusercontent.com/benyamindsmith/PostalCodeLocaleMappeR/master/Ontario%20Postal%20Code%20Dataset.csv?token=ALCCTHSDAGXRODXBPOQHSRC6AJDAS")... |
ebc99489f020f093f9e10ea5e607b22c18de1e9f | ea1adeeeb764355ecbc55f08545952e1ac614d66 | /day12-prof.R | 5fc7a4b16888855abe8c97617fdf753475309e11 | [] | no_license | nalsalam/AdventOfCode2019 | 4f48b8db2e8a70a82adc6d70974b42acc94f54a9 | 9390714cb3ed27052fb76f110b872c89f4907f44 | refs/heads/master | 2020-11-24T07:19:20.774225 | 2019-12-23T20:47:21 | 2019-12-23T20:47:21 | 228,026,421 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,243 | r | day12-prof.R | library(tidyverse)
# library(profvis)
position <- c(-1, 2, 4, 3)
velocity <- rep(0, 4)
gravity <- function(position, velocity) {
rowSums(sign(-outer(position, position, FUN = "-")))
}
gravity_fast <- function(position, velocity) {
.rowSums(sign(-outer(position, position, FUN = "-")), 4, 4, na.rm = FALSE)
}
oute... |
b0ef6c3e8571841410dbe0339d34020040c18f12 | 83fec32b0e9f9f113f105271adb8d49e062d9909 | /geologyGeometry/tutorials/c/oriMCMCInference.R | ddb379bc2976897a00f54ee4d2643f9e2f7e78ba | [
"Apache-2.0"
] | permissive | nicolasmroberts/InternalStructureMtEdgar_PR2021 | e0982fa25ad8247573649ff780381742ce461163 | 01ebb627aedb2b8f7dab6ce8f3bc53b545c6df4d | refs/heads/master | 2023-03-17T14:18:24.883512 | 2021-03-16T19:59:57 | 2021-03-16T19:59:57 | 348,474,436 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,015 | r | oriMCMCInference.R |
# Copyright 2016 Joshua R. Davis
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... |
7fc4a1a215f5562575eb5783e52fecef8602f10d | 63d97198709f3368d1c6d36739442efa699fe61d | /advanced algorithm/round3/k-server-analysis-master/data/tests/case222.rd | 5e8f8e9d51bd1665460c50bd067765172605df65 | [] | no_license | tawlas/master_2_school_projects | f6138d5ade91e924454b93dd8f4902ca5db6fd3c | 03ce4847155432053d7883f3b5c2debe9fbe1f5f | refs/heads/master | 2023-04-16T15:25:09.640859 | 2021-04-21T03:11:04 | 2021-04-21T03:11:04 | 360,009,035 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 64,187 | rd | case222.rd | 36
1 [33, 3, 18] 14 14 14 18 18
2 [33, 3, 19] 1 2 16 2 20
3 [33, 3, 18] 1 2 18 2 22
4 [33, 3, 19] 1 2 20 2 24
5 [33, 3, 18] 1 2 22 2 26
6 [33, 3, 19] 1 2 24 2 28
7 [33, 3, 18] 1 2 26 2 30
8 [33, 3, 19] 1 2 28 2 32
9 [33, 3, 18] 1 2 30 2 34
10 [33, 3, 19] 1 2 32 2 36
11 [33, 3, 18] 1 2 34 2 38
12 [33, 3, 19] 1 2 36 2 40... |
3816117f0c4b93577849eab47cc52e0073efa346 | 6f83ecfc6399fb31f10f74e8bf819f1e7042e80e | /R/01.3-checks.R | c7162815fae2f8bc53a55f1b38fe9e6c567bb4d3 | [
"MIT"
] | permissive | jessesadler/debvctrs | d510edfd21d968d5df7ba237c7503552154cec8a | d3a04b446c5f20b34a5044b5b52530d4adcb2d23 | refs/heads/main | 2022-05-04T02:22:29.272112 | 2020-06-29T19:38:15 | 2020-06-29T19:38:15 | 207,156,132 | 27 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,865 | r | 01.3-checks.R | ## Checks ##
# lsd checks --------------------------------------------------------------
#' Checks for deb_lsd functions
#'
#' @description
#' Checks made:
#' - That `l`, `s`, and `d` are numeric
#' - That they are the same length, length 1, or all length 0
#' @keywords internal
lsd_check <- function(l, s, d) {
# ... |
0a231e05573ba253e2a02f1c2d7c4fdc91422217 | 85f0d52239c8ca6e8ec46a1ad6a3d6055c3f8f52 | /R/utils.R | 525410da84ccfa6ffb654b2ab947aca4772ba736 | [
"LicenseRef-scancode-public-domain"
] | permissive | halpo/pivot | 053daa31119d753955dcaef5551361787c7102e4 | 2dd0f1bfbfbbd6eed0b9e53cc035e11bf4b6ef15 | refs/heads/master | 2020-03-10T14:08:25.490882 | 2019-08-23T19:11:18 | 2019-08-23T19:11:18 | 129,418,480 | 10 | 2 | null | 2019-04-24T21:04:18 | 2018-04-13T15:08:47 | R | UTF-8 | R | false | false | 1,556 | r | utils.R | find_connection <- function(x)UseMethod('find_connection')
find_connection.op <- function(x){
assert_that(inherits(x, 'op'))
op <- x
x <- op$x
while (!is.null(x)) {
if (inherits(x, 'tbl_lazy')) {
return(x$src$con)
} else
if (inherits(x, 'op')) {
x <- x$x
... |
194d3d58819d591b231cbfa97ce4ee5a45091156 | a3501805f3b884d8d6bbd22d1bc47fa4358180fb | /Exploratory_Data_Analysis/Course_Project_1/plot2.R | 6671274b826e88afca0b372cd5c758f0517209f5 | [] | no_license | hhstkh/datasciencecoursera | d183a49bef089a784ae59ddfdd6ff9b143a0ca4f | a23a517c9cdf49adf889796db64d998dd7fd3087 | refs/heads/master | 2020-05-18T02:55:08.457333 | 2015-09-27T19:20:15 | 2015-09-27T19:20:15 | 26,918,620 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 716 | r | plot2.R | require(sqldf)
require(lubridate)
## The file exists in current directory
file <- c("household_power_consumption.txt")
## Read data from the dates 2007-02-01 and 2007-02-02
data_subset <- read.csv.sql(file, header = T, sep=";", sql = "select * from file where (Date == '1/2/2007' OR Date == '2/2/2007')" )
## Add new col... |
7af211718345e7d9c3ee216dcecd316dadec4f76 | 33dab35365d69701913f9f86ca7be6a2fca96d50 | /R/leaflet_tiles.R | d29a2ff72d3448ac918559e6af867506b3b2e5a3 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | r-stata/rstatatools | 98a92fd128211b75ba11d66c2ebfb69cf346a1ca | 3a1ce18107533eea58fa98c65ba443d8f0ec6c5e | refs/heads/main | 2023-02-03T09:43:22.568582 | 2020-12-16T13:48:37 | 2020-12-16T13:48:37 | 321,953,931 | 1 | 4 | null | null | null | null | UTF-8 | R | false | false | 6,896 | r | leaflet_tiles.R | #' @title Load Tiandi Map to leaflet
#'
#' @description Simple function like addTiles()
#' @import leaflet
#'
#' @param map A leaflet object.
#' @param type A character value to set type of Tiandi map tiles. Options are "normal", "satellite", "terrain".
#' @param ... Other paramter pass to the addTiles. function
#'
#' ... |
bc921f937544adf73eb31ae31a7af3b16fb3e11b | 01507ea904d24afb4f8773e1dc20385309b19fde | /R/stream.R | aebc0c3a7361e2e65408ab49bea2447d745fcbe7 | [] | no_license | Exilehope/fasster | 61c5ef4d859983e76ecf66544139e66f841b2610 | ec1ce55f8780516c3e69858befcfe2b223a62c25 | refs/heads/master | 2020-03-26T22:33:26.010101 | 2018-08-16T02:34:32 | 2018-08-16T02:34:32 | 145,468,667 | 1 | 0 | null | 2018-08-20T20:44:15 | 2018-08-20T20:44:15 | null | UTF-8 | R | false | false | 1,666 | r | stream.R | #' @export
stream.FASSTER <- function(object, data, ...){
# Define specials
specials <- child_env(caller_env())
specials <- new_specials_env(
!!!fasster_specials,
.env = specials,
.bury = FALSE,
.vals = list(
.data = data,
.specials = specials
)
)
# Extend model
X <- parse_m... |
4e79d2b6620731f87e38c88b0e456f79035ea97a | d453aa8c92d024fe938adec79fd777af5324eebd | /Rscripts/gene_body_coverage.R | aa9dc6b1f53eae3385a4ce9f4c6c34999dfe058b | [
"MIT"
] | permissive | felixgrunberger/microbepore | f9f276927c243cad3fd459e073928dfdb1bff2d5 | 3ff6657d58ea86e56949db7dd6e93ebdc791e1b3 | refs/heads/master | 2023-05-28T09:49:08.013451 | 2021-06-14T12:24:57 | 2021-06-14T12:24:57 | 365,993,950 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,961 | r | gene_body_coverage.R | # >> gene body coverage << #
# load libraries ----
library(here)
source(here("Rscripts/load_libraries.R"))
# functions & defs ----
filter_bed_files <- function(input_file){
strand_f <- str_split_fixed(str_split_fixed(string = input_file, pattern = "\\.coverage", n = 2)[,1], "\\.", 2)[,2]
suppressMessages(vr... |
65c3dc368a991ab594ef5c81ac314a8e75e38464 | 70412a43e78946f75c14a05d79e23a08636ba625 | /Specializations/perceptual_decision_making/resources/ObsModel_L2.R | 5e1b83acdd101331a9664554c6e3a278a8362711 | [] | no_license | danieljwilson/CMMC-2018 | 94de25ec725b331477d6d38349de3db540d51354 | 8450f092c81f25a056e0de607f05cd79421271e8 | refs/heads/master | 2020-03-22T19:45:07.769122 | 2018-08-04T16:57:08 | 2018-08-04T16:57:08 | 140,547,285 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,870 | r | ObsModel_L2.R | ## Observer model - skeleton code with a suggested structure
library(stats)
library(plyr)
library(Hmisc)
rm(list=ls())
setwd()
# PC_MAFC computes the predicted proportion correct for a single signal level.
PC_MAFC<-function(mu_signal,mu_noise=0,sigma=1){
# Define the function to be integrated
MAFC... |
7a4f4f054268bbff26976136396574facb9fc565 | e12f2926d8521776c8a906f5b1c800c51d57de9c | /Project1Code.R | e1c25386ec444004c2c81f769b9a630d669210fa | [] | no_license | bryanluna/RepData_PeerAssessment1 | 3a8aa710dba5d9e968d392f3f75dbf78fd2ec436 | c9f5ca232ee7ffb841dd1fd614b02553eb559389 | refs/heads/master | 2021-01-23T01:46:13.827666 | 2017-05-31T01:25:47 | 2017-05-31T01:25:47 | 92,877,257 | 0 | 0 | null | 2017-05-30T21:21:38 | 2017-05-30T21:21:37 | null | UTF-8 | R | false | false | 4,131 | r | Project1Code.R | #Read in the CSV data, assuming the file is already downloaded and unzipped in the wd
data <- read.csv("activity.csv")
#Transform data for analysis
##Convert dates to date format
data$date <- as.POSIXct(data$date, format="%Y-%m-%d")
##Add day of week to data
data <- data.frame(date=data$date,
... |
76e179a6a00582854e7dd7fe07b5dd271efd38c8 | 12ae74bd0ba9d5494d7301b521b45d1bfa5ff84a | /man/equal_length.Rd | 82a59960d1bf09f59e26b6a1cce10a65924c0fbd | [] | no_license | cran/do | 62b609a0f0cc0f0c0cc879adb821b1d9d95b6632 | fa0d7c8f9799326ffa6f0763f490c2873597131b | refs/heads/master | 2021-08-15T11:59:00.793187 | 2021-08-03T10:40:02 | 2021-08-03T10:40:02 | 206,034,685 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 727 | rd | equal_length.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/equal_length.R
\name{equal_length}
\alias{equal_length}
\title{Equal Length}
\usage{
equal_length(x, suffix = " ", nchar, colname = FALSE, rowname = FALSE)
}
\arguments{
\item{x}{can be number, strings, verctors, dataframe or matrix.}
\item{... |
225d61bace05b9f86a4b811016ad121fc30fecfa | 9cd088408e0d37dfd0d8df7ad3a793d48aefc7e5 | /inst/check.R | b7b49babf73e35e704111ec151874cd5ed064ce6 | [] | no_license | mdbrown/TreatmentSelection | 2efad91fae21c091c2b8361a3deb8f9667c1121d | 3cc9f213edd10e09f2801ea30b73bff66a4655ff | refs/heads/master | 2021-04-22T12:08:34.659741 | 2017-08-16T23:13:00 | 2017-08-16T23:13:00 | 12,115,030 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,486 | r | check.R |
SIM.data.singleMarker <-
function(nn,
mu = 0,
Sigma = 1,
beta = log(3),
beta2 = log(.5),
beta3 = log(2),
lam0 = .1,
cens.lam = 0,
time.max = 5)
{
Y <- rnorm(nn, mu, Sigma)
trt <- rbinom(nn, size = 1, prob = ... |
b67c105bd0977ae67c8bceea96cfd157b06f2778 | c7efbf534a3a3ebb3f58bc60fd9875f1ae73a6a5 | /02b_terraclim_map.R | 073d14a3bb6931a9a9d4db33e689da1231b07e2a | [] | no_license | CaitLittlef/fia-regen | ed20fecc4ec3c4110ed7552e7b2e8b1e2c52a805 | f7c17cdc6481b4f17021c1c747c5ea83dff1404a | refs/heads/master | 2021-06-22T09:20:33.476516 | 2020-12-18T14:01:32 | 2020-12-18T14:01:32 | 165,902,272 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,142 | r | 02b_terraclim_map.R | ## Map climatic conditions in study area
## set directory for terraclimate
tc.dir <- "C:/Users/clittlef/Google Drive/2RMRS/fia-regen/data/terraclimate/"
## Load TerraClime datasets
def <- raster(paste0(tc.dir,"def.1981.2010.tif")) %>% crop(IntWsts) %>% mask(IntWsts) %>% plot()
tmax <- raster(paste0(tc.dir, "tmax.1981.... |
ac4573c070faf4a1bcf40f3bceed3e94870c9456 | 9cf8c603d52ed07b978d7b4dc65adac2fb898a25 | /man/speed2run.Rd | aadc4dfa649ed03052c958b6b5a63e8455b36989 | [] | no_license | molsysbio/speed2 | 876f95868ba90de24f5d3b3f9c9660ebaaa9f481 | e28311ee3033e57590b6a0089219090186983a6d | refs/heads/master | 2021-04-16T09:25:04.612340 | 2020-04-26T05:44:36 | 2020-04-26T05:44:36 | 249,345,480 | 6 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,489 | rd | speed2run.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/speed2.R
\name{speed2run}
\alias{speed2run}
\title{Test pathway gene signature enrichment using SPEED2}
\usage{
speed2run(genes, background_genes = c(), shuffle = F, custom_signatures = NULL)
}
\arguments{
\item{genes}{list of genes in Entrez... |
522a87e37308903778ff8570e60ba3fb379cc9ca | 536c0ec981961c33343d13eb339963f6c0274be9 | /run_analysis.R | 228ccb02b621dcd92b0ecd998197aa0a79b9ce0b | [] | no_license | alanc1988/getting_and_cleaning_data | d814bc5bd1f5b6ac5966c6f322b69b15a81c277c | ca54ee6fd4e6fe4283ca465a160f7ba0d87e8700 | refs/heads/master | 2021-01-23T11:34:49.424346 | 2014-07-27T20:07:16 | 2014-07-27T20:07:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,730 | r | run_analysis.R | ####################################################################################################################
## PROJECT TASK
####################################################################################################################
# You should create one R script called run_analysis.R that does the ... |
bd709d5f234f1da415088d0e6c115b2aa5094b9e | c1a2389bad4647a37b28a34a46266cf4b3a970c4 | /src/pws_areas.R | 2c922da4c66c4c46c460ad9bd2fcbf216d3808ef | [] | no_license | ucd-cwee/water-geo | 2e5798e6e70cd3d86df71fe6b30a6f42b889ceb4 | 8d0bf9c8a0d4636382a5ba87496fc3b1e13e4fd8 | refs/heads/master | 2021-04-09T10:51:13.602707 | 2018-09-24T22:28:24 | 2018-09-24T22:28:24 | 125,431,520 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 633 | r | pws_areas.R |
library(tidyverse)
library(httr)
library(sf)
library(units)
# download data ----------------------------------------------------------------
# California Water Service Areas
source("src/get_data/cal_water_service_areas.R")
cal_water_sa <- st_read("data/water_service_areas/service_areas_valid.shp")
# Calculate areas... |
8abfe2b1588983efdbd9fbdc1f710e53cd39bbee | 530d2ac1c29a5b939e889efaa5ff1ce88f21e5a3 | /dplyr_practice.R | b105244136b7945751cd9e6d42e3e308547a7bc6 | [] | no_license | uw-ischool-info-201a-2019-autumn/bxie-lab-04 | fc2c8bb1590ab6ff1f8d1e0fe0f2fda690d3bc7a | 21337424f54ec38ed6e5058906af08c712b0d693 | refs/heads/master | 2020-08-23T13:02:53.578757 | 2019-10-21T22:06:14 | 2019-10-21T22:06:14 | 216,622,418 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,510 | r | dplyr_practice.R | # dplyr practice with "Seatbelts" data
# objective: Get practice with common dplyr functions
# and familiarize with dplyr workflow
################################################
# STEP 1: install and load dplyr
################################################
# install package only if don't have
if(!require(dplyr... |
02043948433bb01ad7859005d56f827a13c6dd39 | 1325a43cd89cb9c35b8bda36dff84698bccb1808 | /plot4.R | e03f760e482e9f61b056abaa6ce36fb3dcccab02 | [] | no_license | MicheleVNG/exploratory-data-analysis-final | 4bcc97eb9225bfa0b1fd3b9b405da96fec49bcc0 | 769f610218548abf28e0640a61bcbd1454c3c510 | refs/heads/master | 2021-01-11T14:31:01.159812 | 2017-02-11T11:50:20 | 2017-02-11T11:50:20 | 80,150,078 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 797 | r | plot4.R | # Read the data
NEI <- readRDS("data/summarySCC_PM25.rds")
SCC <- readRDS("data/Source_Classification_Code.rds")
# Plot 4
# Across the United States, how have emissions from coal combustion-related
# sources changed from 1999–2008?
library(dplyr)
library(ggplot2)
SCC <- SCC[, c("SCC", "Short.Name")]
graphData <- NEI... |
6df8e751ed2fa7a57e83c6a51a0951f615599e0b | 9892013459fd70fa37a79bbcaca7f8669e5209c4 | /Input/checkload_input.R | a12d9305ab8266c76145e7b3c392386658b48d49 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | cybeco/cybersecandcyberinsurance | 5b24cd89f3966ffa2c333188a93c5f652ac7a408 | fa91a0aa4c45160c64e2595e2e8c8f5f389eb3d9 | refs/heads/master | 2022-11-20T21:20:14.248877 | 2020-07-09T08:00:18 | 2020-07-09T08:00:18 | 277,143,135 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,860 | r | checkload_input.R | #! Rscript checkload_input.R --
#### THE SCRIPT CHECKS AND LOADS THE INPUT ----
# For each of the input parameters provided by the Toolbox,
# the script does the following:
# 1 - Check whether the input values have valid values.
# 2 - Load this input as variables in the R environment.
# This is done with the "checkloa... |
8f2b1882d57b1c485461c1a8602692b665ae6553 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.compute/man/imagebuilder_create_infrastructure_configuration.Rd | 7098ebcf64b4c2621d9ba4e8b737416b3af986eb | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 2,895 | rd | imagebuilder_create_infrastructure_configuration.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/imagebuilder_operations.R
\name{imagebuilder_create_infrastructure_configuration}
\alias{imagebuilder_create_infrastructure_configuration}
\title{Creates a new infrastructure configuration}
\usage{
imagebuilder_create_infrastructure_configura... |
59dafc113a32779dad74f3e509353538e51ccbb2 | a1c8a2a809e397237b184eac8972d36753156165 | /1Voloskov124_Zad1.R | f9964f3ec54ec335985e0a266f83fd675b2be452 | [] | no_license | VoloskovAlex/MathMod | c2c8333821c75a6d5965a47057d086681a89019e | 3291a37e1a77a90ae0da9c95a3610aef6fba779a | refs/heads/master | 2023-04-10T19:29:07.371391 | 2021-04-22T10:45:47 | 2021-04-22T10:45:47 | 355,607,492 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,298 | r | 1Voloskov124_Zad1.R | #ЗАДАНИЕ 1: для региона 79 - Еврейская АО рассчитайте урожайность пшеницы в 2013 году,
#взяв для рассчета средние суммы активных температур за текущий год,
#с 14 ближайших метеостанций но убирая из рассчета активных температур дни с температурой выше 30 градусов
# Столица Биробиджан latitude = 48.7928, longitude = 13... |
04f3bd4e5e4b3154c6fd73da652d9be9afec5da5 | 326e472f315f247c0258a683456980fe2fda56bd | /Slogans/slogans.R | 4c6185113a39b24eeb56234c053b6682cd58fc7b | [] | no_license | kms6bn/kms6bn.github.io | 425d5741c8fe11e3086d40bb5e22f78c248ede54 | b73bd85a1e92d0036f3248591d72edc12dbc58ce | refs/heads/master | 2021-11-26T01:52:02.501443 | 2020-03-11T21:10:55 | 2020-03-11T21:10:55 | 58,340,725 | 0 | 0 | null | 2018-03-31T18:40:48 | 2016-05-09T01:43:20 | HTML | UTF-8 | R | false | false | 4,288 | r | slogans.R | library(tm)
library(topicmodels)
setwd("~/Documents/MSDS/dataViz/Slogans")
slogans = read.csv("SlogansClean.csv", header=TRUE)
#write.csv(slogans, file = "SlogansClean.csv", row.names = FALSE)
#get lemma
adorn <- function(text) {
require(httr)
require(XML)
url <- "http://devadorner.northwestern.edu/maserver/pa... |
e2d5fe5217e92f2b44fd82ec5a41e13fd4cafab8 | b2a5ba2ef17b82043ffb0e92556b83ad7520a79f | /twitter_analysis.R | aa18bc55bc5f1584fdbcf44fd451a396f06c1e7f | [] | no_license | amrrs/TwitterAnalysis-in-R | d6456b471de679e5e72ae506f70a541c1ca33760 | c1bfc2933592839ea8f20b6675556b3040016983 | refs/heads/master | 2021-01-10T13:44:05.451506 | 2015-10-31T16:48:34 | 2015-10-31T16:48:34 | 45,309,688 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,722 | r | twitter_analysis.R | library(twitteR)
library(lubridate)
library(ggplot2)
library(tm)
library(wordcloud)
consumerKey='x'
consumerSecret='x'
accesstoken ='x'
tokensecret = 'x'
#establishing connection with Twitter api
setup_twitter_oauth(consumerKey,
consumerSecret,
accesstoken,
... |
4903f058d46792dc998669c9ce06b638e6505eed | ec277669a23616385befd5333bd546bdca31d618 | /server.R | 642ab93b0ac35910e84edaac28d2158d21951003 | [] | no_license | svobodnik86/Developping-Data-Products | ada455341edbbd89917c5be56c26ad9a288aff55 | 33cddcb5038caadaca7b5727a88a7c1d4be02f02 | refs/heads/master | 2020-12-25T11:06:10.734987 | 2016-07-21T11:46:26 | 2016-07-21T11:46:26 | 63,859,838 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,284 | r | server.R | library(shiny)
# preprocessing of data
data("presidents")
presidentNames <-c("Harry S. Truman","Harry S. Truman","Harry S. Truman","Harry S. Truman","Harry S. Truman","Harry S. Truman","Harry S. Truman","Harry S. Truman","Dwight D. Eisenhower","Dwight D. Eisenhower","Dwight D. Eisenhower","Dwight D. Eisenhower","Dwigh... |
ca40a22f4975bbd966cd6051ed15d6a737c8fb57 | ab00bc7e17121d2dcf3741dc9f650a4e76ed4a44 | /R/tbl.R | f1412a44e611dca9bd702102766ec32ab2021f4a | [
"MIT"
] | permissive | tidyverse/dplyr | 9b7fdc07e6a70bc8e802094e2e2a127af22bcc02 | cf8031d00f406c6dc5d483d7e9e34639df797b81 | refs/heads/main | 2023-09-01T03:52:50.608019 | 2023-08-25T13:42:29 | 2023-08-25T13:42:29 | 6,427,813 | 3,290 | 1,982 | NOASSERTION | 2023-09-09T20:14:25 | 2012-10-28T13:39:17 | R | UTF-8 | R | false | false | 2,198 | r | tbl.R | #' Create a table from a data source
#'
#' This is a generic method that dispatches based on the first argument.
#'
#' @param src A data source
#' @param ... Other arguments passed on to the individual methods
#' @export
tbl <- function(src, ...) {
UseMethod("tbl")
}
#' Create a "tbl" object
#'
#' `tbl()` is the sta... |
55fa9bdba1c1004656b0756a04bdbec063936995 | ee70f1012f4e76828c71d8484b3ef38983f25ad7 | /R-scripts/SF9_lumpy investment.R | 99d6e17705e969c1f1a2d2a92278b2060a89036e | [
"MIT"
] | permissive | fhaegner/Mak-h-ro | 688639c5d132a5c654cda90f12213ee3ee37bf6e | bc4bc292adc52a4842b83a90763021438b08d014 | refs/heads/main | 2023-04-16T23:45:17.085664 | 2022-08-25T18:53:45 | 2022-08-25T18:53:45 | 484,345,505 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,512 | r | SF9_lumpy investment.R | #call rm() function to remove all objects
rm(list = ls())
#set working directory
setwd("C:/Users/...")
#get packages
library(tidyverse) #contains ggplot2, dplyr, tidyr, readr, purr, tibble, stringr, forcats, rlang, lubridate, pillar
#get data
#SF9 uses run-0
run <- read_csv("C:/Users/.../run-0.csv")
... |
1a2df445f915aa143e5c860f271a2a5aefaac916 | 1e8e3135aa4556919d433c3ff8d86b71d85f72c3 | /dev/dev_gen_install_cap.R | 71b128d6121f4695dd37645cc1b8df0df0f68120 | [
"MIT"
] | permissive | dreamRs/rte.data | 3183c33345ef6887721fd8278d3f5feee2cd4db3 | 06738a25803b30dc2586f1e051e6e8af6dcac334 | refs/heads/master | 2022-11-04T19:43:46.023893 | 2022-10-03T09:56:58 | 2022-10-03T09:56:58 | 125,424,537 | 8 | 5 | NOASSERTION | 2019-06-17T07:35:48 | 2018-03-15T20:49:00 | R | UTF-8 | R | false | false | 3,879 | r | dev_gen_install_cap.R |
# ------------------------------------------------------------------------
#
# Title : Generation Installed Capacities
# By : VP
# Date : 2018-03-27
#
# ------------------------------------------------------------------------
# Packages ----------------------------------------------------------------
librar... |
eee049bb08ef5aa4c1a8740bc6fdb2aae330f278 | c315e8d1fdcf23086841a7d9cfb48ceba0b0b357 | /R/GenSeries.R | 4c0458a6ac34415d4459ba4ee6eb869601993076 | [] | no_license | cran/s2dverification | c4d5caa8b518356b095c8768a7aadfe6c8da5a64 | a772070454789d66328916463f91d306f1df0a3b | refs/heads/master | 2022-05-22T11:13:13.975865 | 2022-04-20T07:10:06 | 2022-04-20T07:10:06 | 19,931,684 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,040 | r | GenSeries.R | #'Generates An AR1 Time Series
#'
#'This function generates AR1 processes containing n data points, where alpha
#'is the autocorrelation at lag 1, and the mean and standard deviation are
#'specified by the mean and std arguments.
#'
#'@param n Length of the timeseries to be generated.
#'@param alpha Autocorrelation a... |
add63743602154411bcc7df5d286dde3a8fbcdac | ec99462f759e09f5d82f76b9071e6e11e69b5272 | /Calc Clonality_SI_R20_R50 on many files.R | 0e670b50b692c323b2916880436c1abee9240dfc | [] | no_license | michellemiron/Immune-repertoire-analysis | 534cfa2d0ef3bb98f5402ff42939aa3093489b27 | bc41d14e7b6e21d607b80c081fe82003f0f2ce63 | refs/heads/master | 2021-09-20T10:56:44.715766 | 2018-08-08T12:29:12 | 2018-08-08T12:29:12 | 37,478,269 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,737 | r | Calc Clonality_SI_R20_R50 on many files.R | #This script calculates clonality on n number of files in a given directory
# Each file has TCR sequencing data for one sample
# Input is the directory with the files
# Output is a list of dataframes with clonality calculations
# TCR files are .txt files
... |
0315cc27d5f2341787430f6f627493b7228be045 | c8cde1ea449bbd1c26454124a96e97df954ed319 | /man/e22-rand-method.Rd | 681034ea35d6e9f07bbf1cc48b9058e0b7db3151 | [] | no_license | cran/Umpire | b5785399ca942ecdf80cb369aa973b0df38230e0 | 46c5342920eda3414b38f3a1c46658db11a4c4fb | refs/heads/master | 2021-07-03T21:09:38.015302 | 2020-11-10T20:10:06 | 2020-11-10T20:10:06 | 96,940,613 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 975 | rd | e22-rand-method.Rd | \name{rand-method}
\alias{rand}
\alias{rand-method}
\alias{rand,ANY-method}
\docType{methods}
\title{Method "rand"}
\description{
\code{rand} is a generic function used to produce random vectors from the
distribution defined by various objects. The generic function invokes particular
\code{\link{methods}... |
eb453b055ed725c2b2e582e991dd12b4fed710cb | a8d29e7f2b23bc097b75f0c9807cef6b74cbd7ea | /cachematrix.R | f9eb655c4f2f0e62c7d268fb1e0908161d08c371 | [] | no_license | natarajnaikar/ProgrammingAssignment2 | 761bc72d14827a3daa34d32f96993d44ecc8f9c8 | e2cbddeb3a7f45f56d1433ddde33e8328f393565 | refs/heads/master | 2021-01-24T20:59:45.718695 | 2015-06-21T13:20:38 | 2015-06-21T13:20:38 | 37,768,866 | 0 | 0 | null | 2015-06-20T12:18:27 | 2015-06-20T12:18:27 | null | UTF-8 | R | false | false | 1,743 | r | cachematrix.R | ##Below function inverses the passed function and stores in the memory
##.i.e.basically it creates the matrix object to cache its inverse
makeCacheMatrix <- function(x = matrix()) {
#sets the value of the m to NULL. Provides the default value
m<-NULL
#sets the value of matrix
setvalueofmatrix<-fu... |
43990359be32ee4bcb7e750983b1900eac94ddb6 | 2ab1fde88fa973454caad091e7a135a674aa1222 | /man/NLSS_sum.Rd | 291adb4749c5476cd43964c465235b4195171fa4 | [] | no_license | benwu233/nlss | c964e47e4adbc16939d11cc94408b4a58af9711a | 69e5472cc26a1d514ad659d10f2f2a38b55e3d4e | refs/heads/master | 2023-02-15T04:09:29.105167 | 2023-02-13T13:46:54 | 2023-02-13T13:46:54 | 197,650,756 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 507 | rd | NLSS_sum.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NLSS_sum.R
\name{NLSS_sum}
\alias{NLSS_sum}
\title{Summary of the MCMC result for NLSS}
\usage{
NLSS_sum(res, th = 0.95, nstart = 1, nend = 1)
}
\arguments{
\item{res}{result from the function NLSS}
}
\description{
The function summarizes the... |
55cd76dadd0d512543e5a25319655bfe6a9282ef | fa0b440a3718858249cb7ef9d441da7363152f45 | /man/id.chol.Rd | a24b8f5ee0a59111c7e297b90e16525c29ac137d | [
"MIT"
] | permissive | alexanderlange53/svars | a44b4ee4faeb6e29d9606402821afaa77afd62ad | c51f597b87ef62394be9bcab90a4209b63285e54 | refs/heads/master | 2023-02-17T23:48:25.882026 | 2023-01-30T19:48:28 | 2023-01-30T19:48:28 | 76,240,281 | 34 | 20 | NOASSERTION | 2020-01-06T12:13:40 | 2016-12-12T09:11:07 | R | UTF-8 | R | false | true | 2,197 | rd | id.chol.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/id.chol.R
\name{id.chol}
\alias{id.chol}
\title{Recursive identification of SVAR models via Cholesky decomposition}
\usage{
id.chol(x, order_k = NULL)
}
\arguments{
\item{x}{An object of class 'vars', 'vec2var', 'nlVar'. Estimated VAR object}... |
7ea0552219e75027cc437dcf0f29f01fc31aec60 | 6280fb08d623464fc6da54d7be5a5de51397b295 | /figure/plot1.R | d58e9a4d930c49a431297fe0afabc0cf8b6c2ec4 | [] | no_license | wraphaeljr/ExData_Plotting1 | d9ec8c4f09c5298f3bdec175506c5027ff30d29a | 9c8b4df4755adb00ba0aa609ec1aa4b3dc499608 | refs/heads/master | 2021-01-21T03:08:32.334394 | 2015-06-05T02:48:38 | 2015-06-05T02:48:38 | 36,903,496 | 0 | 0 | null | 2015-06-05T00:42:56 | 2015-06-05T00:42:54 | null | UTF-8 | R | false | false | 1,001 | r | plot1.R | data <- read.csv2("household_power_consumption.txt")
select.data <- data[(data$Date == "1/2/2007" | data$Date == "2/2/2007"), ]
rm(data)
select.data$Global_active_power <- as.numeric(as.character(select.data$Global_active_power))
select.data$Global_reactive_power <- as.numeric(as.character(select.data$Global_reactive_p... |
db73481699699d5c12675794927544382ab840cc | c1ce9fcfb9389b87bbe42391bf9b1f47d467f5a5 | /R_4.4_1_to_3.r | 6aecd274d6b2a037bb4cbcf8dd199aa7b44f5d46 | [] | no_license | prithviadhi/DSC-ACC-RV | 9323b1ba979b27c08145984535e46069533e88eb | 103ae02c937eb63061c0a85d2ba7d8a77c08ac91 | refs/heads/master | 2020-04-06T23:03:40.073928 | 2018-11-16T11:15:03 | 2018-11-16T11:15:03 | 157,856,626 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,747 | r | R_4.4_1_to_3.r |
# Week-2.
# Prithvi Adhikarla.
# 4.4
1.
my_variable <- 10
my_variable
2.
install.packages("tidyverse")
library(tidyverse)
ggplot(data = mpg) +
geom_point(mapping = aes(x = displ, y = hwy))
3.
filter(mpg, cyl = 8)
4.
filter(diamonds, carat > 3)
# -------------------------------------------------------------... |
2c109addf1980b2a395b14788689d45c7f5ed2f5 | 7309103dd69b32622c9d93977d3e41a99fdae52a | /assets/2019-Machine Learning Techniques for Code Smell Detection- A Systematic Literature Review and Meta-Analysis/WithinVSCross-Forestplot.R | 015dc15fc47a3eb98b07db7eb4fb51abd6581ced | [] | no_license | anhquandlqb2001/code_smell_py | 7f75abc63db1152a9a04453d102acf51835a01b0 | 5cc63869b72987addaf5147bf79b999de69a5360 | refs/heads/master | 2023-05-06T21:00:39.729396 | 2021-05-22T07:28:29 | 2021-05-22T07:28:29 | 369,744,436 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,220 | r | WithinVSCross-Forestplot.R |
library(rmeta)
library(forestplot)
library(readxl)
#data(cochrane)
#View(cochrane)
wc_data <- read_excel("FPlot_analysis.xlsx", sheet = 3)
View(wc_data)
names(wc_data)
attach(wc_data)
steroid <- meta.MH(withintotal, crosstotal, WithinProject, CrossProject,
names=Study, data=wc_d... |
364b1b4b7336c66060d6160cdf83b50b265d77a4 | 56c984e900b090ce16517938ff2b3feacabc2108 | /R/scripts/csbc_pson/study_summaries/project_summaries_syn7349759.R | 8c9c0a35721b4ef032fa97bd7c3f06fc73a9eadc | [
"Apache-2.0"
] | permissive | avanlinden/syndccutils | 3306cc039f7fa8a2714024c510d85a32c83b5ff1 | e852d282daafaad1c48cfe3066a4970706496123 | refs/heads/master | 2022-12-19T09:10:39.931285 | 2020-03-17T17:33:54 | 2020-03-17T17:33:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,504 | r | project_summaries_syn7349759.R | source("R/charts.R")
source("R/tables.R")
source("R/synapse_helpers.R")
source("R/utils.R")
#This works on the CSBC PSOC site
# Script/template to create summary tables and charts for a "study"
synLogin()
update_remote <- TRUE
# Config ------------------------------------------------------------------
synproject_id ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.